Searched refs:secretLen (Results 1 - 3 of 3) sorted by relevance

/openjdk9/jdk/src/jdk.crypto.ec/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java51 private int secretLen; field in class:ECDHKeyAgreement
112 secretLen = (keyLenBits + 7) >> 3;
142 if (offset + secretLen > sharedSecret.length) {
143 throw new ShortBufferException("Need " + secretLen
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/
H A DP11KeyAgreement.java67 private int secretLen; field in class:P11KeyAgreement
178 secretLen = (p.bitLength() + 7) >> 3;
214 if (secret.length == secretLen) {
217 if (secret.length > secretLen) {
221 byte[] newSecret = new byte[secretLen];
222 System.arraycopy(secret, 0, newSecret, secretLen - secret.length,
242 if (offset + secretLen > sharedSecret.length) {
243 throw new ShortBufferException("Need " + secretLen
H A DP11ECDHKeyAgreement.java62 private int secretLen; field in class:P11ECDHKeyAgreement
112 secretLen = (keyLenBits + 7) >> 3;
154 if (offset + secretLen > sharedSecret.length) {
155 throw new ShortBufferException("Need " + secretLen

Completed in 161 milliseconds