Searched refs:rxm (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/net/tls/ |
D | tls_sw.c | 160 struct strp_msg *rxm = strp_msg(skb); in tls_padding_length() local 166 int offset = rxm->full_len - TLS_TAG_SIZE - 1; in tls_padding_length() 173 err = skb_copy_bits(skb, rxm->offset + offset, in tls_padding_length() 1470 const struct strp_msg *rxm = strp_msg(skb); in tls_decrypt_sg() local 1475 const int data_len = rxm->full_len - prot->overhead_size; in tls_decrypt_sg() 1482 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in tls_decrypt_sg() 1483 rxm->full_len - prot->prepend_size); in tls_decrypt_sg() 1498 clear_skb = tls_alloc_clrtxt_skb(sk, skb, rxm->full_len); in tls_decrypt_sg() 1546 err = skb_copy_bits(skb, rxm->offset + TLS_HEADER_SIZE, in tls_decrypt_sg() 1556 tls_make_aad(dctx->aad, rxm->full_len - prot->overhead_size + in tls_decrypt_sg() [all …]
|
D | tls_device.c | 840 struct strp_msg *rxm; in tls_device_core_ctrl_rx_resync() local 865 rxm = strp_msg(skb); in tls_device_core_ctrl_rx_resync() 868 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync() 891 struct strp_msg *rxm; in tls_device_reencrypt() local 903 rxm = strp_msg(tls_strp_msg(sw_ctx)); in tls_device_reencrypt() 904 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv, in tls_device_reencrypt() 915 rxm = strp_msg(skb); in tls_device_reencrypt() 916 offset = rxm->offset; in tls_device_reencrypt() 920 rxm->full_len + TLS_HEADER_SIZE + cipher_desc->iv); in tls_device_reencrypt() 932 data_len = rxm->full_len - cipher_desc->tag; in tls_device_reencrypt() [all …]
|
D | tls_strp.c | 70 struct strp_msg *rxm; in tls_strp_msg_make_copy() local 78 rxm = strp_msg(skb); in tls_strp_msg_make_copy() 79 rxm->offset = 0; in tls_strp_msg_make_copy() 478 struct strp_msg *rxm; in tls_strp_msg_load() local 491 rxm = strp_msg(strp->anchor); in tls_strp_msg_load() 492 rxm->full_len = strp->stm.full_len; in tls_strp_msg_load() 493 rxm->offset = strp->stm.offset; in tls_strp_msg_load()
|
/linux-6.6.21/net/xfrm/ |
D | espintcp.c | 57 struct strp_msg *rxm = strp_msg(skb); in espintcp_rcv() local 58 int len = rxm->full_len - 2; in espintcp_rcv() 66 err = skb_copy_bits(skb, rxm->offset + 2, &data, 1); in espintcp_rcv() 86 err = skb_copy_bits(skb, rxm->offset + 2, &nonesp_marker, in espintcp_rcv() 95 if (!pskb_pull(skb, rxm->offset + 2)) { in espintcp_rcv() 101 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv() 115 struct strp_msg *rxm = strp_msg(skb); in espintcp_parse() local 120 if (skb->len < rxm->offset + 2) in espintcp_parse() 123 err = skb_copy_bits(skb, rxm->offset, &blen, sizeof(blen)); in espintcp_parse()
|
/linux-6.6.21/net/core/ |
D | filter.c | 3614 struct strp_msg *rxm = strp_msg(skb); in BPF_CALL_4() local 3616 rxm->full_len += len_diff; in BPF_CALL_4()
|