/kernel/linux/linux-5.10/net/mac80211/ |
H A D | aes_gcm.h | 14 u8 *j_0, u8 *aad, u8 *data, in ieee80211_aes_gcm_encrypt() 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() 26 return aead_decrypt(tfm, j_0, aad + 2, in ieee80211_aes_gcm_decrypt() 13 ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_gcm_encrypt() argument 22 ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_gcm_decrypt() argument
|
H A D | wpa.c | 573 static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad) in gcmp_special_blocks() argument 579 memcpy(j_0, hdr->addr2, ETH_ALEN); in gcmp_special_blocks() 580 memcpy(&j_0[ETH_ALEN], pn, IEEE80211_GCMP_PN_LEN); in gcmp_special_blocks() 581 j_0[13] = 0; in gcmp_special_blocks() 582 j_0[14] = 0; in gcmp_special_blocks() 583 j_0[AES_BLOCK_SIZE - 1] = 0x01; in gcmp_special_blocks() 653 u8 j_0[AES_BLOCK_SIZE]; in gcmp_encrypt_skb() local 708 gcmp_special_blocks(skb, pn, j_0, aad); in gcmp_encrypt_skb() 709 return ieee80211_aes_gcm_encrypt(key->u.gcmp.tfm, j_0, aad, pos, len, in gcmp_encrypt_skb() 779 u8 j_0[AES_BLOCK_SIZ in ieee80211_crypto_gcmp_decrypt() local [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | aes_gcm.h | 14 u8 *j_0, u8 *aad, u8 *data, in ieee80211_aes_gcm_encrypt() 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() 26 return aead_decrypt(tfm, j_0, aad + 2, in ieee80211_aes_gcm_decrypt() 13 ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_gcm_encrypt() argument 22 ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_gcm_decrypt() argument
|
H A D | wpa.c | 584 static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad) in gcmp_special_blocks() argument 588 memcpy(j_0, hdr->addr2, ETH_ALEN); in gcmp_special_blocks() 589 memcpy(&j_0[ETH_ALEN], pn, IEEE80211_GCMP_PN_LEN); in gcmp_special_blocks() 590 j_0[13] = 0; in gcmp_special_blocks() 591 j_0[14] = 0; in gcmp_special_blocks() 592 j_0[AES_BLOCK_SIZE - 1] = 0x01; in gcmp_special_blocks() 629 u8 j_0[AES_BLOCK_SIZE]; in gcmp_encrypt_skb() local 683 gcmp_special_blocks(skb, pn, j_0, aad); in gcmp_encrypt_skb() 684 return ieee80211_aes_gcm_encrypt(key->u.gcmp.tfm, j_0, aad, pos, len, in gcmp_encrypt_skb() 754 u8 j_0[AES_BLOCK_SIZ in ieee80211_crypto_gcmp_decrypt() local [all...] |