Lines Matching refs:pad
325 unsigned int len = (i == (x4 - 1) ? last : frag), pad, j; in tls1_multi_block_encrypt() local
343 pad = 15 - len % 16; in tls1_multi_block_encrypt()
344 for (j = 0; j <= pad; j++) in tls1_multi_block_encrypt()
345 *(out++) = pad; in tls1_multi_block_encrypt()
346 len += pad + 1; in tls1_multi_block_encrypt()
450 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha1_cipher() local
475 pad = out[len - 1]; in aesni_cbc_hmac_sha1_cipher()
480 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha1_cipher()
488 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha1_cipher()
490 inp_len = len - (SHA_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha1_cipher()
611 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha1_cipher()