/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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_teap_common.c | 103 int eap_teap_derive_eap_emsk(u16 tls_cs, const u8 *simck, u8 *emsk) in eap_teap_derive_eap_emsk() argument 113 (u8 *) "", 0, emsk, EAP_EMSK_LEN) < 0) in eap_teap_derive_eap_emsk() 116 emsk, EAP_EMSK_LEN); in eap_teap_derive_eap_emsk() 148 const u8 *emsk, size_t emsk_len, in eap_teap_derive_imck() argument 172 wpa_hexdump_key(MSG_DEBUG, "EAP-TEAP: EMSK[j]", emsk, emsk_len); in eap_teap_derive_imck() 174 if (emsk && emsk_len > 0) { in eap_teap_derive_imck() 180 if (eap_teap_tls_prf(tls_cs, emsk, emsk_len, in eap_teap_derive_imck()
|
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 | 267 u8 *emsk) in eap_sake_derive_keys() argument 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_teap_common.h | 207 int eap_teap_derive_eap_emsk(u16 tls_cs, const u8 *simck, u8 *emsk); 213 const u8 *emsk, size_t emsk_len,
|
D | eap_psk_common.h | 70 u8 *msk, u8 *emsk);
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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_teap_common.c | 97 int eap_teap_derive_eap_emsk(const u8 *simck, u8 *emsk) in eap_teap_derive_eap_emsk() argument 107 (u8 *) "", 0, emsk, EAP_EMSK_LEN) < 0) in eap_teap_derive_eap_emsk() 110 emsk, EAP_EMSK_LEN); in eap_teap_derive_eap_emsk() 141 const u8 *emsk, size_t emsk_len, in eap_teap_derive_imck() argument 165 wpa_hexdump_key(MSG_DEBUG, "EAP-TEAP: EMSK[j]", emsk, emsk_len); in eap_teap_derive_imck() 167 if (emsk && emsk_len > 0) { in eap_teap_derive_imck() 173 if (eap_teap_tls_prf(emsk, emsk_len, "TEAPbindkey@ietf.org", in eap_teap_derive_imck()
|
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 | 267 u8 *emsk) in eap_sake_derive_keys() argument 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_teap_common.h | 199 int eap_teap_derive_eap_emsk(const u8 *simck, u8 *emsk); 203 const u8 *emsk, size_t emsk_len,
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/ |
D | eap_server_tls.c | 361 u8 *eapKeyData, *emsk; in eap_tls_get_emsk() local 381 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 382 if (emsk) in eap_tls_get_emsk() 383 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_tls_get_emsk() 387 emsk = NULL; in eap_tls_get_emsk() 389 if (emsk) { in eap_tls_get_emsk() 392 emsk, EAP_EMSK_LEN); in eap_tls_get_emsk() 397 return emsk; in eap_tls_get_emsk()
|
D | eap_server_ttls.c | 1327 u8 *eapKeyData, *emsk; in eap_ttls_get_emsk() local 1348 emsk = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk() 1349 if (emsk) in eap_ttls_get_emsk() 1350 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_ttls_get_emsk() 1354 emsk = NULL; in eap_ttls_get_emsk() 1356 if (emsk) { in eap_ttls_get_emsk() 1359 emsk, EAP_EMSK_LEN); in eap_ttls_get_emsk() 1364 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/ |
D | eap_server_tls.c | 393 u8 *eapKeyData, *emsk; in eap_tls_get_emsk() local 413 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk() 414 if (emsk) in eap_tls_get_emsk() 415 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_tls_get_emsk() 419 emsk = NULL; in eap_tls_get_emsk() 421 if (emsk) { in eap_tls_get_emsk() 424 emsk, EAP_EMSK_LEN); in eap_tls_get_emsk() 429 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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
|