Searched refs:aes_block_size (Results 1 – 2 of 2) sorted by relevance
16 #define aes_block_size 16 macro21 os_memset(ak, 0, aes_block_size); in eap_psk_key_setup()24 os_memcpy(kdk, ak, aes_block_size); in eap_psk_key_setup()25 ak[aes_block_size - 1] ^= 0x01; in eap_psk_key_setup()26 kdk[aes_block_size - 1] ^= 0x02; in eap_psk_key_setup()37 u8 hash[aes_block_size]; in eap_psk_derive_keys()44 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys()47 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys()50 for (i = 0; i < EAP_MSK_LEN / aes_block_size; i++) { in eap_psk_derive_keys()51 hash[aes_block_size - 1] ^= counter; in eap_psk_derive_keys()[all …]
560 UINT32 aes_block_size = 16; in gen_session_key() local574 session->symmetric.keyBits.sym + aes_block_size * 8, in gen_session_key()579 if (key.size != (session->symmetric.keyBits.sym / 8) + aes_block_size) in gen_session_key()582 iv->size = aes_block_size; in gen_session_key()