Searched refs:j_0 (Results 1 – 3 of 3) sorted by relevance
/linux-4.1.27/net/mac80211/ |
D | aes_gcm.c | 19 void ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, in ieee80211_aes_gcm_encrypt() argument 39 aead_request_set_crypt(aead_req, &pt, ct, data_len, j_0); in ieee80211_aes_gcm_encrypt() 44 int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, in ieee80211_aes_gcm_decrypt() argument 67 data_len + IEEE80211_GCMP_MIC_LEN, j_0); in ieee80211_aes_gcm_decrypt()
|
D | aes_gcm.h | 14 void ieee80211_aes_gcm_encrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad, 16 int ieee80211_aes_gcm_decrypt(struct crypto_aead *tfm, u8 *j_0, u8 *aad,
|
D | wpa.c | 553 static void gcmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *j_0, u8 *aad) in gcmp_special_blocks() argument 559 memcpy(j_0, hdr->addr2, ETH_ALEN); in gcmp_special_blocks() 560 memcpy(&j_0[ETH_ALEN], pn, IEEE80211_GCMP_PN_LEN); in gcmp_special_blocks() 561 j_0[13] = 0; in gcmp_special_blocks() 562 j_0[14] = 0; in gcmp_special_blocks() 563 j_0[AES_BLOCK_SIZE - 1] = 0x01; in gcmp_special_blocks() 634 u8 j_0[AES_BLOCK_SIZE]; in gcmp_encrypt_skb() local 689 gcmp_special_blocks(skb, pn, j_0, aad); in gcmp_encrypt_skb() 690 ieee80211_aes_gcm_encrypt(key->u.gcmp.tfm, j_0, aad, pos, len, in gcmp_encrypt_skb() 753 u8 j_0[AES_BLOCK_SIZE]; in ieee80211_crypto_gcmp_decrypt() local [all …]
|