Searched refs:CCMP_HDR_LEN (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/net/wireless/ |
D | lib80211_crypt_ccmp.c | 37 #define CCMP_HDR_LEN 8 macro 188 if (skb_headroom(skb) < CCMP_HDR_LEN || skb->len < hdr_len) in lib80211_ccmp_hdr() 194 pos = skb_push(skb, CCMP_HDR_LEN); in lib80211_ccmp_hdr() 195 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in lib80211_ccmp_hdr() 215 return CCMP_HDR_LEN; in lib80211_ccmp_hdr() 237 pos = skb->data + hdr_len + CCMP_HDR_LEN; in lib80211_ccmp_encrypt() 295 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - CCMP_MIC_LEN; in lib80211_ccmp_decrypt() 298 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in lib80211_ccmp_decrypt() 373 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in lib80211_ccmp_decrypt() 374 skb_pull(skb, CCMP_HDR_LEN); in lib80211_ccmp_decrypt() [all …]
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_crypt_ccmp.c | 29 #define CCMP_HDR_LEN 8 macro 194 if (skb_headroom(skb) < CCMP_HDR_LEN || in rtllib_ccmp_encrypt() 200 pos = skb_push(skb, CCMP_HDR_LEN); in rtllib_ccmp_encrypt() 201 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in rtllib_ccmp_encrypt() 268 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in rtllib_ccmp_decrypt() 310 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - in rtllib_ccmp_decrypt() 350 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in rtllib_ccmp_decrypt() 351 skb_pull(skb, CCMP_HDR_LEN); in rtllib_ccmp_decrypt() 437 .extra_mpdu_prefix_len = CCMP_HDR_LEN,
|
/Linux-v4.19/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_ccmp.c | 33 #define CCMP_HDR_LEN 8 macro 197 if (skb_headroom(skb) < CCMP_HDR_LEN || in ieee80211_ccmp_encrypt() 203 pos = skb_push(skb, CCMP_HDR_LEN); in ieee80211_ccmp_encrypt() 204 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in ieee80211_ccmp_encrypt() 269 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in ieee80211_ccmp_decrypt() 316 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN - CCMP_MIC_LEN; in ieee80211_ccmp_decrypt() 354 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in ieee80211_ccmp_decrypt() 355 skb_pull(skb, CCMP_HDR_LEN); in ieee80211_ccmp_decrypt() 440 .extra_prefix_len = CCMP_HDR_LEN,
|