/kernel/linux/linux-5.10/net/mac80211/ |
H A D | aes_ccm.h | 22 u8 *b_0, u8 *aad, u8 *data, in ieee80211_aes_ccm_encrypt() 25 return aead_encrypt(tfm, b_0, aad + 2, in ieee80211_aes_ccm_encrypt() 32 u8 *b_0, u8 *aad, u8 *data, in ieee80211_aes_ccm_decrypt() 35 return aead_decrypt(tfm, b_0, aad + 2, in ieee80211_aes_ccm_decrypt() 21 ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_ccm_encrypt() argument 31 ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_ccm_decrypt() argument
|
H A D | aead_api.c | 18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() argument 41 aead_request_set_crypt(aead_req, sg, sg, data_len, b_0); in aead_encrypt() 50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() argument 76 aead_request_set_crypt(aead_req, sg, sg, data_len + mic_len, b_0); in aead_decrypt()
|
H A D | aead_api.h | 13 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, 17 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
|
H A D | wpa.c | 315 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) in ccmp_special_blocks() argument 347 * from this vector b_0. We only set L := 1 here to indicate that the in ccmp_special_blocks() 352 b_0[0] = 0x1; in ccmp_special_blocks() 357 b_0[1] = qos_tid | (mgmt << 4); in ccmp_special_blocks() 358 memcpy(&b_0[2], hdr->addr2, ETH_ALEN); in ccmp_special_blocks() 359 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); in ccmp_special_blocks() 417 u8 b_0[AES_BLOCK_SIZE]; in ccmp_encrypt_skb() local 471 ccmp_special_blocks(skb, pn, b_0, aad); in ccmp_encrypt_skb() 472 return ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aad, pos, len, in ccmp_encrypt_skb() 547 u8 b_0[AES_BLOCK_SIZ in ieee80211_crypto_ccmp_decrypt() local [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | aes_ccm.h | 22 u8 *b_0, u8 *aad, u8 *data, in ieee80211_aes_ccm_encrypt() 25 return aead_encrypt(tfm, b_0, aad + 2, in ieee80211_aes_ccm_encrypt() 32 u8 *b_0, u8 *aad, u8 *data, in ieee80211_aes_ccm_decrypt() 35 return aead_decrypt(tfm, b_0, aad + 2, in ieee80211_aes_ccm_decrypt() 21 ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_ccm_encrypt() argument 31 ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, u8 *data, size_t data_len, u8 *mic) ieee80211_aes_ccm_decrypt() argument
|
H A D | aead_api.c | 18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() argument 41 aead_request_set_crypt(aead_req, sg, sg, data_len, b_0); in aead_encrypt() 50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() argument 76 aead_request_set_crypt(aead_req, sg, sg, data_len + mic_len, b_0); in aead_decrypt()
|
H A D | aead_api.h | 13 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, 17 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad,
|
H A D | wpa.c | 316 * need that in CCMP also for b_0. 372 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) in ccmp_special_blocks() argument 379 * from this vector b_0. We only set L := 1 here to indicate that the in ccmp_special_blocks() 384 b_0[0] = 0x1; in ccmp_special_blocks() 389 b_0[1] = qos_tid | (ieee80211_is_mgmt(hdr->frame_control) << 4); in ccmp_special_blocks() 390 memcpy(&b_0[2], hdr->addr2, ETH_ALEN); in ccmp_special_blocks() 391 memcpy(&b_0[8], pn, IEEE80211_CCMP_PN_LEN); in ccmp_special_blocks() 429 u8 b_0[AES_BLOCK_SIZE]; in ccmp_encrypt_skb() local 482 ccmp_special_blocks(skb, pn, b_0, aad); in ccmp_encrypt_skb() 483 return ieee80211_aes_ccm_encrypt(key->u.ccmp.tfm, b_0, aa in ccmp_encrypt_skb() 558 u8 b_0[AES_BLOCK_SIZE]; ieee80211_crypto_ccmp_decrypt() local [all...] |