/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | OpenSSLCipher.java | 140 abstract int updateInternal(byte[] input, int inputOffset, int inputLen, in updateInternal() argument 233 abstract int getOutputSizeForFinal(int inputLen); in getOutputSizeForFinal() argument 240 abstract int getOutputSizeForUpdate(int inputLen); in getOutputSizeForUpdate() argument 243 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 244 return Math.max(getOutputSizeForUpdate(inputLen), getOutputSizeForFinal(inputLen)); in engineGetOutputSize() 307 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 308 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() 320 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate() 336 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 338 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() [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 | 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 …]
|
/external/conscrypt/repackaged/common/src/main/java/com/android/org/conscrypt/ |
D | OpenSSLCipher.java | 143 abstract int updateInternal(byte[] input, int inputOffset, int inputLen, in updateInternal() argument 236 abstract int getOutputSizeForFinal(int inputLen); in getOutputSizeForFinal() argument 243 abstract int getOutputSizeForUpdate(int inputLen); in getOutputSizeForUpdate() argument 246 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 247 return Math.max(getOutputSizeForUpdate(inputLen), getOutputSizeForFinal(inputLen)); in engineGetOutputSize() 310 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 311 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() 323 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate() 339 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 341 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate() [all …]
|
D | OpenSSLCipherChaCha20.java | 75 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset, in updateInternal() argument 77 if (inputLen > output.length - outputOffset) { in updateInternal() 80 int inputLenRemaining = inputLen; in updateInternal() 107 return inputLen; in updateInternal() 155 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument 156 return inputLen; in getOutputSizeForFinal() 160 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument 161 return inputLen; in getOutputSizeForUpdate()
|
D | OpenSSLCipherRSA.java | 129 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 272 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 273 if (bufferOffset + inputLen > buffer.length) { in engineUpdate() 278 System.arraycopy(input, inputOffset, buffer, bufferOffset, inputLen); in engineUpdate() 279 bufferOffset += inputLen; in engineUpdate() 284 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 286 engineUpdate(input, inputOffset, inputLen); in engineUpdate() 291 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 294 engineUpdate(input, inputOffset, inputLen); in engineDoFinal() 327 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument [all …]
|
/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() 1141 int inputLen) in engineUpdate() argument 1143 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate() 1149 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 1167 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate() 1175 int inputLen, in engineUpdate() argument 1180 if (outputOffset + cipher.getUpdateOutputSize(inputLen) > output.length) in engineUpdate() 1187 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 1199 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() 1145 int inputLen) in engineUpdate() argument 1147 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate() 1153 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate() 1171 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate() 1179 int inputLen, in engineUpdate() argument 1184 if (outputOffset + cipher.getUpdateOutputSize(inputLen) > output.length) in engineUpdate() 1191 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 1203 int inputLen) in engineDoFinal() argument [all …]
|
/external/curl/src/ |
D | tool_metalink.c | 135 unsigned int inputLen) in MD5_Update() argument 137 md5_update(ctx, inputLen, input); in MD5_Update() 153 unsigned int inputLen) in SHA1_Update() argument 155 sha1_update(ctx, inputLen, input); in SHA1_Update() 171 unsigned int inputLen) in SHA256_Update() argument 173 sha256_update(ctx, inputLen, input); in SHA256_Update() 191 unsigned int inputLen) in MD5_Update() argument 193 gcry_md_write(*ctx, input, inputLen); in MD5_Update() 210 unsigned int inputLen) in SHA1_Update() argument 212 gcry_md_write(*ctx, input, inputLen); in SHA1_Update() [all …]
|
/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);
|
D | rijndael-api-fst.c | 94 BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockEncrypt() argument 103 if (input == NULL || inputLen <= 0) { in rijndael_blockEncrypt() 107 numBlocks = inputLen/128; in rijndael_blockEncrypt() 271 BYTE *input, int inputLen, BYTE *outBuffer) { in rijndael_blockDecrypt() argument 280 if (input == NULL || inputLen <= 0) { in rijndael_blockDecrypt() 284 numBlocks = inputLen/128; in rijndael_blockDecrypt() 461 BYTE *input, int inputLen, BYTE *outBuffer, int rounds) { in rijndael_cipherUpdateRounds() argument
|
/external/dng_sdk/source/ |
D | dng_fingerprint.cpp | 258 uint32 inputLen) in Process() argument 271 if ((count [0] += inputLen << 3) < (inputLen << 3)) in Process() 276 count [1] += inputLen >> 29; in Process() 284 if (inputLen >= partLen) in Process() 293 for (i = partLen; i + 63 < inputLen; i += 64) in Process() 308 inputLen - i); in Process()
|
/external/curl/lib/ |
D | md5.c | 49 unsigned int inputLen) in MD5_Update() argument 51 md5_update(ctx, inputLen, input); in MD5_Update() 75 unsigned int inputLen) in MD5_Update() argument 77 gcry_md_write(*ctx, input, inputLen); in MD5_Update() 117 unsigned int inputLen) in MD5_Update() argument 119 CC_MD5_Update(ctx, input, inputLen); in MD5_Update() 149 unsigned int inputLen) in MD5_Update() argument 151 CryptHashData(ctx->hHash, (unsigned char *)input, inputLen, 0); in MD5_Update()
|
/external/icu/icu4c/source/i18n/ |
D | uspoof_conf.cpp | 232 int32_t inputLen = 0; in build() local 236 u_strFromUTF8(NULL, 0, &inputLen, confusables, confusablesLen, &status); in build() 241 fInput = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); in build() 246 u_strFromUTF8(fInput, inputLen+1, NULL, confusables, confusablesLen, &status); in build() 281 uregex_setText(fParseLine, fInput, inputLen, &status); in build()
|
D | uregex.cpp | 1819 int64_t inputLen = regexp->fMatcher->fInputLength; in split() local 1820 if (inputLen == 0) { in split() 1839 if (inputLen > nextOutputStringStart) { in split() 1848 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split() 1895 if (nextOutputStringStart == inputLen) { in split() 1917 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
|
/external/icu/icu4c/source/common/ |
D | caniter.cpp | 510 int32_t inputLen=temp.length(); in extract() local 568 if (inputLen == temp.length()) { in extract() 581 return getEquivalents2(fillinResult, temp.getBuffer()+inputLen, temp.length()-inputLen, status); in extract()
|
/external/conscrypt/repackaged/openjdk-integ-tests/src/test/java/com/android/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 909 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 910 return delegate.getOutputSize(inputLen); in engineGetOutputSize() 952 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 953 return delegate.update(input, inputOffset, inputLen); in engineUpdate() 956 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 958 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 961 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 963 return delegate.doFinal(input, inputOffset, inputLen); in engineDoFinal() 967 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument 969 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
D | SSLSocketVersionCompatibilityTest.java | 892 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument 893 return delegate.getOutputSize(inputLen); in engineGetOutputSize() 935 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument 936 return delegate.update(input, inputOffset, inputLen); in engineUpdate() 939 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument 941 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate() 944 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument 946 return delegate.doFinal(input, inputOffset, inputLen); in engineDoFinal() 950 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument 952 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
D | BaseCipherSpi.java | 80 int inputLen) in engineGetOutputSize() argument
|