Searched refs:maxpad (Results 1 – 1 of 1) sorted by relevance
259 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local280 maxpad = len - (SHA_DIGEST_LENGTH + 1); in aesni_cbc_hmac_sha1_cipher()281 maxpad |= (255 - maxpad) >> (sizeof(maxpad) * 8 - 8); in aesni_cbc_hmac_sha1_cipher()282 maxpad &= 255; in aesni_cbc_hmac_sha1_cipher()284 ret &= constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha1_cipher()430 out + len - 1 - maxpad - SHA_DIGEST_LENGTH; in aesni_cbc_hmac_sha1_cipher()434 maxpad += SHA_DIGEST_LENGTH; in aesni_cbc_hmac_sha1_cipher()435 for (res = 0, i = 0, j = 0; j < maxpad; j++) { in aesni_cbc_hmac_sha1_cipher()446 maxpad -= SHA_DIGEST_LENGTH; in aesni_cbc_hmac_sha1_cipher()458 pad = (pad & ~res) | (maxpad & res); in aesni_cbc_hmac_sha1_cipher()