Lines Matching refs:pad
345 unsigned int len = (i == (x4 - 1) ? last : frag), pad, j; in tls1_multi_block_encrypt() local
366 pad = 15 - len % 16; in tls1_multi_block_encrypt()
367 for (j = 0; j <= pad; j++) in tls1_multi_block_encrypt()
368 *(out++) = pad; in tls1_multi_block_encrypt()
369 len += pad + 1; in tls1_multi_block_encrypt()
492 unsigned int res, maxpad, pad, bitlen; in aesni_cbc_hmac_sha256_cipher() local
511 pad = out[len - 1]; in aesni_cbc_hmac_sha256_cipher()
516 mask = constant_time_ge(maxpad, pad); in aesni_cbc_hmac_sha256_cipher()
524 pad = constant_time_select(mask, pad, maxpad); in aesni_cbc_hmac_sha256_cipher()
526 inp_len = len - (SHA256_DIGEST_LENGTH + pad + 1); in aesni_cbc_hmac_sha256_cipher()
665 res |= (c ^ pad) & ~cmask; /* ... and padding */ in aesni_cbc_hmac_sha256_cipher()