/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sim_common.h | 81 u8 *emsk); 85 u8 *emsk); 94 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk); 97 const u8 *nonce_s, u8 *msk, u8 *emsk); 112 u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument 120 u8 *emsk) in eap_aka_prime_derive_keys_reauth() argument
|
D | eap_gpsk_common.c | 112 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_helper() argument 173 os_memcpy(emsk, pos, EAP_EMSK_LEN); in eap_gpsk_derive_keys_helper() 191 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys_aes() argument 219 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_aes() 227 u8 *msk, u8 *emsk, in eap_gpsk_derive_keys_sha256() argument 253 msk, emsk, sk, *sk_len, in eap_gpsk_derive_keys_sha256() 284 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len, in eap_gpsk_derive_keys() argument 320 msk, emsk, sk, sk_len, in eap_gpsk_derive_keys() 327 msk, emsk, sk, sk_len); in eap_gpsk_derive_keys()
|
D | eap_sim_common.c | 77 int eap_sim_derive_keys(const u8 *mk, u8 *k_encr, u8 *k_aut, u8 *msk, u8 *emsk) in eap_sim_derive_keys() argument 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() 110 u8 *emsk) in eap_sim_derive_keys_reauth() argument 155 if (emsk) { 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() 277 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument 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() [all …]
|
D | eap_psk_common.c | 35 u8 *emsk) in eap_psk_derive_keys() argument 61 &emsk[i * aes_block_size])) in eap_psk_derive_keys()
|
D | eap_fast_common.c | 130 int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk) in eap_fast_derive_eap_emsk() argument 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_sake_common.c | 261 u8 *emsk) in eap_sake_derive_keys() argument 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_psk_common.h | 70 u8 *msk, u8 *emsk);
|
D | eap_gpsk_common.h | 54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
|
D | eap_fast_common.h | 103 int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
|
D | eap_pwd_common.h | 66 const u32 *ciphersuite, u8 *msk, u8 *emsk, u8 *session_id);
|
D | eap_sake_common.h | 86 u8 *tek, u8 *msk, u8 *emsk);
|
D | eap_eke_common.h | 104 u8 *msk, u8 *emsk);
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tls.c | 352 u8 *eapKeyData, *emsk; in eap_tls_get_emsk() local 366 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 367 if (emsk) in eap_tls_get_emsk() 368 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_tls_get_emsk() 372 emsk = NULL; in eap_tls_get_emsk() 374 if (emsk) { in eap_tls_get_emsk() 377 emsk, EAP_EMSK_LEN); in eap_tls_get_emsk() 382 return emsk; in eap_tls_get_emsk()
|
D | eap_server_ttls.c | 1307 u8 *eapKeyData, *emsk; in eap_ttls_get_emsk() local 1316 emsk = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk() 1317 if (emsk) in eap_ttls_get_emsk() 1318 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_ttls_get_emsk() 1322 emsk = NULL; in eap_ttls_get_emsk() 1324 if (emsk) { in eap_ttls_get_emsk() 1327 emsk, EAP_EMSK_LEN); in eap_ttls_get_emsk() 1332 return emsk; in eap_ttls_get_emsk()
|
D | eap_server_psk.c | 29 u8 emsk[EAP_EMSK_LEN]; member 127 data->emsk)) in eap_psk_build_3() 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()
|
D | eap_server_aka.c | 27 u8 emsk[EAP_EMSK_LEN]; member 558 data->msk, data->emsk); in eap_aka_build_reauth() 561 data->msk, data->emsk); in eap_aka_build_reauth() 564 data->mk, data->msk, data->emsk); in eap_aka_build_reauth() 842 data->k_re, data->msk, data->emsk); in eap_aka_fullauth() 847 data->msk, data->emsk); in eap_aka_fullauth() 1284 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_aka_get_emsk()
|
D | eap_server_sim.c | 25 u8 emsk[EAP_EMSK_LEN]; member 261 data->emsk); in eap_sim_build_reauth() 264 data->msk, data->emsk); in eap_sim_build_reauth() 556 data->emsk); in eap_sim_process_start() 809 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk()
|
D | eap_server_sake.c | 26 u8 emsk[EAP_EMSK_LEN]; member 346 (u8 *) &data->tek, data->msk, data->emsk); in eap_sake_process_challenge() 479 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk()
|
D | eap_server_peap.c | 1354 u8 *eapKeyData, *emsk; in eap_peap_get_emsk() local 1369 emsk = os_memdup(eapKeyData + EAP_TLS_KEY_LEN, EAP_EMSK_LEN); in eap_peap_get_emsk() 1371 if (!emsk) in eap_peap_get_emsk() 1375 emsk, EAP_EMSK_LEN); in eap_peap_get_emsk() 1378 emsk = NULL; in eap_peap_get_emsk() 1381 return emsk; in eap_peap_get_emsk()
|
D | eap_server_gpsk.c | 22 u8 emsk[EAP_EMSK_LEN]; member 413 data->msk, data->emsk, in eap_gpsk_process_gpsk_2() 594 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_psk.c | 29 u8 emsk[EAP_EMSK_LEN]; member 249 data->msk, data->emsk)) { in eap_psk_process_3() 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()
|
D | eap_sake.c | 27 u8 emsk[EAP_EMSK_LEN]; member 240 (u8 *) &data->tek, data->msk, data->emsk); in eap_sake_process_challenge() 490 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk()
|
D | eap_aka.c | 31 u8 emsk[EAP_EMSK_LEN]; member 156 os_memset(data->emsk, 0, EAP_EMSK_LEN); in eap_aka_clear_keys() 1059 data->k_re, data->msk, data->emsk); in eap_aka_process_challenge() 1064 data->msk, data->emsk); in eap_aka_process_challenge() 1299 data->msk, data->emsk); in eap_aka_process_reauthentication() 1304 data->msk, data->emsk); in eap_aka_process_reauthentication() 1533 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_aka_get_emsk()
|
D | eap_sim.c | 33 u8 emsk[EAP_EMSK_LEN]; member 159 os_memset(data->emsk, 0, EAP_EMSK_LEN); in eap_sim_clear_keys() 803 data->emsk); in eap_sim_process_challenge() 1029 data->emsk); in eap_sim_process_reauthentication() 1253 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk()
|
D | eap_gpsk.c | 21 u8 emsk[EAP_EMSK_LEN]; member 369 data->msk, data->emsk, in eap_gpsk_send_gpsk_2() 739 key = os_memdup(data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk()
|