Home
last modified time | relevance | path

Searched refs:CCMP_HDR_LEN (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/drivers/staging/rtl8192e/
Drtllib_crypt_ccmp.c25 #define CCMP_HDR_LEN 8 macro
163 if (skb_headroom(skb) < CCMP_HDR_LEN || in rtllib_ccmp_encrypt()
168 pos = skb_push(skb, CCMP_HDR_LEN); in rtllib_ccmp_encrypt()
169 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in rtllib_ccmp_encrypt()
196 int data_len = skb->len - hdr_len - CCMP_HDR_LEN; in rtllib_ccmp_encrypt()
207 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in rtllib_ccmp_encrypt()
233 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in rtllib_ccmp_decrypt()
275 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in rtllib_ccmp_decrypt()
311 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in rtllib_ccmp_decrypt()
312 skb_pull(skb, CCMP_HDR_LEN); in rtllib_ccmp_decrypt()
[all …]
/linux-6.1.9/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_ccmp.c30 #define CCMP_HDR_LEN 8 macro
169 if (skb_headroom(skb) < CCMP_HDR_LEN || in ieee80211_ccmp_encrypt()
174 pos = skb_push(skb, CCMP_HDR_LEN); in ieee80211_ccmp_encrypt()
175 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in ieee80211_ccmp_encrypt()
203 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in ieee80211_ccmp_encrypt()
215 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in ieee80211_ccmp_encrypt()
238 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in ieee80211_ccmp_decrypt()
290 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in ieee80211_ccmp_decrypt()
321 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in ieee80211_ccmp_decrypt()
322 skb_pull(skb, CCMP_HDR_LEN); in ieee80211_ccmp_decrypt()
[all …]
/linux-6.1.9/net/wireless/
Dlib80211_crypt_ccmp.c34 #define CCMP_HDR_LEN 8 macro
160 if (skb_headroom(skb) < CCMP_HDR_LEN || skb->len < hdr_len) in lib80211_ccmp_hdr()
166 pos = skb_push(skb, CCMP_HDR_LEN); in lib80211_ccmp_hdr()
167 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in lib80211_ccmp_hdr()
187 return CCMP_HDR_LEN; in lib80211_ccmp_hdr()
220 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in lib80211_ccmp_encrypt()
265 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in lib80211_ccmp_decrypt()
267 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in lib80211_ccmp_decrypt()
340 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in lib80211_ccmp_decrypt()
341 skb_pull(skb, CCMP_HDR_LEN); in lib80211_ccmp_decrypt()
[all …]