Home
last modified time | relevance | path

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

/Linux-v4.19/net/wireless/
Dlib80211_crypt_ccmp.c37 #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/
Drtllib_crypt_ccmp.c29 #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/
Dieee80211_crypt_ccmp.c33 #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,