Lines Matching refs:maxpad
538 unsigned int res, maxpad, pad, bitlen;
578 maxpad = len - (SHA_DIGEST_LENGTH + 1);
579 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8);
580 maxpad &= 255;
582 ret &= constant_time_ge(maxpad, pad);
742 unsigned char *p = out + len - 1 - maxpad - SHA_DIGEST_LENGTH;
746 maxpad += SHA_DIGEST_LENGTH;
747 for (res = 0, i = 0, j = 0; j < maxpad; j++) {
757 maxpad -= SHA_DIGEST_LENGTH;
769 pad = (pad & ~res) | (maxpad & res);