Searched refs:b_0 (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/net/mac80211/ |
D | aes_ccm.c | 22 void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, in ieee80211_aes_ccm_encrypt() argument 43 aead_request_set_crypt(aead_req, &pt, ct, data_len, b_0); in ieee80211_aes_ccm_encrypt() 48 int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, in ieee80211_aes_ccm_decrypt() argument 71 aead_request_set_crypt(aead_req, ct, &pt, data_len + mic_len, b_0); in ieee80211_aes_ccm_decrypt()
|
D | aes_ccm.h | 18 void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, 21 int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
|
D | wpa.c | 307 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) in ccmp_special_blocks() argument 344 b_0[0] = 0x1; in ccmp_special_blocks() 349 b_0[1] = qos_tid | (mgmt << 4); in ccmp_special_blocks() 350 memcpy(&b_0[2], hdr->addr2, ETH_ALEN); in ccmp_special_blocks() 351 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); in ccmp_special_blocks() 409 u8 b_0[AES_BLOCK_SIZE]; in ccmp_encrypt_skb() local 463 ccmp_special_blocks(skb, pn, b_0, aad); in ccmp_encrypt_skb() 464 ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aad, pos, len, in ccmp_encrypt_skb() 530 u8 b_0[AES_BLOCK_SIZE]; in ieee80211_crypto_ccmp_decrypt() local 532 ccmp_special_blocks(skb, pn, b_0, aad); in ieee80211_crypto_ccmp_decrypt() [all …]
|