Home
last modified time | relevance | path

Searched refs:padLen (Results 1 – 11 of 11) sorted by relevance

/external/ipsec-tools/src/racoon/missing/crypto/rijndael/
Drijndael-api-fst.c209 int i, numBlocks, padLen; in rijndael_padEncrypt() local
230 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt()
231 if (padLen <= 0 || padLen > 16) in rijndael_padEncrypt()
233 bcopy(input, block, 16 - padLen); in rijndael_padEncrypt()
234 for (cp = block + 16 - padLen; cp < block + 16; cp++) in rijndael_padEncrypt()
235 *cp = padLen; in rijndael_padEncrypt()
251 padLen = 16 - (inputOctets - 16*numBlocks); in rijndael_padEncrypt()
252 if (padLen <= 0 || padLen > 16) in rijndael_padEncrypt()
254 for (i = 0; i < 16 - padLen; i++) { in rijndael_padEncrypt()
257 for (i = 16 - padLen; i < 16; i++) { in rijndael_padEncrypt()
[all …]
/external/deqp/android/scripts/
Dinstall.py56 padLen = max([len(device.model) for device in devices])+1
58 …common.parallelApply(installToDevice, [(device, ("(%s):%s" % (device.model, ' ' * (padLen - len(de…
/external/icu/icu4c/source/common/
Dlocdispnames.cpp724 int32_t padLen; in uloc_getDisplayName() local
726 padLen=(subi==0 ? sub1Pos : patLen)-patPos; in uloc_getDisplayName()
727 if(length+padLen < destCapacity) { in uloc_getDisplayName()
729 for(int32_t i=0;i<padLen;++i) { in uloc_getDisplayName()
733 patPos+=padLen; in uloc_getDisplayName()
735 length+=padLen; in uloc_getDisplayName()
/external/tpm2/
DCpriRSA.c344 UINT32 padLen; in OaepEncode() local
373 padLen = paddedSize - messageSize - (2 * hLen) - 2; in OaepEncode()
374 memset(&pp[hLen], 0, padLen); in OaepEncode()
375 pp[hLen+padLen] = 0x01; in OaepEncode()
376 padLen += 1; in OaepEncode()
377 memcpy(&pp[hLen+padLen], message, messageSize); in OaepEncode()
379 dbSize = hLen+padLen+messageSize; in OaepEncode()
Dpart4.txt29237 298 UINT32 padLen;
29272 333 padLen = paddedSize - messageSize - (2 * hLen) - 2;
29273 334 memset(&pp[hLen], 0, padLen);
29274 335 pp[hLen+padLen] = 0x01;
29275 336 padLen += 1;
29276 337 memcpy(&pp[hLen+padLen], message, messageSize);
29279 340 dbSize = hLen+padLen+messageSize;
/external/libjpeg-turbo/md5/
Dmd5.c191 unsigned int idx, padLen; local
198 padLen = (idx < 56) ? (56 - idx) : (120 - idx);
199 MD5Update (context, PADDING, padLen);
/external/libchrome/crypto/third_party/nss/
Dsha512.cc437 unsigned int padLen = (inBuf < 56) ? (56 - inBuf) : (56 + 64 - inBuf); in SHA256_End() local
446 SHA256_Update(ctx, pad, padLen); in SHA256_End()
468 padLen = PR_MIN(SHA256_LENGTH, maxDigestLen); in SHA256_End()
469 memcpy(digest, H, padLen); in SHA256_End()
471 *digestLen = padLen; in SHA256_End()
1091 unsigned int padLen = (inBuf < 112) ? (112 - inBuf) : (112 + 128 - inBuf);
1096 unsigned int padLen = (inBuf < 112) ? (112 - inBuf) : (112 + 128 - inBuf);
1102 SHA512_Update(ctx, pad, padLen);
1128 padLen = PR_MIN(SHA512_LENGTH, maxDigestLen);
1129 memcpy(digest, H, padLen);
[all …]
/external/ppp/pppd/
Dmd5.c167 unsigned int padLen; local
177 padLen = (mdi < 56) ? (56 - mdi) : (120 - mdi);
178 MD5_Update (mdContext, PADDING, padLen);
/external/v8/test/webkit/fast/js/kde/
Dmd5-1.js350 var i=0, index=0, padLen=0;
361 padLen = (index < 56) ? (56 - index) : (120 - index);
364 for (i=0;i<padLen;i++)
/external/dng_sdk/source/
Ddng_fingerprint.cpp337 uint32 padLen = (index < 56) ? (56 - index) : (120 - index); in Result() local
339 Process (PADDING, padLen); in Result()
/external/icu/icu4c/source/i18n/
Ddecimfmt.cpp1791 int32_t padLen = U16_LENGTH(fImpl->fAffixes.fPadChar); in skipPadding() local
1794 position += padLen; in skipPadding()