Searched refs:TLS_HEADER_SIZE (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/net/tls/ |
D | tls_device_fallback.c | 58 unsigned char buf[TLS_HEADER_SIZE + TLS_MAX_IV_SIZE]; in tls_enc_record() 69 buf_size = TLS_HEADER_SIZE + cipher_desc->iv; in tls_enc_record() 87 memcpy(iv + cipher_desc->salt, buf + TLS_HEADER_SIZE, cipher_desc->iv); in tls_enc_record()
|
D | tls_device.c | 789 seq += TLS_HEADER_SIZE - 1; in tls_device_rx_resync_new_rec() 892 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv, in tls_device_reencrypt() 908 rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv); in tls_device_reencrypt() 909 err = skb_copy_bits(skb, offset, buf, TLS_HEADER_SIZE + cipher_desc->iv); in tls_device_reencrypt()
|
D | tls_sw.c | 1546 err = skb_copy_bits(skb, rxm->offset + TLS_HEADER_SIZE, in tls_decrypt_sg() 2362 char header[TLS_HEADER_SIZE + TLS_MAX_IV_SIZE]; in tls_rx_msg_size() 2408 tls_device_rx_resync_new_rec(strp->sk, data_len + TLS_HEADER_SIZE, in tls_rx_msg_size() 2410 return data_len + TLS_HEADER_SIZE; in tls_rx_msg_size() 2664 prot->aad_size = TLS_HEADER_SIZE; in init_prot_info() 2677 prot->prepend_size = TLS_HEADER_SIZE + nonce_size; in init_prot_info()
|
/linux-6.12.1/include/net/ |
D | tls.h | 57 #define TLS_HEADER_SIZE 5 macro 58 #define TLS_NONCE_OFFSET TLS_HEADER_SIZE
|
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
D | chcr_ktls.c | 1179 CPL_TX_SEC_PDU_IVINSRTOFST_V(TLS_HEADER_SIZE + 1)); in chcr_ktls_xmit_wr_complete() 1183 cipher_start = TLS_HEADER_SIZE + tx_info->iv_size + 1; in chcr_ktls_xmit_wr_complete() 1187 CPL_TX_SEC_PDU_AADSTOP_V(TLS_HEADER_SIZE) | in chcr_ktls_xmit_wr_complete() 1362 (!tls_rec_offset ? TLS_HEADER_SIZE + tx_info->iv_size : 0); in chcr_ktls_xmit_wr_short() 1422 (TLS_HEADER_SIZE + tx_info->iv_size)) / AES_BLOCK_LEN) : 0)); in chcr_ktls_xmit_wr_short() 1802 if (tls_rec_offset + data_len <= (TLS_HEADER_SIZE + tx_info->iv_size)) { in chcr_short_record_handler() 1820 if (tls_rec_offset < (TLS_HEADER_SIZE + tx_info->iv_size)) { in chcr_short_record_handler() 1827 (TLS_HEADER_SIZE + tx_info->iv_size)) in chcr_short_record_handler()
|