Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/eap_common/
Deap_psk_common.c16 #define aes_block_size 16 macro
21 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 …]
/external/tpm2-tss/test/integration/
Dsapi-session-util.c560 UINT32 aes_block_size = 16; in gen_session_key() local
574 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()