Home
last modified time | relevance | path

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

12

/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.java162 int inputLen) in engineGetOutputSize() argument
164 return cipher.getOutputSize(inputLen); in engineGetOutputSize()
666 int inputLen) in engineUpdate() argument
668 int length = cipher.getUpdateOutputSize(inputLen); in engineUpdate()
674 int len = cipher.processBytes(input, inputOffset, inputLen, out, 0); in engineUpdate()
692 cipher.processBytes(input, inputOffset, inputLen, null, 0); in engineUpdate()
700 int inputLen, in engineUpdate() argument
707 return cipher.processBytes(input, inputOffset, inputLen, output, outputOffset); in engineUpdate()
718 int inputLen) in engineDoFinal() argument
722 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 …]
/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
/external/chromium_org/net/third_party/nss/patches/
Dnullcipher_934016.patch7 const unsigned char *input, int inputLen)
9 + if (inputLen > maxOutputLen) {
14 *outputLen = inputLen;
16 PORT_Memcpy(output, input, inputLen);
Dcbc.patch40 - inputItem.len = inputLen;
63 + rv |= PK11_DigestOp(mac_context, input, inputLen);
/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_org/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.h69 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/chromium_org/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/icu4c/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()
/external/chromium_org/third_party/icu/source/i18n/
Duspoof_wsconf.cpp106 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()
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()
223 u_strFromUTF8(fInput, inputLen+1, NULL, confusables, confusablesLen, &status); in build()
256 uregex_setText(fParseLine, fInput, inputLen, &status); in build()
/external/chromium_org/third_party/icu/source/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/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()

12