Home
last modified time | relevance | path

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

/linux/drivers/staging/rtl8192e/
H A Drtllib_crypt_ccmp.c25 #define CCMP_HDR_LEN 8 macro
158 if (skb_headroom(skb) < CCMP_HDR_LEN || in rtllib_ccmp_encrypt()
163 pos = skb_push(skb, CCMP_HDR_LEN); in rtllib_ccmp_encrypt()
164 memmove(pos, pos + CCMP_HDR_LEN, hdr_len); in rtllib_ccmp_encrypt()
191 int data_len = skb->len - hdr_len - CCMP_HDR_LEN; in rtllib_ccmp_encrypt()
202 sg_set_buf(&sg[1], skb->data + hdr_len + CCMP_HDR_LEN, in rtllib_ccmp_encrypt()
227 if (skb->len < hdr_len + CCMP_HDR_LEN + CCMP_MIC_LEN) { in rtllib_ccmp_decrypt()
269 size_t data_len = skb->len - hdr_len - CCMP_HDR_LEN; in rtllib_ccmp_decrypt()
305 memmove(skb->data + CCMP_HDR_LEN, skb->data, hdr_len); in rtllib_ccmp_decrypt()
306 skb_pull(skb, CCMP_HDR_LEN); in rtllib_ccmp_decrypt()
[all …]
/linux/net/wireless/
H A 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 …]