/openjdk9/jdk/src/java.base/share/classes/sun/security/provider/ |
H A D | HashDrbg.java | 76 return hashDf(digest, outLen, requested, inputs); 88 * @param outLen {@link MessageDigest#getDigestLength} of {@code digest} 93 public static byte[] hashDf(MessageDigest digest, int outLen, argument 96 // 2. len = upper_int(no_of_bits_to_return / outLen) 97 int len = (requested + outLen - 1) / outLen; 98 byte[] temp = new byte[len * outLen]; 115 digest.digest(temp, i * outLen, outLen); 256 if (len < outLen) { [all...] |
H A D | AbstractHashDrbg.java | 36 protected int outLen; field in class:AbstractHashDrbg 85 this.outLen = 224 / 8; 90 this.outLen = 256 / 8; 94 this.outLen = 384 / 8; 98 this.outLen = 512 / 8;
|
H A D | HmacDrbg.java | 126 k = new byte[outLen]; 127 v = new byte[outLen]; 179 len > outLen ? outLen : len); 181 len -= outLen; 186 pos += outLen;
|
H A D | DSAParameterGenerator.java | 204 int outLen = hashObj.getDigestLength()*8; 205 int n = (valueL - 1) / outLen; 206 int b = (valueL - 1) % outLen; 250 W = W.add(V[i].multiply(BigInteger.TWO.pow(i * outLen))); 253 .multiply(BigInteger.TWO.pow(n * outLen)));
|
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/wrapper/ |
H A D | PKCS11.java | 742 byte[] out, int outOfs, int outLen) throws PKCS11Exception; 763 int outLen) throws PKCS11Exception; 781 int outOfs, int outLen) throws PKCS11Exception; 819 byte[] out, int outOfs, int outLen) throws PKCS11Exception; 841 int outLen) throws PKCS11Exception; 859 int outOfs, int outLen) throws PKCS11Exception; 1077 int inLen, byte[] out, int outOufs, int outLen) 1196 int inLen, byte[] out, int outOufs, int outLen) 1656 int inLen, byte[] out, int outOfs, int outLen) 1658 return super.C_Encrypt(hSession, in, inOfs, inLen, out, outOfs, outLen); 741 C_Encrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 761 C_EncryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) argument 780 C_EncryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) argument 818 C_Decrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 839 C_DecryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) argument 858 C_DecryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) argument 1076 C_SignRecover(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOufs, int outLen) argument 1195 C_VerifyRecover(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOufs, int outLen) argument 1655 C_Encrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 1661 C_EncryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) argument 1668 C_EncryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) argument 1678 C_Decrypt(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 1684 C_DecryptUpdate(long hSession, long directIn, byte[] in, int inOfs, int inLen, long directOut, byte[] out, int outOfs, int outLen) argument 1691 C_DecryptFinal(long hSession, long directOut, byte[] out, int outOfs, int outLen) argument 1748 C_SignRecover(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOufs, int outLen) argument 1780 C_VerifyRecover(long hSession, byte[] in, int inOfs, int inLen, byte[] out, int outOufs, int outLen) argument [all...] |
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | CipherCore.java | 730 int outLen = 0; 744 outLen = cipher.decrypt(buffer, 0, len, output, outputOffset); 746 outLen = cipher.encrypt(buffer, 0, len, output, outputOffset); 770 outLen = cipher.decrypt(buffer, 0, buffered, output, outputOffset); 772 outLen = cipher.encrypt(buffer, 0, buffered, output, outputOffset); 774 outputOffset += outLen; 779 outLen += cipher.decrypt(input, inputOffset, inputConsumed, 782 outLen += cipher.encrypt(input, inputOffset, inputConsumed, 807 return outLen; 970 int outLen [all...] |
H A D | ARCFOURCipher.java | 235 int outLen = engineUpdate(in, inOfs, inLen, out, outOfs); 237 return outLen;
|
H A D | AESCipher.java | 491 int outLen = core.doFinal(input, inputOffset, inputLen, output, 494 return outLen;
|
/openjdk9/jdk/src/jdk.crypto.ucrypto/solaris/native/libj2ucrypto/ |
H A D | nativeCrypto.c | 250 int inLen, unsigned char *bufOut, int outOfs, int *outLen) 255 outLength = (size_t) *outLen; 257 printf("CipherUpdate: Inofs %i, InLen %i, OutOfs %i, OutLen %i\n", inOfs, inLen, outOfs, *outLen); 265 *outLen = (int)outLength; 273 *outLen = (int)outLength; 281 CipherFinal(crypto_ctx_t *context, int encrypt, unsigned char *bufOut, int outOfs, int *outLen) argument 286 outLength = (size_t)*outLen; 288 if (J2UC_DEBUG) printf("CipherFinal: OutOfs %i, outLen %i\n", outOfs, *outLen); 295 *outLen 249 CipherUpdate(crypto_ctx_t *context, int encrypt, unsigned char *bufIn, int inOfs, int inLen, unsigned char *bufOut, int outOfs, int *outLen) argument 399 int outLen = outCapacity - outOfs; // recalculate the real out length local 416 JavaCritical_com_oracle_security_ucrypto_NativeCipher_nativeFinal(jlong pContext, jboolean encrypt, int outLen, jbyte* out, jint outOfs) argument 586 int outLen, rv = 0; local 627 int outLen, rv = 0; local [all...] |
/openjdk9/jdk/src/jdk.crypto.cryptoki/share/classes/sun/security/pkcs11/ |
H A D | P11Cipher.java | 515 int outLen = out.length - outOfs; 516 return implUpdate(in, inOfs, inLen, out, outOfs, outLen); 563 byte[] out, int outOfs, int outLen) throws ShortBufferException { 564 if (outLen < updateLength(inLen)) { 572 0, out, outOfs, outLen); 593 0, out, outOfs, outLen); 604 inLen, 0, out, (outOfs + k), (outLen - k)); 630 int outLen = outBuffer.remaining(); 631 if (outLen < updateLength(inLen)) { 661 outArray = new byte[outLen]; 562 implUpdate(byte[] in, int inOfs, int inLen, byte[] out, int outOfs, int outLen) argument 741 implDoFinal(byte[] out, int outOfs, int outLen) argument [all...] |
H A D | P11RSACipher.java | 260 int outLen = buffer.length; 264 (session.id(), buffer, 0, inLen, buffer, 0, outLen); 268 (session.id(), buffer, 0, inLen, buffer, 0, outLen); 277 (session.id(), buffer, 0, inLen, buffer, 0, outLen); 337 private int implDoFinal(byte[] out, int outOfs, int outLen) argument 350 (session.id(), buffer, 0, bufOfs, out, outOfs, outLen); 354 (session.id(), buffer, 0, bufOfs, out, outOfs, outLen); 360 if (tmpBuffer.length > outLen) { 362 "Output buffer (" + outLen + ") is too small to " + 370 (session.id(), buffer, 0, bufOfs, out, outOfs, outLen); [all...] |
/openjdk9/jdk/test/sun/security/pkcs11/Cipher/ |
H A D | TestSymmCiphersNoPad.java | 127 int outLen = cipher.getOutputSize(in.length); 128 debugBuf.append("Estimated output size = " + outLen + "\n"); 137 ByteBuffer outBuf = ByteBuffer.allocate(outLen); 138 ByteBuffer outDirectBuf = ByteBuffer.allocateDirect(outLen);
|
H A D | TestSymmCiphers.java | 145 int outLen = cipher.getOutputSize(in.length); 146 //debugOut("Estimated output size = " + outLen + "\n"); 155 ByteBuffer outBuf = ByteBuffer.allocate(outLen); 156 ByteBuffer outDirectBuf = ByteBuffer.allocateDirect(outLen);
|
/openjdk9/jdk/test/sun/security/provider/SecureRandom/ |
H A D | DrbgCavp.java | 197 int outLen = 0; 246 outLen = l.vint(); 247 output = new byte[outLen / 8];
|
/openjdk9/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/ |
H A D | NativeRSACipher.java | 409 byte[] out, int ouOfs, int outLen); 440 private int doFinal(byte[] out, int outOfs, int outLen) argument 448 if (outLen < outputSize) { 455 out, outOfs, outLen); 406 nativeAtomic(int mech, boolean encrypt, long keyValue, int keyLength, byte[] in, int inLen, byte[] out, int ouOfs, int outLen) argument
|
/openjdk9/jdk/src/java.base/share/classes/java/util/ |
H A D | Properties.java | 589 int outLen = 0; 619 out[outLen++] = (char)value; 625 out[outLen++] = aChar; 628 out[outLen++] = aChar; 631 return new String (out, 0, outLen);
|
/openjdk9/jdk/test/sun/nio/cs/ |
H A D | TestEUC_TW.java | 319 int outLen = flow[3]; 328 cbf = ByteBuffer.allocateDirect((outPos + outLen)*2).asCharBuffer(); 331 cbf = CharBuffer.allocate(outPos + outLen); 365 //inpos, inLen, outPos, outLen, inPosEP, outposEP, under(0)/over(1)
|
H A D | TestUTF8.java | 499 int outLen = flow[3]; 508 cbf = ByteBuffer.allocateDirect((outPos + outLen)*2).asCharBuffer(); 511 cbf = CharBuffer.allocate(outPos + outLen); 541 //inpos, inLen, outPos, outLen, inPosEP, outposEP, under(0)/over(1)
|
/openjdk9/jdk/test/sun/nio/cs/OLD/ |
H A D | TestIBMDB.java | 411 int outLen = flow[3]; 420 cbf = ByteBuffer.allocateDirect((outPos + outLen)*2).asCharBuffer(); 423 cbf = CharBuffer.allocate(outPos + outLen); 458 //inpos, inLen, outPos, outLen, inPosEP, outposEP, under(0)/over(1)
|
/openjdk9/jdk/src/java.base/share/native/libzip/ |
H A D | zip_util.h | 279 ZIP_InflateFully(void *inBuf, jlong inLen, void *outBuf, jlong outLen, char **pmsg);
|
H A D | zip_util.c | 1519 ZIP_InflateFully(void *inBuf, jlong inLen, void *outBuf, jlong outLen, char **pmsg) argument 1533 strm.avail_out = (uInt)outLen; 1542 if (strm.total_out != (uInt)outLen) {
|
/openjdk9/jdk/src/java.base/share/native/libjimage/ |
H A D | imageDecompressor.cpp | 42 void *outBuf, jlong outLen, char **pmsg);
|
/openjdk9/hotspot/src/share/vm/classfile/ |
H A D | classLoader.cpp | 85 typedef jboolean (JNICALL *ZipInflateFully_t)(void *inBuf, jlong inLen, void *outBuf, jlong outLen, char **pmsg);
|