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

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DDHKeyAgreement.java243 int expectedLen = (init_p.bitLength() + 7) >>> 3;
244 byte[] result = new byte[expectedLen];
294 int expectedLen = (modulus.bitLength() + 7) >>> 3;
295 if ((sharedSecret.length - offset) < expectedLen) {
315 * exactly expectedLen bytes of magnitude, we strip any extra
319 if (secret.length == expectedLen) {
324 if (secret.length < expectedLen) {
326 offset + (expectedLen - secret.length),
330 if ((secret.length == (expectedLen+1)) && secret[0] == 0) {
332 System.arraycopy(secret, 1, sharedSecret, offset, expectedLen);
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/wrapper/
H A DPKCS11.java994 public native byte[] C_SignFinal(long hSession, int expectedLen) throws PKCS11Exception; argument
1631 public synchronized byte[] C_SignFinal(long hSession, int expectedLen) throws PKCS11Exception { argument
1632 return super.C_SignFinal(hSession, expectedLen);
/openjdk7/jdk/src/solaris/classes/sun/nio/fs/
H A DUnixPath.java690 int expectedLen = thisLen;
692 expectedLen--;
693 if (thatLen != expectedLen)

Completed in 39 milliseconds