Home
last modified time | relevance | path

Searched refs:rxm (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/net/tls/
Dtls_sw.c134 struct strp_msg *rxm = strp_msg(skb); in padding_length() local
144 if (back > rxm->full_len - prot->prepend_size) in padding_length()
147 rxm->offset + rxm->full_len - back, in padding_length()
187 struct strp_msg *rxm = strp_msg(skb); in tls_decrypt_done() local
195 rxm->full_len -= pad; in tls_decrypt_done()
196 rxm->offset += prot->prepend_size; in tls_decrypt_done()
197 rxm->full_len -= prot->overhead_size; in tls_decrypt_done()
1420 struct strp_msg *rxm = strp_msg(skb); in decrypt_internal() local
1427 const int data_len = rxm->full_len - prot->overhead_size + in decrypt_internal()
1436 n_sgin = skb_nsg(skb, rxm->offset + prot->prepend_size, in decrypt_internal()
[all …]
Dtls_device.c823 struct strp_msg *rxm; in tls_device_core_ctrl_rx_resync() local
848 rxm = strp_msg(skb); in tls_device_core_ctrl_rx_resync()
851 if (tcp_inq(sk) > rxm->full_len) { in tls_device_core_ctrl_rx_resync()
868 struct strp_msg *rxm = strp_msg(skb); in tls_device_reencrypt() local
869 int err = 0, offset = rxm->offset, copy, nsg, data_len, pos; in tls_device_reencrypt()
874 orig_buf = kmalloc(rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt()
888 rxm->full_len + TLS_HEADER_SIZE + in tls_device_reencrypt()
902 data_len = rxm->full_len - TLS_CIPHER_AES_GCM_128_TAG_SIZE; in tls_device_reencrypt()
927 if (pos >= data_len + rxm->offset) in tls_device_reencrypt()
932 data_len + rxm->offset - offset); in tls_device_reencrypt()
[all …]
/kernel/linux/linux-5.10/net/xfrm/
Despintcp.c56 struct strp_msg *rxm = strp_msg(skb); in espintcp_rcv() local
57 int len = rxm->full_len - 2; in espintcp_rcv()
65 err = skb_copy_bits(skb, rxm->offset + 2, &data, 1); in espintcp_rcv()
85 err = skb_copy_bits(skb, rxm->offset + 2, &nonesp_marker, in espintcp_rcv()
94 if (!__pskb_pull(skb, rxm->offset + 2)) { in espintcp_rcv()
100 if (pskb_trim(skb, rxm->full_len - 2) != 0) { in espintcp_rcv()
114 struct strp_msg *rxm = strp_msg(skb); in espintcp_parse() local
119 if (skb->len < rxm->offset + 2) in espintcp_parse()
122 err = skb_copy_bits(skb, rxm->offset, &blen, sizeof(blen)); in espintcp_parse()
/kernel/linux/linux-5.10/include/net/
Dtls.h122 struct strp_msg rxm; member
720 struct sk_buff *skb, struct strp_msg *rxm);
753 struct sk_buff *skb, struct strp_msg *rxm) in tls_device_decrypted() argument
/kernel/linux/linux-5.10/net/core/
Dfilter.c3594 struct strp_msg *rxm = strp_msg(skb); in BPF_CALL_4() local
3596 rxm->full_len += len_diff; in BPF_CALL_4()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0001_linux_arch.patch6130 + fsl,txs-rxm;
D0009_linux_sound.patch10365 + if (of_property_read_bool(pdev->dev.of_node, "fsl,txs-rxm")) {