Searched defs:aad (Results 1 - 4 of 4) sorted by relevance
/net/mac80211/ |
H A D | aes_ccm.c | 22 void ieee80211_aes_ccm_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, argument 35 sg_init_one(&assoc, &aad[2], be16_to_cpup((__be16 *)aad)); 47 int ieee80211_aes_ccm_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, argument 62 sg_init_one(&assoc, &aad[2], be16_to_cpup((__be16 *)aad));
|
H A D | aes_cmac.c | 95 void ieee80211_aes_cmac(struct crypto_cipher *tfm, const u8 *aad, argument 103 addr[0] = aad;
|
H A D | wpa.c | 307 static void ccmp_special_blocks(struct sk_buff *skb, u8 *pn, u8 *b_0, u8 *aad) argument 355 put_unaligned_be16(len_a, &aad[0]); 356 put_unaligned(mask_fc, (__le16 *)&aad[2]); 357 memcpy(&aad[4], &hdr->addr1, 3 * ETH_ALEN); 360 aad[22] = *((u8 *) &hdr->seq_ctrl) & 0x0f; 361 aad[23] = 0; 364 memcpy(&aad[24], hdr->addr4, ETH_ALEN); 365 aad[30] = qos_tid; 366 aad[31] = 0; 368 memset(&aad[2 407 u8 aad[2 * AES_BLOCK_SIZE]; local 529 u8 aad[2 * AES_BLOCK_SIZE]; local 654 bip_aad(struct sk_buff *skb, u8 *aad) argument 700 u8 aad[20]; local 745 u8 aad[20], mic[8], ipn[6]; local [all...] |
/net/wireless/ |
H A D | lib80211_crypt_ccmp.c | 118 u8 aad[2 * AES_BLOCK_LEN]; local 154 aad[0] = 0; /* aad_len >> 8 */ 155 aad[1] = aad_len & 0xff; 156 aad[2] = pos[0] & 0x8f; 157 aad[3] = pos[1] & 0xc7; 158 memcpy(aad + 4, hdr->addr1, 3 * ETH_ALEN); 160 aad[22] = pos[0] & 0x0f; 161 aad[23] = 0; /* all bits masked */ 162 memset(aad + 24, 0, 8); 164 memcpy(aad [all...] |
Completed in 73 milliseconds