Home
last modified time | relevance | path

Searched refs:hdr_mac (Results 1 – 1 of 1) sorted by relevance

/external/wpa_supplicant_8/src/crypto/
Daes-eax.c34 u8 nonce_mac[AES_BLOCK_SIZE], hdr_mac[AES_BLOCK_SIZE], in aes_128_eax_encrypt() local
59 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) in aes_128_eax_encrypt()
70 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; in aes_128_eax_encrypt()
98 u8 nonce_mac[AES_BLOCK_SIZE], hdr_mac[AES_BLOCK_SIZE], in aes_128_eax_decrypt() local
125 if (omac1_aes_128(key, buf, 16 + hdr_len, hdr_mac)) { in aes_128_eax_decrypt()
140 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) in aes_128_eax_decrypt()