/external/wpa_supplicant_8/src/eap_common/ |
eap_psk_common.c | 34 int eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek, u8 *msk, 45 if (aes_128_encrypt_block(kdk, hash, tek))
|
eap_psk_common.h | 69 int __must_check eap_psk_derive_keys(const u8 *kdk, const u8 *rand_p, u8 *tek,
|
eap_sake_common.c | 253 * @tek: Buffer for Temporary EAK Keys (TEK-Auth[16] | TEK-Cipher[16]) 260 const u8 *rand_s, const u8 *rand_p, u8 *tek, u8 *msk, 278 tek, EAP_SAKE_TEK_LEN); 279 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: TEK-Auth", 280 tek, EAP_SAKE_TEK_AUTH_LEN); 281 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: TEK-Cipher", 282 tek + EAP_SAKE_TEK_AUTH_LEN, EAP_SAKE_TEK_CIPHER_LEN); 303 * @tek_auth: 16-byte TEK-Aut [all...] |
eap_sake_common.h | 86 u8 *tek, u8 *msk, u8 *emsk);
|
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_sake.c | 24 } tek; member in struct:eap_sake_data 200 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, 347 (u8 *) &data->tek, data->msk, data->emsk); 349 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, 386 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p,
|
eap_server_psk.c | 27 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member in struct:eap_psk_data 126 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek, data->msk, 129 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: TEK", data->tek, EAP_PSK_TEK_LEN); 140 if (aes_128_eax_encrypt(data->tek, nonce, sizeof(nonce), 379 if (aes_128_eax_decrypt(data->tek, nonce, sizeof(nonce),
|
/external/wpa_supplicant_8/src/eap_peer/ |
eap_psk.c | 25 u8 ak[EAP_PSK_AK_LEN], kdk[EAP_PSK_KDK_LEN], tek[EAP_PSK_TEK_LEN]; member in struct:eap_psk_data 249 if (eap_psk_derive_keys(data->kdk, data->rand_p, data->tek, 255 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: TEK", data->tek, EAP_PSK_TEK_LEN); 284 if (aes_128_eax_decrypt(data->tek, nonce, sizeof(nonce), 348 if (aes_128_eax_encrypt(data->tek, nonce, sizeof(nonce),
|
eap_sake.c | 25 } tek; member in struct:eap_sake_data 243 (u8 *) &data->tek, data->msk, data->emsk); 269 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, 313 eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p, 342 if (eap_sake_compute_mic(data->tek.auth, data->rand_s, data->rand_p,
|