/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_tls.c | 344 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_getKey() 349 os_memset(eapKeyData + EAP_TLS_KEY_LEN, 0, EAP_EMSK_LEN); in eap_tls_getKey() 379 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk() 381 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 384 EAP_EMSK_LEN); in eap_tls_get_emsk() 385 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk() 390 *len = EAP_EMSK_LEN; in eap_tls_get_emsk() 392 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_tls.c | 376 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_getKey() 381 os_memset(eapKeyData + EAP_TLS_KEY_LEN, 0, EAP_EMSK_LEN); in eap_tls_getKey() 411 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk() 413 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 416 EAP_EMSK_LEN); in eap_tls_get_emsk() 417 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_get_emsk() 422 *len = EAP_EMSK_LEN; in eap_tls_get_emsk() 424 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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_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 | 271 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() 305 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys() 307 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: EMSK", emsk, EAP_EMSK_LEN); in eap_sake_derive_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_defs.h | 115 #define EAP_EMSK_LEN 64 macro
|
D | eap_pwd_common.c | 338 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN]; in compute_keys() 381 msk_emsk, (EAP_MSK_LEN + EAP_EMSK_LEN) * 8) < 0) { in compute_keys() 386 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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_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 | 271 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys() 305 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys() 307 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: EMSK", emsk, EAP_EMSK_LEN); in eap_sake_derive_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_defs.h | 115 #define EAP_EMSK_LEN 64 macro
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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() 208 EAP_EMSK_LEN); in eap_tls_success() 214 EAP_EMSK_LEN); in eap_tls_success() 394 key = os_memdup(data->key_data + EAP_TLS_KEY_LEN, EAP_EMSK_LEN); in eap_tls_get_emsk() 398 *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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
D | eap_tls.c | 138 bin_clear_free(data->key_data, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_tls_free_key() 214 EAP_EMSK_LEN); in eap_tls_success() 220 EAP_EMSK_LEN); in eap_tls_success() 396 key = os_memdup(data->key_data + EAP_TLS_KEY_LEN, EAP_EMSK_LEN); in eap_tls_get_emsk() 400 *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()
|