Lines Matching refs:padLen
437 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);
1131 *digestLen = padLen;