Lines Matching refs:last
137 unsigned int frag, last, packlen, i; in tls1_multi_block_encrypt() local
152 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_multi_block_encrypt()
153 if (last > frag && ((last + 13 + 9) % 64) < (x4 - 1)) { in tls1_multi_block_encrypt()
155 last -= x4 - 1; in tls1_multi_block_encrypt()
182 unsigned int len = (i == (x4 - 1) ? last : frag); in tls1_multi_block_encrypt()
228 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_multi_block_encrypt()
258 unsigned int len = (i == (x4 - 1) ? last : frag), in tls1_multi_block_encrypt()
325 unsigned int len = (i == (x4 - 1) ? last : frag), pad, j; in tls1_multi_block_encrypt()
719 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_tls1_multiblock_aad() local
746 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
747 if (last > frag && ((last + 13 + 9) % 64 < (x4 - 1))) { in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
749 last -= x4 - 1; in aesni_cbc_hmac_sha1_tls1_multiblock_aad()
754 packlen += 5 + 16 + ((last + 20 + 16) & -16); in aesni_cbc_hmac_sha1_tls1_multiblock_aad()