Home
last modified time | relevance | path

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

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/symmetric/util/
DBaseStreamCipher.java93 int inputLen) in engineGetOutputSize() argument
95 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.java235 int inputLen) in engineGetOutputSize() argument
237 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
1029 int inputLen) in engineUpdate() argument
1031 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate()
1037 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
1055 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
1063 int inputLen, in engineUpdate() argument
1068 if (outputOffset + cipher.getUpdateOutputSize(inputLen) > output.length) in engineUpdate()
1075 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
1087 int inputLen) in engineDoFinal() argument
[all …]
DBaseWrapCipher.java109 int inputLen) in engineGetOutputSize() argument
257 int inputLen) in engineUpdate() argument
265 int inputLen, in engineUpdate() argument
276 int inputLen) in engineDoFinal() argument
287 int inputLen, in engineDoFinal() argument
/external/conscrypt/src/main/java/org/conscrypt/
DOpenSSLCipher.java130 protected abstract int updateInternal(byte[] input, int inputOffset, int inputLen, in updateInternal() argument
223 protected abstract int getOutputSizeForFinal(int inputLen); in getOutputSizeForFinal() argument
230 protected abstract int getOutputSizeForUpdate(int inputLen); in getOutputSizeForUpdate() argument
233 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
234 return getOutputSizeForFinal(inputLen); in engineGetOutputSize()
295 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
296 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate()
308 bytesWritten = updateInternal(input, inputOffset, inputLen, output, 0, maximumLen); in engineUpdate()
324 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
326 final int maximumLen = getOutputSizeForUpdate(inputLen); in engineUpdate()
[all …]
DOpenSSLCipherRSA.java121 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
220 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
221 if (bufferOffset + inputLen > buffer.length) { in engineUpdate()
226 System.arraycopy(input, inputOffset, buffer, bufferOffset, inputLen); in engineUpdate()
227 bufferOffset += inputLen; in engineUpdate()
232 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, byte[] output, in engineUpdate() argument
234 engineUpdate(input, inputOffset, inputLen); in engineUpdate()
239 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
242 engineUpdate(input, inputOffset, inputLen); in engineDoFinal()
295 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, in engineDoFinal() argument
[all …]
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DCipherSpiTest.java241 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
267 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
268 if (initV.length < inputLen) { in engineUpdate()
269 initV = new byte[inputLen]; in engineUpdate()
271 for (int i = 0; i < inputLen; i++) { in engineUpdate()
277 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
279 byte[] res = engineUpdate(input, inputOffset, inputLen); in engineUpdate()
290 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
292 if (resV.length > inputLen) { in engineDoFinal()
293 byte[] bb = new byte[inputLen]; in engineDoFinal()
[all …]
/external/curl/src/
Dtool_metalink.c131 unsigned int inputLen) in MD5_Update() argument
133 md5_update(ctx, inputLen, input); in MD5_Update()
149 unsigned int inputLen) in SHA1_Update() argument
151 sha1_update(ctx, inputLen, input); in SHA1_Update()
167 unsigned int inputLen) in SHA256_Update() argument
169 sha256_update(ctx, inputLen, input); in SHA256_Update()
187 unsigned int inputLen) in MD5_Update() argument
189 gcry_md_write(*ctx, input, inputLen); in MD5_Update()
206 unsigned int inputLen) in SHA1_Update() argument
208 gcry_md_write(*ctx, input, inputLen); in SHA1_Update()
[all …]
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java64 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
65 return inputLen + 10; in engineGetOutputSize()
97 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
102 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
108 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
114 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, in engineDoFinal() argument
DMyExemptionMechanismSpi.java60 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java131 int inputLen) in engineGetOutputSize() argument
394 int inputLen) in engineUpdate() argument
396 bOut.write(input, inputOffset, inputLen); in engineUpdate()
419 int inputLen, in engineUpdate() argument
423 bOut.write(input, inputOffset, inputLen); in engineUpdate()
446 int inputLen) in engineDoFinal() argument
451 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
486 int inputLen, in engineDoFinal() argument
493 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
/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/libjpeg-turbo/md5/
Dmd5.c144 MD5Update (context, in, inputLen) in MD5Update() argument
147 unsigned int inputLen;
156 if ((context->count[0] += ((unsigned int)inputLen << 3))
157 < ((unsigned int)inputLen << 3))
159 context->count[1] += ((unsigned int)inputLen >> 29);
164 if (inputLen >= partLen) {
169 for (i = partLen; i + 63 < inputLen; i += 64)
179 inputLen-i);
/external/libchrome/crypto/third_party/nss/
Dchromium-blapi.h53 unsigned int inputLen);
71 unsigned int inputLen);
89 unsigned int inputLen);
Dsha512.cc398 unsigned int inputLen) in SHA256_Update() argument
401 if (!inputLen) in SHA256_Update()
405 if ((ctx->sizeLo += inputLen) < inputLen) in SHA256_Update()
411 if (inputLen < todo) in SHA256_Update()
412 todo = inputLen; in SHA256_Update()
415 inputLen -= todo; in SHA256_Update()
421 while (inputLen >= SHA256_BLOCK_LENGTH) { in SHA256_Update()
424 inputLen -= SHA256_BLOCK_LENGTH; in SHA256_Update()
428 if (inputLen) in SHA256_Update()
429 memcpy(B, input, inputLen); in SHA256_Update()
[all …]
/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_wsconf.cpp108 int32_t inputLen = 0; in buildWSConfusableData() local
144 u_strFromUTF8(NULL, 0, &inputLen, confusablesWS, confusablesWSLen, &status); in buildWSConfusableData()
149 input = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); in buildWSConfusableData()
154 u_strFromUTF8(input, inputLen+1, NULL, confusablesWS, confusablesWSLen, &status); in buildWSConfusableData()
165 uregex_setText(parseRegexp, input, inputLen, &status); in buildWSConfusableData()
Duspoof_conf.cpp210 int32_t inputLen = 0; in build() local
214 u_strFromUTF8(NULL, 0, &inputLen, confusables, confusablesLen, &status); in build()
219 fInput = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); in build()
224 u_strFromUTF8(fInput, inputLen+1, NULL, confusables, confusablesLen, &status); in build()
259 uregex_setText(fParseLine, fInput, inputLen, &status); in build()
Duregex.cpp1815 int64_t inputLen = regexp->fMatcher->fInputLength; in split() local
1816 if (inputLen == 0) { in split()
1835 if (inputLen > nextOutputStringStart) { in split()
1844 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
1891 if (nextOutputStringStart == inputLen) { in split()
1913 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
/external/icu/icu4c/source/common/
Dcaniter.cpp508 int32_t inputLen=temp.length(); in extract() local
566 if (inputLen == temp.length()) { in extract()
579 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.java80 int inputLen) in engineGetOutputSize() argument
/external/dbus/dbus/
Ddbus-sha.c435 unsigned int inputLen; in _dbus_sha_update() local
439 inputLen = _dbus_string_get_length (data); in _dbus_sha_update()
441 sha_append (context, input, inputLen); in _dbus_sha_update()
/external/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestCharset.java1919 int inputLen = mySource.remaining(); in smBufDecode() local
1922 for (int i = 1; i <= inputLen; i++) { in smBufDecode()
1924 if (i == inputLen) { in smBufDecode()
2055 int inputLen = mySource.limit(); in smBufEncode() local
2057 for (int i = 1; i <= inputLen; i++) { in smBufEncode()