Searched refs:data_mac (Results 1 – 2 of 2) sorted by relevance
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
D | aes-eax.c | 35 data_mac[AES_BLOCK_SIZE]; in aes_128_eax_encrypt() local 66 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) in aes_128_eax_encrypt() 70 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; in aes_128_eax_encrypt() 99 data_mac[AES_BLOCK_SIZE]; in aes_128_eax_decrypt() local 132 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) { in aes_128_eax_decrypt() 140 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) in aes_128_eax_decrypt()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
D | aes-eax.c | 35 data_mac[AES_BLOCK_SIZE]; in aes_128_eax_encrypt() local 66 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) in aes_128_eax_encrypt() 70 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; in aes_128_eax_encrypt() 99 data_mac[AES_BLOCK_SIZE]; in aes_128_eax_decrypt() local 132 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) { in aes_128_eax_decrypt() 140 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) in aes_128_eax_decrypt()
|