Lines Matching refs:frag
175 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local
189 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
190 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
191 if (last > frag && ((last + 13 + 9) % 64) < (x4 - 1)) { in tls1_1_multi_block_encrypt()
192 frag++; in tls1_1_multi_block_encrypt()
196 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in tls1_1_multi_block_encrypt()
208 ciph_d[i].inp = hash_d[i].ptr = hash_d[i - 1].ptr + frag; in tls1_1_multi_block_encrypt()
220 unsigned int len = (i == (x4 - 1) ? last : frag); in tls1_1_multi_block_encrypt()
266 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_1_multi_block_encrypt()
296 unsigned int len = (i == (x4 - 1) ? last : frag), in tls1_1_multi_block_encrypt()
363 unsigned int len = (i == (x4 - 1) ? last : frag), pad, j; in tls1_1_multi_block_encrypt()
397 inp += frag; in tls1_1_multi_block_encrypt()
854 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha1_ctrl() local
882 frag = inp_len >> n4x; in aesni_cbc_hmac_sha1_ctrl()
883 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha1_ctrl()
884 if (last > frag && ((last + 13 + 9) % 64 < (x4 - 1))) { in aesni_cbc_hmac_sha1_ctrl()
885 frag++; in aesni_cbc_hmac_sha1_ctrl()
889 packlen = 5 + 16 + ((frag + 20 + 16) & -16); in aesni_cbc_hmac_sha1_ctrl()