Home
last modified time | relevance | path

Searched refs:EAP_EMSK_LEN (Results 1 – 25 of 33) sorted by relevance

12

/external/wpa_supplicant_8/src/eap_server/
Deap_server_tls.c334 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()
Deap_server_ikev2.c25 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()
Deap_server_psk.c29 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()
Deap_server_sake.c26 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()
Deap_server_ttls.c1314 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()
Deap_server_pax.c523 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()
Deap_server_gpsk.c22 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()
Deap_server_eke.c22 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()
Deap_server_sim.c25 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/
Deap_sim_common.c80 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 …]
Deap_gpsk_common.c172 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()
Deap_ikev2_common.c38 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()
Deap_sake_common.c265 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()
Deap_pwd_common.c314 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()
Deap_fast_common.c140 emsk, EAP_EMSK_LEN) < 0) in eap_fast_derive_eap_emsk()
143 emsk, EAP_EMSK_LEN); in eap_fast_derive_eap_emsk()
Deap_eke_common.c553 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()
Deap_defs.h114 #define EAP_EMSK_LEN 64 macro
Deap_psk_common.c58 for (i = 0; i < EAP_EMSK_LEN / aes_block_size; i++) { in eap_psk_derive_keys()
/external/wpa_supplicant_8/src/eap_peer/
Deap_tls.c132 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()
Deap_ikev2.c25 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()
Deap_psk.c29 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()
Deap_sake.c27 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()
Deap_pax.c504 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()
Deap_gpsk.c21 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()
Deap_eke.c21 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()

12