Searched refs:j_0 (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/net/mac80211/ |
D | aes_gcm.h | 14 u8 *j_0, u8 *aad, u8 *data, in ieee80211_aes_gcm_encrypt() argument 17 return aead_encrypt(tfm, j_0, aad + 2, in ieee80211_aes_gcm_encrypt() 23 u8 *j_0, u8 *aad, u8 *data, in ieee80211_aes_gcm_decrypt() argument 26 return aead_decrypt(tfm, j_0, aad + 2, in ieee80211_aes_gcm_decrypt()
|
D | wpa.c | 567 static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad) in gcmp_special_blocks() argument 573 memcpy(j_0, hdr->addr2, ETH_ALEN); in gcmp_special_blocks() 574 memcpy(&j_0[ETH_ALEN], pn, IEEE80211_GCMP_PN_LEN); in gcmp_special_blocks() 575 j_0[13] = 0; in gcmp_special_blocks() 576 j_0[14] = 0; in gcmp_special_blocks() 577 j_0[AES_BLOCK_SIZE - 1] = 0x01; in gcmp_special_blocks() 647 u8 j_0[AES_BLOCK_SIZE]; in gcmp_encrypt_skb() local 702 gcmp_special_blocks(skb, pn, j_0, aad); in gcmp_encrypt_skb() 703 return ieee80211_aes_gcm_encrypt(key->u.gcmp.tfm, j_0, aad, pos, len, in gcmp_encrypt_skb() 770 u8 j_0[AES_BLOCK_SIZE]; in ieee80211_crypto_gcmp_decrypt() local [all …]
|