Lines Matching refs:frag
169 unsigned int frag, last, packlen, i, x4 = 4 * n4x, minblocks, processed = in tls1_1_multi_block_encrypt() local
184 frag = (unsigned int)inp_len >> (1 + n4x); in tls1_1_multi_block_encrypt()
185 last = (unsigned int)inp_len + frag - (frag << (1 + n4x)); in tls1_1_multi_block_encrypt()
186 if (last > frag && ((last + 13 + 9) % 64) < (x4 - 1)) { in tls1_1_multi_block_encrypt()
187 frag++; in tls1_1_multi_block_encrypt()
191 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in tls1_1_multi_block_encrypt()
203 ciph_d[i].inp = hash_d[i].ptr = hash_d[i - 1].ptr + frag; in tls1_1_multi_block_encrypt()
215 unsigned int len = (i == (x4 - 1) ? last : frag); in tls1_1_multi_block_encrypt()
264 minblocks = ((frag <= last ? frag : last) - (64 - 13)) / 64; in tls1_1_multi_block_encrypt()
294 unsigned int len = (i == (x4 - 1) ? last : frag), in tls1_1_multi_block_encrypt()
373 unsigned int len = (i == (x4 - 1) ? last : frag), pad, j; in tls1_1_multi_block_encrypt()
410 inp += frag; in tls1_1_multi_block_encrypt()
828 unsigned int frag, last, packlen, inp_len; in aesni_cbc_hmac_sha256_ctrl() local
859 frag = inp_len >> n4x; in aesni_cbc_hmac_sha256_ctrl()
860 last = inp_len + frag - (frag << n4x); in aesni_cbc_hmac_sha256_ctrl()
861 if (last > frag && ((last + 13 + 9) % 64 < (x4 - 1))) { in aesni_cbc_hmac_sha256_ctrl()
862 frag++; in aesni_cbc_hmac_sha256_ctrl()
866 packlen = 5 + 16 + ((frag + 32 + 16) & -16); in aesni_cbc_hmac_sha256_ctrl()