/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_ikev2.c | 25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN]; 509 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk() 511 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk() 512 *len = EAP_EMSK_LEN; in eap_ikev2_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() 468 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk() 471 *len = EAP_EMSK_LEN; in eap_psk_get_emsk()
|
D | eap_server_sake.c | 26 u8 emsk[EAP_EMSK_LEN]; 479 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk() 482 *len = EAP_EMSK_LEN; in eap_sake_get_emsk()
|
D | eap_server_ttls.c | 1314 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_ttls_get_emsk() 1316 emsk = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk() 1319 EAP_EMSK_LEN); in eap_ttls_get_emsk() 1320 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_ttls_get_emsk() 1325 *len = EAP_EMSK_LEN; in eap_ttls_get_emsk() 1327 emsk, EAP_EMSK_LEN); in eap_ttls_get_emsk()
|
D | eap_server_pax.c | 523 key = os_malloc(EAP_EMSK_LEN); in eap_pax_get_emsk() 527 *len = EAP_EMSK_LEN; in eap_pax_get_emsk() 531 EAP_EMSK_LEN, key); in eap_pax_get_emsk()
|
D | eap_server_gpsk.c | 22 u8 emsk[EAP_EMSK_LEN]; 594 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk() 597 *len = EAP_EMSK_LEN; in eap_gpsk_get_emsk()
|
D | eap_server_eke.c | 22 u8 emsk[EAP_EMSK_LEN]; 750 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_eke_get_emsk() 753 *len = EAP_EMSK_LEN; in eap_eke_get_emsk()
|
D | eap_server_sim.c | 25 u8 emsk[EAP_EMSK_LEN]; 806 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk() 809 *len = EAP_EMSK_LEN; in eap_sim_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() 281 EAP_AKA_PRIME_K_RE_LEN + EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys() 319 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_aka_prime_derive_keys() 320 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': EMSK", emsk, EAP_EMSK_LEN); in eap_aka_prime_derive_keys() 329 u8 keys[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys_reauth() [all …]
|
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_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_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 | 140 emsk, EAP_EMSK_LEN) < 0) in eap_fast_derive_eap_emsk() 143 emsk, EAP_EMSK_LEN); in eap_fast_derive_eap_emsk()
|
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()
|
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()
|
/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() 359 key = os_memdup(data->key_data + EAP_TLS_KEY_LEN, EAP_EMSK_LEN); in eap_tls_get_emsk() 363 *len = EAP_EMSK_LEN; in eap_tls_get_emsk()
|
D | eap_ikev2.c | 25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN]; 471 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk() 473 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk() 474 *len = EAP_EMSK_LEN; in eap_ikev2_get_emsk()
|
D | eap_psk.c | 29 u8 emsk[EAP_EMSK_LEN]; 256 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_process_3() 466 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk() 470 *len = EAP_EMSK_LEN; in eap_psk_get_emsk()
|
D | eap_sake.c | 27 u8 emsk[EAP_EMSK_LEN]; 490 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk() 493 *len = EAP_EMSK_LEN; in eap_sake_get_emsk()
|
D | eap_pax.c | 504 key = os_malloc(EAP_EMSK_LEN); in eap_pax_get_emsk() 508 *len = EAP_EMSK_LEN; in eap_pax_get_emsk() 512 EAP_EMSK_LEN, key) < 0) { in eap_pax_get_emsk()
|
D | eap_gpsk.c | 21 u8 emsk[EAP_EMSK_LEN]; 739 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk() 742 *len = EAP_EMSK_LEN; in eap_gpsk_get_emsk()
|
D | eap_eke.c | 21 u8 emsk[EAP_EMSK_LEN]; 735 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_eke_get_emsk() 738 *len = EAP_EMSK_LEN; in eap_eke_get_emsk()
|