Lines Matching refs:hdr
114 struct ieee80211_hdr *hdr, in ccmp_init_blocks() argument
122 a4_included = ieee80211_has_a4(hdr->frame_control); in ccmp_init_blocks()
123 qc_included = ieee80211_is_data_qos(hdr->frame_control); in ccmp_init_blocks()
129 pos = (u8 *) & hdr->addr4; in ccmp_init_blocks()
143 memcpy(b0 + 2, hdr->addr2, ETH_ALEN); in ccmp_init_blocks()
155 pos = (u8 *) hdr; in ccmp_init_blocks()
160 memcpy(aad + 4, hdr->addr1, 3 * ETH_ALEN); in ccmp_init_blocks()
161 pos = (u8 *) & hdr->seq_ctrl; in ccmp_init_blocks()
166 memcpy(aad + 24, hdr->addr4, ETH_ALEN); in ccmp_init_blocks()
225 struct ieee80211_hdr *hdr; in lib80211_ccmp_encrypt() local
241 hdr = (struct ieee80211_hdr *)skb->data; in lib80211_ccmp_encrypt()
242 ccmp_init_blocks(key->tfm, hdr, key->tx_pn, data_len, b0, b, s0); in lib80211_ccmp_encrypt()
291 struct ieee80211_hdr *hdr; in lib80211_ccmp_decrypt() local
305 hdr = (struct ieee80211_hdr *)skb->data; in lib80211_ccmp_decrypt()
311 " flag from %pM\n", hdr->addr2); in lib80211_ccmp_decrypt()
326 " key\n", hdr->addr2, keyidx); in lib80211_ccmp_decrypt()
345 hdr->addr2, in lib80211_ccmp_decrypt()
355 ccmp_init_blocks(key->tfm, hdr, pn, data_len, b0, a, b); in lib80211_ccmp_decrypt()
377 "%pM\n", hdr->addr2); in lib80211_ccmp_decrypt()