Home
last modified time | relevance | path

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

/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
DJCEStreamCipher.java99 int inputLen) in engineGetOutputSize() argument
101 return inputLen; in engineGetOutputSize()
312 int inputLen) in engineUpdate() argument
314 byte[] out = new byte[inputLen]; in engineUpdate()
316 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
324 int inputLen, in engineUpdate() argument
331 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
333 return inputLen; in engineUpdate()
344 int inputLen) in engineDoFinal() argument
346 if (inputLen != 0) in engineDoFinal()
[all …]
DJCEBlockCipher.java149 int inputLen) in engineGetOutputSize() argument
151 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
628 int inputLen) in engineUpdate() argument
630 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate()
636 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
654 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
662 int inputLen, in engineUpdate() argument
669 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
680 int inputLen) in engineDoFinal() argument
684 byte[] tmp = new byte[engineGetOutputSize(inputLen)]; in engineDoFinal()
[all …]
DJCERSACipher.java127 int inputLen) in engineGetOutputSize() argument
386 int inputLen) in engineUpdate() argument
388 bOut.write(input, inputOffset, inputLen); in engineUpdate()
411 int inputLen, in engineUpdate() argument
415 bOut.write(input, inputOffset, inputLen); in engineUpdate()
438 int inputLen) in engineDoFinal() argument
443 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
478 int inputLen, in engineDoFinal() argument
485 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
DWrapCipherSpi.java110 int inputLen) in engineGetOutputSize() argument
247 int inputLen) in engineUpdate() argument
255 int inputLen, in engineUpdate() argument
266 int inputLen) in engineDoFinal() argument
277 int inputLen, in engineDoFinal() argument
/external/apache-harmony/crypto/src/test/api/java.injected/javax/crypto/
DCipherSpiTest.java242 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
268 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
269 if (initV.length < inputLen) { in engineUpdate()
270 initV = new byte[inputLen]; in engineUpdate()
272 for (int i = 0; i < inputLen; i++) { in engineUpdate()
278 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
280 byte []res = engineUpdate(input, inputOffset, inputLen); in engineUpdate()
291 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
293 if (resV.length > inputLen) { in engineDoFinal()
294 byte[] bb = new byte[inputLen]; in engineDoFinal()
[all …]
/external/apache-harmony/crypto/src/test/support/common/java/org/apache/harmony/crypto/tests/support/
DMyCipher.java65 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
66 return inputLen + 10; in engineGetOutputSize()
98 protected byte[] engineUpdate(byte[] input, int inputOffset, int inputLen) { in engineUpdate() argument
103 protected int engineUpdate(byte[] input, int inputOffset, int inputLen, in engineUpdate() argument
109 protected byte[] engineDoFinal(byte[] input, int inputOffset, int inputLen) in engineDoFinal() argument
115 protected int engineDoFinal(byte[] input, int inputOffset, int inputLen, in engineDoFinal() argument
DMyExemptionMechanismSpi.java60 protected int engineGetOutputSize(int inputLen) { in engineGetOutputSize() argument
/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/chromium/net/http/
Dmd4.cc148 void MD4Sum(const Uint8 *input, Uint32 inputLen, Uint8 *result) in MD4Sum() argument
160 m = inputLen >> 6; in MD4Sum()
167 n = inputLen % 64; in MD4Sum()
172 inputLen = inputLen << 3; in MD4Sum()
173 w2b(final + (n >= 56 ? 120 : 56), &inputLen, 4); in MD4Sum()
Dmd4.h70 void MD4Sum(const uint8 *input, uint32 inputLen, uint8 *result);
/external/chromium/crypto/third_party/nss/
Dblapi.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/quake/quake/src/QW/client/
Dmd4.c129 void MD4Update (MD4_CTX *context, unsigned char *input, unsigned int inputLen) in MD4Update() argument
137 if ((context->count[0] += ((UINT4)inputLen << 3))< ((UINT4)inputLen << 3)) in MD4Update()
140 context->count[1] += ((UINT4)inputLen >> 29); in MD4Update()
145 if (inputLen >= partLen) in MD4Update()
150 for (i = partLen; i + 63 < inputLen; i += 64) in MD4Update()
159 memcpy ((POINTER)&context->buffer[index], (POINTER)&input[i], inputLen-i); in MD4Update()
/external/icu4c/i18n/
Duspoof_wsconf.cpp105 int32_t inputLen = 0; in buildWSConfusableData() local
141 u_strFromUTF8(NULL, 0, &inputLen, confusablesWS, confusablesWSLen, &status); in buildWSConfusableData()
146 input = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); in buildWSConfusableData()
151 u_strFromUTF8(input, inputLen+1, NULL, confusablesWS, confusablesWSLen, &status); in buildWSConfusableData()
162 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.cpp1782 int64_t inputLen = regexp->fMatcher->fInputLength; in split() local
1783 if (inputLen == 0) { in split()
1802 if (inputLen > nextOutputStringStart) { in split()
1811 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
1858 if (nextOutputStringStart == inputLen) { in split()
1880 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
/external/icu4c/common/
Dcaniter.cpp507 int32_t inputLen=temp.length(); in extract() local
558 if (inputLen == temp.length()) { in extract()
571 return getEquivalents2(fillinResult, temp.getBuffer()+inputLen, temp.length()-inputLen, status); in extract()
/external/dbus/dbus/
Ddbus-md5.c421 unsigned int inputLen; in _dbus_md5_update() local
425 inputLen = _dbus_string_get_length (data); in _dbus_md5_update()
427 md5_append (context, input, inputLen); in _dbus_md5_update()
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/bouncycastle/patches/
Dandroid.patch3089 int inputLen,
3101 + int outputLen = cipher.getOutputSize(inputLen);
3108 if (inputLen != 0)
3110 len = cipher.processBytes(input, inputOffset, inputLen, output, outputOffset);
9055 int inputLen,