Home
last modified time | relevance | path

Searched refs:padLen (Results 1 – 5 of 5) 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/quake/quake/src/QW/client/
Dmd4.c167 unsigned int index, padLen; in MD4Final() local
174 padLen = (index < 56) ? (56 - index) : (120 - index); in MD4Final()
175 MD4Update (context, PADDING, padLen); in MD4Final()
/external/chromium/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/icu4c/i18n/
Ddecimfmt.cpp2095 int32_t padLen = U16_LENGTH(fPad); in skipPadding() local
2098 position += padLen; in skipPadding()