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

/openjdk7/jdk/src/share/classes/sun/security/ec/
H A DECDHKeyAgreement.java49 private int secretLen; field in class:ECDHKeyAgreement
110 secretLen = (keyLenBits + 7) >> 3;
140 if (offset + secretLen > sharedSecret.length) {
141 throw new ShortBufferException("Need " + secretLen
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
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
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

Completed in 1223 milliseconds