/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipher.java | 153 abstract int updateInternal(byte[] input, int inputOffset, int inputLen, in updateInternal() argument 245 abstract int getOutputSizeForFinal(int inputLen); in getOutputSizeForFinal() argument 252 abstract int getOutputSizeForUpdate(int inputLen); in getOutputSizeForUpdate() argument 255 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 256 return Math.max(getOutputSizeForUpdate(inputLen), getOutputSizeForFinal(inputLen)); in engineGetOutputSize() 319 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 320 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() 332 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate() 348 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 350 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() [all …]
|
D | OpenSSLAeadCipher.java | 228 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument 236 if (getOutputSizeForFinal(inputLen) > output.length - outputOffset) { in engineDoFinal() 240 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal() 244 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, in updateInternal() argument 251 ArrayUtils.checkOffsetAndCount(input.length, inputOffset, inputLen); in updateInternal() 252 if (inputLen > 0) { in updateInternal() 253 expand(inputLen); in updateInternal() 254 System.arraycopy(input, inputOffset, buf, this.bufCount, inputLen); in updateInternal() 255 this.bufCount += inputLen; in updateInternal() 323 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument [all …]
|
D | OpenSSLCipherChaCha20.java | 73 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset, in updateInternal() argument 75 if (inputLen > output.length - outputOffset) { in updateInternal() 78 int inputLenRemaining = inputLen; in updateInternal() 105 return inputLen; in updateInternal() 153 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 154 return inputLen; in getOutputSizeForFinal() 158 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument 159 return inputLen; in getOutputSizeForUpdate()
|
D | OpenSSLEvpCipher.java | 116 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, in updateInternal() argument 127 inputOffset, inputLen); in updateInternal() 171 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 173 return inputLen; in getOutputSizeForFinal() 178 return buffered + inputLen; in getOutputSizeForFinal() 182 int totalLen = inputLen + buffered + (finalUsed ? modeBlockSize : 0); in getOutputSizeForFinal() 195 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument 196 return getOutputSizeForFinal(inputLen); in getOutputSizeForUpdate()
|
D | OpenSSLAeadCipherChaCha20.java | 67 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 72 return bufCount + inputLen + 16; in getOutputSizeForFinal() 74 return Math.max(0, bufCount + inputLen - 16); in getOutputSizeForFinal()
|
D | OpenSSLCipherRSA.java | 131 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 274 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 275 if (bufferOffset + inputLen > buffer.length) { in engineUpdate() 280 System.arraycopy(input, inputOffset, buffer, bufferOffset, inputLen); in engineUpdate() 281 bufferOffset += inputLen; in engineUpdate() 286 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 288 engineUpdate(input, inputOffset, inputLen); in engineUpdate() 293 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 296 engineUpdate(input, inputOffset, inputLen); in engineDoFinal() 329 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument [all …]
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 151 abstract int updateInternal(byte[] input, int inputOffset, int inputLen, in updateInternal() argument 243 abstract int getOutputSizeForFinal(int inputLen); in getOutputSizeForFinal() argument 250 abstract int getOutputSizeForUpdate(int inputLen); in getOutputSizeForUpdate() argument 253 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 254 return Math.max(getOutputSizeForUpdate(inputLen), getOutputSizeForFinal(inputLen)); in engineGetOutputSize() 317 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 318 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() 330 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate() 346 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 348 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() [all …]
|
D | OpenSSLAeadCipher.java | 224 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument 232 if (getOutputSizeForFinal(inputLen) > output.length - outputOffset) { in engineDoFinal() 236 return super.engineDoFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal() 240 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, in updateInternal() argument 247 ArrayUtils.checkOffsetAndCount(input.length, inputOffset, inputLen); in updateInternal() 248 if (inputLen > 0) { in updateInternal() 249 expand(inputLen); in updateInternal() 250 System.arraycopy(input, inputOffset, buf, this.bufCount, inputLen); in updateInternal() 251 this.bufCount += inputLen; in updateInternal() 319 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument [all …]
|
D | OpenSSLCipherChaCha20.java | 71 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset, in updateInternal() argument 73 if (inputLen > output.length - outputOffset) { in updateInternal() 76 int inputLenRemaining = inputLen; in updateInternal() 103 return inputLen; in updateInternal() 151 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 152 return inputLen; in getOutputSizeForFinal() 156 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument 157 return inputLen; in getOutputSizeForUpdate()
|
D | OpenSSLEvpCipher.java | 112 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, in updateInternal() argument 123 inputOffset, inputLen); in updateInternal() 167 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 169 return inputLen; in getOutputSizeForFinal() 174 return buffered + inputLen; in getOutputSizeForFinal() 178 int totalLen = inputLen + buffered + (finalUsed ? modeBlockSize : 0); in getOutputSizeForFinal() 191 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument 192 return getOutputSizeForFinal(inputLen); in getOutputSizeForUpdate()
|
D | OpenSSLAeadCipherChaCha20.java | 63 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 68 return bufCount + inputLen + 16; in getOutputSizeForFinal() 70 return Math.max(0, bufCount + inputLen - 16); in getOutputSizeForFinal()
|
D | OpenSSLCipherRSA.java | 127 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 270 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 271 if (bufferOffset + inputLen > buffer.length) { in engineUpdate() 276 System.arraycopy(input, inputOffset, buffer, bufferOffset, inputLen); in engineUpdate() 277 bufferOffset += inputLen; in engineUpdate() 282 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 284 engineUpdate(input, inputOffset, inputLen); in engineUpdate() 289 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 292 engineUpdate(input, inputOffset, inputLen); in engineDoFinal() 325 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument [all …]
|
D | OpenSSLAeadCipherAES.java | 99 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 104 return bufCount + inputLen + tagLengthInBytes; in getOutputSizeForFinal() 106 return Math.max(0, bufCount + inputLen - tagLengthInBytes); in getOutputSizeForFinal()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseStreamCipher.java | 93 int inputLen) in engineGetOutputSize() argument 95 return inputLen; in engineGetOutputSize() 361 int inputLen) in engineUpdate() argument 363 byte[] out = new byte[inputLen]; in engineUpdate() 365 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 373 int inputLen, in engineUpdate() argument 378 if (outputOffset + inputLen > output.length) in engineUpdate() 385 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 387 return inputLen; in engineUpdate() 399 int inputLen) in engineDoFinal() argument [all …]
|
D | BaseWrapCipher.java | 122 int inputLen) in engineGetOutputSize() argument 331 int inputLen) in engineUpdate() argument 338 wrapStream.write(input, inputOffset, inputLen); in engineUpdate() 346 int inputLen, in engineUpdate() argument 356 wrapStream.write(input, inputOffset, inputLen); in engineUpdate() 364 int inputLen) in engineDoFinal() argument 372 wrapStream.write(input, inputOffset, inputLen); in engineDoFinal() 408 int inputLen, in engineDoFinal() argument 418 wrapStream.write(input, inputOffset, inputLen); in engineDoFinal()
|
D | BaseBlockCipher.java | 240 int inputLen) in engineGetOutputSize() argument 242 return cipher.getOutputSize(inputLen); in engineGetOutputSize() 1151 int inputLen) in engineUpdate() argument 1153 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate() 1159 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 1177 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate() 1185 int inputLen, in engineUpdate() argument 1190 if (outputOffset + cipher.getUpdateOutputSize(inputLen) > output.length) in engineUpdate() 1197 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 1209 int inputLen) in engineDoFinal() argument [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/symmetric/util/ |
D | BaseStreamCipher.java | 97 int inputLen) in engineGetOutputSize() argument 99 return inputLen; in engineGetOutputSize() 365 int inputLen) in engineUpdate() argument 367 byte[] out = new byte[inputLen]; in engineUpdate() 369 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 377 int inputLen, in engineUpdate() argument 382 if (outputOffset + inputLen > output.length) in engineUpdate() 389 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 391 return inputLen; in engineUpdate() 403 int inputLen) in engineDoFinal() argument [all …]
|
D | BaseWrapCipher.java | 126 int inputLen) in engineGetOutputSize() argument 335 int inputLen) in engineUpdate() argument 342 wrapStream.write(input, inputOffset, inputLen); in engineUpdate() 350 int inputLen, in engineUpdate() argument 360 wrapStream.write(input, inputOffset, inputLen); in engineUpdate() 368 int inputLen) in engineDoFinal() argument 376 wrapStream.write(input, inputOffset, inputLen); in engineDoFinal() 412 int inputLen, in engineDoFinal() argument 422 wrapStream.write(input, inputOffset, inputLen); in engineDoFinal()
|
D | BaseBlockCipher.java | 244 int inputLen) in engineGetOutputSize() argument 246 return cipher.getOutputSize(inputLen); in engineGetOutputSize() 1146 int inputLen) in engineUpdate() argument 1148 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate() 1154 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 1172 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate() 1180 int inputLen, in engineUpdate() argument 1185 if (outputOffset + cipher.getUpdateOutputSize(inputLen) > output.length) in engineUpdate() 1192 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 1204 int inputLen) in engineDoFinal() argument [all …]
|
/external/curl/src/ |
D | tool_metalink.c | 136 unsigned int inputLen) in MD5_Update() argument 138 md5_update(ctx, inputLen, input); in MD5_Update() 154 unsigned int inputLen) in SHA1_Update() argument 156 sha1_update(ctx, inputLen, input); in SHA1_Update() 172 unsigned int inputLen) in SHA256_Update() argument 174 sha256_update(ctx, inputLen, input); in SHA256_Update() 192 unsigned int inputLen) in MD5_Update() argument 194 gcry_md_write(*ctx, input, inputLen); in MD5_Update() 211 unsigned int inputLen) in SHA1_Update() argument 213 gcry_md_write(*ctx, input, inputLen); in SHA1_Update() [all …]
|
/external/conscrypt/repackaged/testing/src/main/java/com/android/org/conscrypt/testing/ |
D | OpaqueProvider.java | 189 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 190 return delegate.getOutputSize(inputLen); in engineGetOutputSize() 235 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 236 return delegate.update(input, inputOffset, inputLen); in engineUpdate() 240 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 242 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 246 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 248 return delegate.doFinal(input, inputOffset, inputLen); in engineDoFinal() 253 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument 255 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
|
/external/conscrypt/testing/src/main/java/org/conscrypt/testing/ |
D | OpaqueProvider.java | 178 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 179 return delegate.getOutputSize(inputLen); in engineGetOutputSize() 224 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 225 return delegate.update(input, inputOffset, inputLen); in engineUpdate() 229 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 231 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 235 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 237 return delegate.doFinal(input, inputOffset, inputLen); in engineDoFinal() 242 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument 244 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 136 int inputLen) in engineGetOutputSize() argument 419 int inputLen) in engineUpdate() argument 421 bOut.write(input, inputOffset, inputLen); in engineUpdate() 444 int inputLen, in engineUpdate() argument 448 bOut.write(input, inputOffset, inputLen); in engineUpdate() 471 int inputLen) in engineDoFinal() argument 476 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 500 int inputLen, in engineDoFinal() argument 505 if (outputOffset + engineGetOutputSize(inputLen) > output.length) in engineDoFinal() 512 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/jcajce/provider/asymmetric/rsa/ |
D | CipherSpi.java | 140 int inputLen) in engineGetOutputSize() argument 423 int inputLen) in engineUpdate() argument 425 bOut.write(input, inputOffset, inputLen); in engineUpdate() 448 int inputLen, in engineUpdate() argument 452 bOut.write(input, inputOffset, inputLen); in engineUpdate() 475 int inputLen) in engineDoFinal() argument 480 bOut.write(input, inputOffset, inputLen); in engineDoFinal() 504 int inputLen, in engineDoFinal() argument 509 if (outputOffset + engineGetOutputSize(inputLen) > output.length) in engineDoFinal() 516 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
|
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/ |
D | rijndael-api-fst.h | 89 u_int8_t *input, int inputLen, u_int8_t *outBuffer); 95 u_int8_t *input, int inputLen, u_int8_t *outBuffer); 102 u_int8_t *input, int inputLen, u_int8_t *outBuffer, int Rounds);
|