Searched refs:pad_sz (Results 1 – 2 of 2) sorted by relevance
678 uint_t pad_sz = recend[-1]; in kssl_handle_mblk() local679 pad_sz++; in kssl_handle_mblk()680 if (pad_sz + mac_sz > rec_sz) { in kssl_handle_mblk()686 rec_sz -= pad_sz; in kssl_handle_mblk()687 recend -= pad_sz; in kssl_handle_mblk()887 uint_t pad_sz = recend[-1]; in kssl_handle_any_record() local888 pad_sz++; in kssl_handle_any_record()889 if (pad_sz + mac_sz > rec_sz) { in kssl_handle_any_record()891 int, pad_sz, int, mac_sz); in kssl_handle_any_record()896 rec_sz -= pad_sz; in kssl_handle_any_record()[all …]
1710 int pad_sz; in kssl_mac_encrypt_record() local1738 pad_sz = spec->cipher_bsize - in kssl_mac_encrypt_record()1740 ASSERT(mp->b_wptr + pad_sz <= mp->b_datap->db_lim); in kssl_mac_encrypt_record()1741 for (i = 0; i < pad_sz; i++) { in kssl_mac_encrypt_record()1742 mp->b_wptr[i] = pad_sz - 1; in kssl_mac_encrypt_record()1744 mp->b_wptr += pad_sz; in kssl_mac_encrypt_record()1745 rec_sz += pad_sz; in kssl_mac_encrypt_record()