Searched refs:data_mac (Results 1 – 3 of 3) sorted by relevance
/external/wpa_supplicant_8/src/crypto/ |
D | aes-eax.c | 41 data_mac[AES_BLOCK_SIZE]; in aes_128_eax_encrypt() local 72 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) in aes_128_eax_encrypt() 76 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; in aes_128_eax_encrypt() 105 data_mac[AES_BLOCK_SIZE]; in aes_128_eax_decrypt() local 138 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) { in aes_128_eax_decrypt() 146 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) in aes_128_eax_decrypt()
|
/external/wpa_supplicant/ |
D | aes_wrap.c | 346 u8 nonce_mac[BLOCK_SIZE], hdr_mac[BLOCK_SIZE], data_mac[BLOCK_SIZE]; in aes_128_eax_encrypt() local 374 omac1_aes_128(key, buf, 16 + data_len, data_mac); in aes_128_eax_encrypt() 379 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; in aes_128_eax_encrypt() 403 u8 nonce_mac[BLOCK_SIZE], hdr_mac[BLOCK_SIZE], data_mac[BLOCK_SIZE]; in aes_128_eax_decrypt() local 430 omac1_aes_128(key, buf, 16 + data_len, data_mac); in aes_128_eax_decrypt() 435 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) in aes_128_eax_decrypt()
|
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/ |
D | aes_wrap.c | 351 u8 nonce_mac[BLOCK_SIZE], hdr_mac[BLOCK_SIZE], data_mac[BLOCK_SIZE]; in aes_128_eax_encrypt() local 382 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) in aes_128_eax_encrypt() 386 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; in aes_128_eax_encrypt() 414 u8 nonce_mac[BLOCK_SIZE], hdr_mac[BLOCK_SIZE], data_mac[BLOCK_SIZE]; in aes_128_eax_decrypt() local 447 if (omac1_aes_128(key, buf, 16 + data_len, data_mac)) { in aes_128_eax_decrypt() 455 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) in aes_128_eax_decrypt()
|