Searched refs:CCMP_HDR_LEN (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 25 #define CCMP_HDR_LEN 8 macro 161 if (skb_headroom(skb) < CCMP_HDR_LEN || in rtllib_ccmp_encrypt() 166 pos = skb_push(skb, CCMP_HDR_LEN); in rtllib_ccmp_encrypt() 167 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in rtllib_ccmp_encrypt() 194 int data_len = skb->len - hdr_len - CCMP_HDR_LEN; in rtllib_ccmp_encrypt() 205 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in rtllib_ccmp_encrypt() 231 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in rtllib_ccmp_decrypt() 273 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in rtllib_ccmp_decrypt() 309 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in rtllib_ccmp_decrypt() 310 skb_pull(skb, CCMP_HDR_LEN); in rtllib_ccmp_decrypt() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 30 #define CCMP_HDR_LEN 8 macro 167 if (skb_headroom(skb) < CCMP_HDR_LEN || in ieee80211_ccmp_encrypt() 172 pos = skb_push(skb, CCMP_HDR_LEN); in ieee80211_ccmp_encrypt() 173 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in ieee80211_ccmp_encrypt() 201 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in ieee80211_ccmp_encrypt() 213 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in ieee80211_ccmp_encrypt() 236 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in ieee80211_ccmp_decrypt() 288 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in ieee80211_ccmp_decrypt() 319 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in ieee80211_ccmp_decrypt() 320 skb_pull(skb, CCMP_HDR_LEN); in ieee80211_ccmp_decrypt() [all …]
|
/kernel/linux/linux-5.10/net/wireless/ |
D | lib80211_crypt_ccmp.c | 34 #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 …]
|