Home
last modified time | relevance | path

Searched refs:inputLen (Results 1 – 21 of 21) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java92 int inputLen) in engineGetOutputSize() argument
94 return inputLen; in engineGetOutputSize()
328 int inputLen) in engineUpdate() argument
330 byte[] out = new byte[inputLen]; in engineUpdate()
332 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
340 int inputLen, in engineUpdate() argument
345 if (outputOffset + inputLen > output.length) in engineUpdate()
352 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
354 return inputLen; in engineUpdate()
366 int inputLen) in engineDoFinal() argument
[all …]
DBaseBlockCipher.java230 int inputLen) in engineGetOutputSize() argument
232 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
1099 int inputLen) in engineUpdate() argument
1101 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate()
1107 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
1125 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
1133 int inputLen, in engineUpdate() argument
1138 if (outputOffset + cipher.getUpdateOutputSize(inputLen) > output.length) in engineUpdate()
1145 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
1157 int inputLen) in engineDoFinal() argument
[all …]
DBaseWrapCipher.java111 int inputLen) in engineGetOutputSize() argument
259 int inputLen) in engineUpdate() argument
267 int inputLen, in engineUpdate() argument
278 int inputLen) in engineDoFinal() argument
287 int inputLen, in engineDoFinal() argument
/external/conscrypt/common/src/main/java/org/conscrypt/
DOpenSSLCipher.java141 abstract int updateInternal(byte[] input, int inputOffset, int inputLen, in updateInternal() argument
234 abstract int getOutputSizeForFinal(int inputLen); in getOutputSizeForFinal() argument
241 abstract int getOutputSizeForUpdate(int inputLen); in getOutputSizeForUpdate() argument
244 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
245 return Math.max(getOutputSizeForUpdate(inputLen), getOutputSizeForFinal(inputLen)); in engineGetOutputSize()
308 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
309 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate()
321 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate()
337 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
339 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate()
[all …]
DOpenSSLCipherChaCha20.java73 int updateInternal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset, in updateInternal() argument
75 int inputLenRemaining = inputLen; in updateInternal()
102 return inputLen; in updateInternal()
150 int getOutputSizeForFinal(int inputLen) { in getOutputSizeForFinal() argument
151 return inputLen; in getOutputSizeForFinal()
155 int getOutputSizeForUpdate(int inputLen) { in getOutputSizeForUpdate() argument
156 return inputLen; in getOutputSizeForUpdate()
DOpenSSLCipherRSA.java130 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
273 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
274 if (bufferOffset + inputLen > buffer.length) { in engineUpdate()
279 System.arraycopy(input, inputOffset, buffer, bufferOffset, inputLen); in engineUpdate()
280 bufferOffset += inputLen; in engineUpdate()
285 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
287 engineUpdate(input, inputOffset, inputLen); in engineUpdate()
292 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
295 engineUpdate(input, inputOffset, inputLen); in engineDoFinal()
328 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
[all …]
/external/curl/src/
Dtool_metalink.c135 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/
DCipherSpi.java135 int inputLen) in engineGetOutputSize() argument
418 int inputLen) in engineUpdate() argument
420 bOut.write(input, inputOffset, inputLen); in engineUpdate()
443 int inputLen, in engineUpdate() argument
447 bOut.write(input, inputOffset, inputLen); in engineUpdate()
470 int inputLen) in engineDoFinal() argument
475 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
499 int inputLen, in engineDoFinal() argument
506 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
/external/libjpeg-turbo/md5/
Dmd5.c153 MD5Update (context, in, inputLen) in MD5Update() argument
156 unsigned int inputLen;
165 if ((context->count[0] += ((unsigned int)inputLen << 3))
166 < ((unsigned int)inputLen << 3))
168 context->count[1] += ((unsigned int)inputLen >> 29);
173 if (inputLen >= partLen) {
178 for (i = partLen; i + 63 < inputLen; i += 64)
188 inputLen-i);
/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.h89 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);
Drijndael-api-fst.c94 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/syslinux/com32/libutil/
Dmd5.c97 void MD5Update(MD5_CTX * context, const void *in, size_t inputLen) in MD5Update() argument
106 if ((context->count[0] += ((uint32_t) inputLen << 3)) in MD5Update()
107 < ((uint32_t) inputLen << 3)) in MD5Update()
109 context->count[1] += ((uint32_t) inputLen >> 29); in MD5Update()
114 if (inputLen >= partLen) { in MD5Update()
118 for (i = partLen; i + 63 < inputLen; i += 64) in MD5Update()
127 inputLen - i); in MD5Update()
/external/dng_sdk/source/
Ddng_fingerprint.cpp258 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()
Ddng_fingerprint.h171 uint32 inputLen);
/external/curl/lib/
Dmd5.c49 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/
Duspoof_conf.cpp203 int32_t inputLen = 0; in build() local
207 u_strFromUTF8(NULL, 0, &inputLen, confusables, confusablesLen, &status); in build()
212 fInput = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); in build()
217 u_strFromUTF8(fInput, inputLen+1, NULL, confusables, confusablesLen, &status); in build()
252 uregex_setText(fParseLine, fInput, inputLen, &status); in build()
Duregex.cpp1817 int64_t inputLen = regexp->fMatcher->fInputLength; in split() local
1818 if (inputLen == 0) { in split()
1837 if (inputLen > nextOutputStringStart) { in split()
1846 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
1893 if (nextOutputStringStart == inputLen) { in split()
1915 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
/external/icu/icu4c/source/common/
Dcaniter.cpp510 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/
DBaseCipherSpi.java78 int inputLen) in engineGetOutputSize() argument
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/
DSSLSocketTest.java1191 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
1192 return delegate.getOutputSize(inputLen); in engineGetOutputSize()
1232 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
1233 return delegate.update(input, inputOffset, inputLen); in engineUpdate()
1236 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
1238 return delegate.update(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
1241 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
1243 return delegate.update(input, inputOffset, inputLen); in engineDoFinal()
1247 byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset) in engineDoFinal() argument
1249 return delegate.doFinal(input, inputOffset, inputLen, output, outputOffset); in engineDoFinal()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1958 int inputLen = mySource.remaining(); in smBufDecode() local
1961 for (int i = 1; i <= inputLen; i++) { in smBufDecode()
1963 if (i == inputLen) { in smBufDecode()
2094 int inputLen = mySource.limit(); in smBufEncode() local
2096 for (int i = 1; i <= inputLen; i++) { in smBufEncode()