Home
last modified time | relevance | path

Searched refs:emsk (Results 1 – 25 of 36) sorted by relevance

12

/external/wpa_supplicant_8/src/eap_common/
Deap_sim_common.h81 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
Deap_gpsk_common.c112 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()
Deap_sim_common.c77 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()
278 u8 *k_aut, u8 *k_re, u8 *msk, u8 *emsk) in eap_aka_prime_derive_keys() argument
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()
[all …]
Deap_psk_common.c35 u8 *emsk) in eap_psk_derive_keys() argument
61 &emsk[i * aes_block_size])) in eap_psk_derive_keys()
Deap_fast_common.c131 int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk) in eap_fast_derive_eap_emsk() argument
141 emsk, EAP_EMSK_LEN) < 0) in eap_fast_derive_eap_emsk()
144 emsk, EAP_EMSK_LEN); in eap_fast_derive_eap_emsk()
Deap_sake_common.c261 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()
Deap_psk_common.h70 u8 *msk, u8 *emsk);
Deap_gpsk_common.h54 u8 *msk, u8 *emsk, u8 *sk, size_t *sk_len,
Deap_pwd_common.h67 const u32 *ciphersuite, u8 *msk, u8 *emsk, u8 *session_id);
Deap_fast_common.h103 int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
Deap_sake_common.h86 u8 *tek, u8 *msk, u8 *emsk);
Deap_pwd_common.c310 const u32 *ciphersuite, u8 *msk, u8 *emsk, u8 *session_id) in compute_keys() argument
364 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
Deap_eke_common.h104 u8 *msk, u8 *emsk);
/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c327 u8 *eapKeyData, *emsk; in eap_tls_get_emsk() local
336 emsk = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk()
337 if (emsk) in eap_tls_get_emsk()
338 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_tls_get_emsk()
342 emsk = NULL; in eap_tls_get_emsk()
344 if (emsk) { in eap_tls_get_emsk()
347 emsk, EAP_EMSK_LEN); in eap_tls_get_emsk()
352 return emsk; in eap_tls_get_emsk()
Deap_server_ttls.c1306 u8 *eapKeyData, *emsk; in eap_ttls_get_emsk() local
1315 emsk = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk()
1316 if (emsk) in eap_ttls_get_emsk()
1317 os_memcpy(emsk, eapKeyData + EAP_TLS_KEY_LEN, in eap_ttls_get_emsk()
1321 emsk = NULL; in eap_ttls_get_emsk()
1323 if (emsk) { in eap_ttls_get_emsk()
1326 emsk, EAP_EMSK_LEN); in eap_ttls_get_emsk()
1331 return emsk; in eap_ttls_get_emsk()
Deap_server_psk.c29 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()
474 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk()
Deap_server_aka.c27 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()
838 data->k_re, data->msk, data->emsk); in eap_aka_fullauth()
843 data->msk, data->emsk); in eap_aka_fullauth()
1284 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_aka_get_emsk()
Deap_server_sim.c25 u8 emsk[EAP_EMSK_LEN]; member
261 data->emsk); in eap_sim_build_reauth()
264 data->msk, data->emsk); in eap_sim_build_reauth()
553 data->emsk); in eap_sim_process_start()
810 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk()
Deap_server_sake.c26 u8 emsk[EAP_EMSK_LEN]; member
347 (u8 *) &data->tek, data->msk, data->emsk); in eap_sake_process_challenge()
484 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk()
Deap_server_gpsk.c22 u8 emsk[EAP_EMSK_LEN]; member
414 data->msk, data->emsk, in eap_gpsk_process_gpsk_2()
599 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk()
/external/wpa_supplicant_8/src/eap_peer/
Deap_psk.c29 u8 emsk[EAP_EMSK_LEN]; member
250 data->msk, data->emsk)) { in eap_psk_process_3()
257 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_process_3()
474 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk()
Deap_sake.c27 u8 emsk[EAP_EMSK_LEN]; member
242 (u8 *) &data->tek, data->msk, data->emsk); in eap_sake_process_challenge()
487 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk()
Deap_aka.c31 u8 emsk[EAP_EMSK_LEN]; member
138 os_memset(data->emsk, 0, EAP_EMSK_LEN); in eap_aka_clear_keys()
1007 data->k_re, data->msk, data->emsk); in eap_aka_process_challenge()
1012 data->msk, data->emsk); in eap_aka_process_challenge()
1246 data->msk, data->emsk); in eap_aka_process_reauthentication()
1251 data->msk, data->emsk); in eap_aka_process_reauthentication()
1486 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_aka_get_emsk()
Deap_sim.c33 u8 emsk[EAP_EMSK_LEN]; member
143 os_memset(data->emsk, 0, EAP_EMSK_LEN); in eap_sim_clear_keys()
776 data->emsk); in eap_sim_process_challenge()
1001 data->emsk); in eap_sim_process_reauthentication()
1231 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk()
Deap_gpsk.c21 u8 emsk[EAP_EMSK_LEN]; member
372 data->msk, data->emsk, in eap_gpsk_send_gpsk_2()
746 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk()

12