/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tls.c | 334 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk() 336 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 339 EAP_EMSK_LEN); in eap_tls_get_emsk() 340 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk() 345 *len = EAP_EMSK_LEN; in eap_tls_get_emsk() 347 emsk, EAP_EMSK_LEN); in eap_tls_get_emsk()
|
D | eap_server_psk.c | 29 u8 emsk[EAP_EMSK_LEN]; 131 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_build_3() 471 key = os_malloc(EAP_EMSK_LEN); in eap_psk_get_emsk() 474 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk() 475 *len = EAP_EMSK_LEN; in eap_psk_get_emsk()
|
D | eap_server_sake.c | 26 u8 emsk[EAP_EMSK_LEN]; 481 key = os_malloc(EAP_EMSK_LEN); in eap_sake_get_emsk() 484 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk() 485 *len = EAP_EMSK_LEN; in eap_sake_get_emsk()
|
D | eap_server_ikev2.c | 25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN]; 510 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk() 512 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk() 513 *len = EAP_EMSK_LEN; in eap_ikev2_get_emsk()
|
D | eap_server_gpsk.c | 22 u8 emsk[EAP_EMSK_LEN]; 596 key = os_malloc(EAP_EMSK_LEN); in eap_gpsk_get_emsk() 599 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk() 600 *len = EAP_EMSK_LEN; in eap_gpsk_get_emsk()
|
D | eap_server_ttls.c | 1313 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_ttls_get_emsk() 1315 emsk = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk() 1318 EAP_EMSK_LEN); in eap_ttls_get_emsk() 1319 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_ttls_get_emsk() 1324 *len = EAP_EMSK_LEN; in eap_ttls_get_emsk() 1326 emsk, EAP_EMSK_LEN); in eap_ttls_get_emsk()
|
D | eap_server_sim.c | 25 u8 emsk[EAP_EMSK_LEN]; 807 key = os_malloc(EAP_EMSK_LEN); in eap_sim_get_emsk() 810 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk() 811 *len = EAP_EMSK_LEN; in eap_sim_get_emsk()
|
D | eap_server_eke.c | 22 u8 emsk[EAP_EMSK_LEN]; 752 key = os_malloc(EAP_EMSK_LEN); in eap_eke_get_emsk() 755 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_eke_get_emsk() 756 *len = EAP_EMSK_LEN; in eap_eke_get_emsk()
|
D | eap_server_pax.c | 524 key = os_malloc(EAP_EMSK_LEN); in eap_pax_get_emsk() 528 *len = EAP_EMSK_LEN; in eap_pax_get_emsk() 532 EAP_EMSK_LEN, key); in eap_pax_get_emsk()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls.c | 132 bin_clear_free(data->key_data, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_free_key() 185 EAP_EMSK_LEN); in eap_tls_success() 191 EAP_EMSK_LEN); in eap_tls_success() 360 key = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 364 *len = EAP_EMSK_LEN; in eap_tls_get_emsk() 365 os_memcpy(key, data->key_data + EAP_TLS_KEY_LEN, EAP_EMSK_LEN); in eap_tls_get_emsk()
|
D | eap_psk.c | 29 u8 emsk[EAP_EMSK_LEN]; 257 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_process_3() 469 key = os_malloc(EAP_EMSK_LEN); in eap_psk_get_emsk() 473 *len = EAP_EMSK_LEN; in eap_psk_get_emsk() 474 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk()
|
D | eap_sake.c | 27 u8 emsk[EAP_EMSK_LEN]; 484 key = os_malloc(EAP_EMSK_LEN); in eap_sake_get_emsk() 487 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk() 488 *len = EAP_EMSK_LEN; in eap_sake_get_emsk()
|
D | eap_ikev2.c | 25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN]; 473 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk() 475 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk() 476 *len = EAP_EMSK_LEN; in eap_ikev2_get_emsk()
|
D | eap_gpsk.c | 21 u8 emsk[EAP_EMSK_LEN]; 743 key = os_malloc(EAP_EMSK_LEN); in eap_gpsk_get_emsk() 746 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk() 747 *len = EAP_EMSK_LEN; in eap_gpsk_get_emsk()
|
D | eap_pax.c | 498 key = os_malloc(EAP_EMSK_LEN); in eap_pax_get_emsk() 502 *len = EAP_EMSK_LEN; in eap_pax_get_emsk() 506 EAP_EMSK_LEN, key) < 0) { in eap_pax_get_emsk()
|
D | eap_eke.c | 21 u8 emsk[EAP_EMSK_LEN]; 738 key = os_malloc(EAP_EMSK_LEN); in eap_eke_get_emsk() 741 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_eke_get_emsk() 742 *len = EAP_EMSK_LEN; in eap_eke_get_emsk()
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.c | 80 EAP_SIM_KEYING_DATA_LEN + EAP_EMSK_LEN], *pos; in eap_sim_derive_keys() 92 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_sim_derive_keys() 100 wpa_hexdump_key(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); in eap_sim_derive_keys() 113 u8 buf[EAP_SIM_KEYING_DATA_LEN + EAP_EMSK_LEN + 32]; in eap_sim_derive_keys_reauth() 156 os_memcpy(emsk, buf + EAP_SIM_KEYING_DATA_LEN, EAP_EMSK_LEN); in eap_sim_derive_keys_reauth() 157 wpa_hexdump(MSG_DEBUG, "EAP-SIM: EMSK", emsk, EAP_EMSK_LEN); in eap_sim_derive_keys_reauth() 282 EAP_AKA_PRIME_K_RE_LEN + EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys() 320 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_aka_prime_derive_keys() 321 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': EMSK", emsk, EAP_EMSK_LEN); in eap_aka_prime_derive_keys() 330 u8 keys[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys_reauth() [all …]
|
D | eap_ikev2_common.c | 38 keymat, EAP_MSK_LEN + EAP_EMSK_LEN)) { in eap_ikev2_derive_keymat() 45 keymat, EAP_MSK_LEN + EAP_EMSK_LEN); in eap_ikev2_derive_keymat()
|
D | eap_gpsk_common.c | 172 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: EMSK", pos, EAP_EMSK_LEN); in eap_gpsk_derive_keys_helper() 173 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_gpsk_derive_keys_helper() 174 pos += EAP_EMSK_LEN; in eap_gpsk_derive_keys_helper() 196 u8 kdf_out[EAP_MSK_LEN + EAP_EMSK_LEN + EAP_GPSK_SK_LEN_AES + in eap_gpsk_derive_keys_aes() 232 u8 kdf_out[EAP_MSK_LEN + EAP_EMSK_LEN + EAP_GPSK_SK_LEN_SHA256 + in eap_gpsk_derive_keys_sha256()
|
D | eap_sake_common.c | 265 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() 295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys() 297 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: EMSK", emsk, EAP_EMSK_LEN); in eap_sake_derive_keys()
|
D | eap_pwd_common.c | 314 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN]; in compute_keys() 359 msk_emsk, (EAP_MSK_LEN + EAP_EMSK_LEN) * 8) < 0) { in compute_keys() 364 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
|
D | eap_fast_common.c | 141 emsk, EAP_EMSK_LEN) < 0) in eap_fast_derive_eap_emsk() 144 emsk, EAP_EMSK_LEN); in eap_fast_derive_eap_emsk()
|
D | eap_defs.h | 114 #define EAP_EMSK_LEN 64 macro
|
D | eap_psk_common.c | 58 for (i = 0; i < EAP_EMSK_LEN / aes_block_size; i++) { in eap_psk_derive_keys()
|
D | eap_eke_common.c | 553 u8 buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_eke_derive_msk() 576 data, data_len, buf, EAP_MSK_LEN + EAP_EMSK_LEN) < in eap_eke_derive_msk() 584 os_memcpy(emsk, buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_eke_derive_msk() 588 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: EMSK", msk, EAP_EMSK_LEN); in eap_eke_derive_msk()
|