Searched refs:rec_sz (Results 1 – 2 of 2) sorted by relevance
333 uint16_t rec_sz; in kssl_input() local377 rec_sz = BE16_TO_U16(rec_sz_p); in kssl_input()379 if ((mp->b_cont == NULL) && (mplen == rec_sz)) { in kssl_input()529 uint16_t rec_sz; in kssl_handle_mblk() local621 rec_sz = BE16_TO_U16(rec_sz_p); in kssl_handle_mblk()624 recend = mp->b_rptr + rec_sz; in kssl_handle_mblk()649 ((rec_sz & (spec->cipher_bsize - 1)) != 0)) { in kssl_handle_mblk()651 uint16_t, rec_sz, in kssl_handle_mblk()661 cipher_data.cd_length = rec_sz; in kssl_handle_mblk()664 cipher_data.cd_raw.iov_len = rec_sz; in kssl_handle_mblk()[all …]
1709 uint16_t rec_sz; in kssl_mac_encrypt_record() local1720 rec_sz = (mp->b_wptr - rstart) - SSL3_HDR_LEN; in kssl_mac_encrypt_record()1721 ASSERT(rec_sz > 0); in kssl_mac_encrypt_record()1727 rstart + SSL3_HDR_LEN, rec_sz, mp->b_wptr); in kssl_mac_encrypt_record()1731 rec_sz += mac_sz; in kssl_mac_encrypt_record()1739 (rec_sz & (spec->cipher_bsize - 1)); in kssl_mac_encrypt_record()1745 rec_sz += pad_sz; in kssl_mac_encrypt_record()1748 ASSERT(rec_sz <= SSL3_MAX_RECORD_LENGTH); in kssl_mac_encrypt_record()1750 U16_TO_BE16(rec_sz, rstart + 3); in kssl_mac_encrypt_record()1755 spec->cipher_data.cd_length = rec_sz; in kssl_mac_encrypt_record()[all …]