Searched refs:nonce_mac (Results 1 - 1 of 1) sorted by relevance
/freebsd-10.1-release/contrib/wpa/src/crypto/ |
H A D | aes-eax.c | 34 u8 nonce_mac[AES_BLOCK_SIZE], hdr_mac[AES_BLOCK_SIZE], local 54 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) 62 if (aes_128_ctr_encrypt(key, nonce_mac, data, data_len)) 70 tag[i] = nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i]; 98 u8 nonce_mac[AES_BLOCK_SIZE], hdr_mac[AES_BLOCK_SIZE], local 118 if (omac1_aes_128(key, buf, 16 + nonce_len, nonce_mac)) { 140 if (tag[i] != (nonce_mac[i] ^ data_mac[i] ^ hdr_mac[i])) 144 return aes_128_ctr_encrypt(key, nonce_mac, data, data_len);
|
Completed in 179 milliseconds