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.java89 int inputLen) in engineGetOutputSize() argument
91 return inputLen; in engineGetOutputSize()
302 int inputLen) in engineUpdate() argument
304 byte[] out = new byte[inputLen]; in engineUpdate()
306 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
314 int inputLen, in engineUpdate() argument
321 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
323 return inputLen; in engineUpdate()
334 int inputLen) in engineDoFinal() argument
336 if (inputLen != 0) in engineDoFinal()
[all …]
DBaseBlockCipher.java150 int inputLen) in engineGetOutputSize() argument
152 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
637 int inputLen) in engineUpdate() argument
639 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate()
645 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
663 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
671 int inputLen, in engineUpdate() argument
678 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
689 int inputLen) in engineDoFinal() argument
693 byte[] tmp = new byte[engineGetOutputSize(inputLen)]; in engineDoFinal()
[all …]
DBaseWrapCipher.java103 int inputLen) in engineGetOutputSize() argument
240 int inputLen) in engineUpdate() argument
248 int inputLen, in engineUpdate() argument
259 int inputLen) in engineDoFinal() argument
270 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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/provider/
DJCEStreamCipher.java116 int inputLen) in engineGetOutputSize() argument
118 return inputLen; in engineGetOutputSize()
329 int inputLen) in engineUpdate() argument
331 byte[] out = new byte[inputLen]; in engineUpdate()
333 cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
341 int inputLen, in engineUpdate() argument
348 cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
350 return inputLen; in engineUpdate()
361 int inputLen) in engineDoFinal() argument
364 if (inputLen != 0) in engineDoFinal()
[all …]
DJCEBlockCipher.java165 int inputLen) in engineGetOutputSize() argument
167 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
654 int inputLen) in engineUpdate() argument
656 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate()
662 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
680 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
688 int inputLen, in engineUpdate() argument
695 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
706 int inputLen) in engineDoFinal() argument
710 byte[] tmp = new byte[engineGetOutputSize(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/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/rsa/
DCipherSpi.java128 int inputLen) in engineGetOutputSize() argument
393 int inputLen) in engineUpdate() argument
395 bOut.write(input, inputOffset, inputLen); in engineUpdate()
418 int inputLen, in engineUpdate() argument
422 bOut.write(input, inputOffset, inputLen); in engineUpdate()
445 int inputLen) in engineDoFinal() argument
450 bOut.write(input, inputOffset, inputLen); in engineDoFinal()
485 int inputLen, in engineDoFinal() argument
492 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/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.cpp107 int32_t inputLen = 0; in buildWSConfusableData() local
143 u_strFromUTF8(NULL, 0, &inputLen, confusablesWS, confusablesWSLen, &status); in buildWSConfusableData()
148 input = static_cast<UChar *>(uprv_malloc((inputLen+1) * sizeof(UChar))); in buildWSConfusableData()
153 u_strFromUTF8(input, inputLen+1, NULL, confusablesWS, confusablesWSLen, &status); in buildWSConfusableData()
164 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.cpp1788 int64_t inputLen = regexp->fMatcher->fInputLength; in split() local
1789 if (inputLen == 0) { in split()
1808 if (inputLen > nextOutputStringStart) { in split()
1817 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
1864 if (nextOutputStringStart == inputLen) { in split()
1886 destIdx += 1 + utext_extract(inputText, nextOutputStringStart, inputLen, in split()
/external/icu4c/common/
Dcaniter.cpp508 int32_t inputLen=temp.length(); in extract() local
559 if (inputLen == temp.length()) { in extract()
572 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.java77 int inputLen) in engineGetOutputSize() argument