Searched refs:b_0 (Results 1 - 3 of 3) sorted by relevance

/linux-4.4.14/net/mac80211/
H A Daes_ccm.h18 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,
H A Daes_ccm.c21 void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, ieee80211_aes_ccm_encrypt() argument
40 aead_request_set_crypt(aead_req, sg, sg, data_len, b_0); ieee80211_aes_ccm_encrypt()
46 int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, ieee80211_aes_ccm_decrypt() argument
67 aead_request_set_crypt(aead_req, sg, sg, data_len + mic_len, b_0); ieee80211_aes_ccm_decrypt()
H A Dwpa.c310 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) ccmp_special_blocks() argument
342 * from this vector b_0. We only set L := 1 here to indicate that the ccmp_special_blocks()
347 b_0[0] = 0x1; ccmp_special_blocks()
352 b_0[1] = qos_tid | (mgmt << 4); ccmp_special_blocks()
353 memcpy(&b_0[2], hdr->addr2, ETH_ALEN); ccmp_special_blocks()
354 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); ccmp_special_blocks()
412 u8 b_0[AES_BLOCK_SIZE]; ccmp_encrypt_skb() local
466 ccmp_special_blocks(skb, pn, b_0, aad); ccmp_encrypt_skb()
467 ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aad, pos, len, ccmp_encrypt_skb()
535 u8 b_0[AES_BLOCK_SIZE]; ieee80211_crypto_ccmp_decrypt() local
537 ccmp_special_blocks(skb, pn, b_0, aad); ieee80211_crypto_ccmp_decrypt()
540 key->u.ccmp.tfm, b_0, aad, ieee80211_crypto_ccmp_decrypt()

Completed in 64 milliseconds