/openjdk9/jdk/src/java.base/share/classes/javax/crypto/ |
H A D | NullCipherSpi.java | 56 protected int engineGetOutputSize(int inputLen) { argument 57 return inputLen; 80 int inputLen) { 82 byte[] x = new byte[inputLen]; 83 System.arraycopy(input, inputOffset, x, 0, inputLen); 88 int inputLen, byte[] output, 91 System.arraycopy(input, inputOffset, output, outputOffset, inputLen); 92 return inputLen; 96 int inputLen) 98 return engineUpdate(input, inputOffset, inputLen); 79 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 87 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 95 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 101 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | ExemptionMechanismSpi.java | 52 * operation, given the input length <code>inputLen</code> (in bytes). 58 * @param inputLen the input length (in bytes) 62 protected abstract int engineGetOutputSize(int inputLen); argument
|
H A D | Cipher.java | 961 * {@code inputLen} (in bytes). 970 * @param inputLen the input length (in bytes) 977 public final int getOutputSize(int inputLen) { argument 982 if (inputLen < 0) { 987 return spi.engineGetOutputSize(inputLen); 1824 * <p>The first {@code inputLen} bytes in the {@code input} 1828 * <p>If {@code inputLen} is zero, this method returns 1834 * @param inputLen the input length 1843 public final byte[] update(byte[] input, int inputOffset, int inputLen) { argument 1848 || inputLen > (inpu 1895 update(byte[] input, int inputOffset, int inputLen, byte[] output) argument 1953 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 2236 doFinal(byte[] input, int inputOffset, int inputLen) argument 2308 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output) argument 2387 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | CipherSpi.java | 266 * <code>inputLen</code> (in bytes). 275 * @param inputLen the input length (in bytes) 279 protected abstract int engineGetOutputSize(int inputLen); argument 475 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 482 * @param inputLen the input length 489 int inputLen); 496 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 507 * @param inputLen the input length 518 int inputLen, byte[] output, 571 * <p>The first <code>inputLen</cod 488 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 517 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 609 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 666 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | ExemptionMechanism.java | 281 * operation, given the input length <code>inputLen</code> (in bytes). 287 * @param inputLen the input length (in bytes) 294 public final int getOutputSize(int inputLen) throws IllegalStateException { argument 299 if (inputLen < 0) { 303 return exmechSpi.engineGetOutputSize(inputLen);
|
/openjdk9/jdk/src/java.base/share/classes/com/sun/crypto/provider/ |
H A D | DESCipher.java | 104 * <code>inputLen</code> (in bytes). 113 * @param inputLen the input length (in bytes) 117 protected int engineGetOutputSize(int inputLen) { argument 118 return core.getOutputSize(inputLen); 232 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 239 * @param inputLen the input length 247 int inputLen) { 248 return core.update(input, inputOffset, inputLen); 256 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 264 * @param inputLen th 246 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 274 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 311 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 353 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | BlowfishCipher.java | 109 * <code>inputLen</code> (in bytes). 118 * @param inputLen the input length (in bytes) 122 protected int engineGetOutputSize(int inputLen) { argument 123 return core.getOutputSize(inputLen); 237 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 244 * @param inputLen the input length 252 int inputLen) { 253 return core.update(input, inputOffset, inputLen); 261 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 269 * @param inputLen th 251 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 279 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 316 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 358 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | DESedeCipher.java | 101 * <code>inputLen</code> (in bytes). 110 * @param inputLen the input length (in bytes) 114 protected int engineGetOutputSize(int inputLen) { argument 115 return core.getOutputSize(inputLen); 212 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 219 * @param inputLen the input length 227 int inputLen) { 228 return core.update(input, inputOffset, inputLen); 236 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 244 * @param inputLen th 226 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 254 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 291 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 333 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | PBEWithMD5AndTripleDESCipher.java | 123 * <code>inputLen</code> (in bytes). 132 * @param inputLen the input length (in bytes) 137 protected int engineGetOutputSize(int inputLen) { argument 138 return core.getOutputSize(inputLen); 246 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 253 * @param inputLen the input length 258 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) argument 260 return core.update(input, inputOffset, inputLen); 268 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 276 * @param inputLen th 286 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 323 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 364 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | PBEWithMD5AndDESCipher.java | 111 * <code>inputLen</code> (in bytes). 120 * @param inputLen the input length (in bytes) 125 protected int engineGetOutputSize(int inputLen) { argument 126 return core.getOutputSize(inputLen); 236 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 243 * @param inputLen the input length 248 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) argument 250 return core.update(input, inputOffset, inputLen); 258 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 266 * @param inputLen th 276 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 313 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 354 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | CipherCore.java | 308 * <code>inputLen</code> (in bytes). 317 * @param inputLen the input length (in bytes) 321 int getOutputSize(int inputLen) { argument 323 return getOutputSizeByOperation(inputLen, true); 326 private int getOutputSizeByOperation(int inputLen, boolean isDoFinal) { argument 327 int totalLen = buffered + inputLen + cipher.getBufferedLength(); 647 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 654 * @param inputLen the input length 661 byte[] update(byte[] input, int inputOffset, int inputLen) { argument 669 output = new byte[getOutputSizeByOperation(inputLen, fals 706 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 840 doFinal(byte[] input, int inputOffset, int inputLen) argument 893 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | AESCipher.java | 229 * <code>inputLen</code> (in bytes). 238 * @param inputLen the input length (in bytes) 242 protected int engineGetOutputSize(int inputLen) { argument 243 return core.getOutputSize(inputLen); 363 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 370 * @param inputLen the input length 378 int inputLen) { 380 return core.update(input, inputOffset, inputLen); 388 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 396 * @param inputLen th 377 engineUpdate(byte[] input, int inputOffset, int inputLen) argument 406 engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 444 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 487 engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | PBECipherCore.java | 116 * <code>inputLen</code> (in bytes). 125 * @param inputLen the input length (in bytes) 130 int getOutputSize(int inputLen) { argument 131 return cipher.getOutputSize(inputLen); 339 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 346 * @param inputLen the input length 351 byte[] update(byte[] input, int inputOffset, int inputLen) { argument 352 return cipher.update(input, inputOffset, inputLen); 360 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 368 * @param inputLen th 378 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 414 doFinal(byte[] input, int inputOffset, int inputLen) argument 454 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | PBES1Core.java | 116 * <code>inputLen</code> (in bytes). 125 * @param inputLen the input length (in bytes) 130 int getOutputSize(int inputLen) { argument 131 return cipher.getOutputSize(inputLen); 339 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 346 * @param inputLen the input length 351 byte[] update(byte[] input, int inputOffset, int inputLen) { argument 352 return cipher.update(input, inputOffset, inputLen); 360 * <p>The first <code>inputLen</code> bytes in the <code>input</code> 368 * @param inputLen th 378 update(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument 414 doFinal(byte[] input, int inputOffset, int inputLen) argument 454 doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) argument [all...] |
H A D | PBES2Core.java | 122 protected int engineGetOutputSize(int inputLen) { argument 123 return cipher.getOutputSize(inputLen); 305 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { argument 306 return cipher.update(input, inputOffset, inputLen); 309 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, argument 312 return cipher.update(input, inputOffset, inputLen, 316 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 318 return cipher.doFinal(input, inputOffset, inputLen); 321 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, argument 325 return cipher.doFinal(input, inputOffset, inputLen, [all...] |
H A D | RC2Cipher.java | 66 protected int engineGetOutputSize(int inputLen) { argument 67 return core.getOutputSize(inputLen);
|
H A D | AESWrapCipher.java | 143 * given the input length <code>inputLen</code> (in bytes). 149 * @param inputLen the input length (in bytes) 153 protected int engineGetOutputSize(int inputLen) { argument 157 result = inputLen - 8; 159 result = inputLen + 8; 326 int inputLen) 325 engineDoFinal(byte[] input, int inputOffset, int inputLen) argument
|
H A D | DESedeWrapCipher.java | 127 * given the input length <code>inputLen</code> (in bytes). 133 * @param inputLen the input length (in bytes). 137 protected int engineGetOutputSize(int inputLen) { argument 141 result = inputLen - 16; // CHECKSUM_LEN + IV_LEN; 143 result = inputLen + 16; 363 * @param inputLen the input length. 372 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, argument
|
H A D | ARCFOURCipher.java | 137 protected int engineGetOutputSize(int inputLen) { argument 138 return inputLen;
|
/openjdk9/jdk/test/com/sun/crypto/provider/CICO/ |
H A D | ReadModel.java | 38 Cipher ciIn, int inputLen) throws IOException { 49 Cipher ciIn, int inputLen) throws IOException { 61 Cipher ciIn, int inputLen) throws IOException { 62 byte[] buffer2 = new byte[ciIn.getOutputSize(inputLen)]; 75 CipherOutputStream ciOutput, Cipher ciIn, int inputLen) 74 read(CipherInputStream cInput, CipherOutputStream ciOutput, Cipher ciIn, int inputLen) argument
|
/openjdk9/jdk/test/javax/crypto/Cipher/ |
H A D | ByteBuffersNull.java | 141 public int engineGetOutputSize(int inputLen) { argument 168 public int engineUpdate(byte[] input, int inputOffset, int inputLen, argument 174 public byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) argument 179 public int engineDoFinal(byte[] input, int inputOffset, int inputLen, argument
|
/openjdk9/jdk/src/java.base/windows/native/libnet/ |
H A D | NTLMAuthSequence.c | 173 DWORD inputLen; local 219 inputLen = (*env)->GetArrayLength(env, lastToken); 225 InSecBuff.cbBuffer = inputLen;
|
/openjdk9/jdk/src/java.base/share/classes/sun/security/provider/ |
H A D | DSA.java | 597 int inputLen = input.remaining(); 598 if (ofs + inputLen > digestBuffer.length) { 601 input.get(digestBuffer, ofs, inputLen); 602 ofs += inputLen;
|
/openjdk9/jdk/src/jdk.crypto.ucrypto/solaris/classes/com/oracle/security/ucrypto/ |
H A D | NativeCipher.java | 209 protected synchronized int engineGetOutputSize(int inputLen) { argument 210 return getOutputSizeByOperation(inputLen, true);
|
H A D | NativeCipherWithJavaPadding.java | 300 protected synchronized int engineGetOutputSize(int inputLen) { argument 301 int result = nc.engineGetOutputSize(inputLen);
|