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_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()
471 key = os_malloc(EAP_EMSK_LEN); in eap_psk_get_emsk()
474 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk()
475 *len = EAP_EMSK_LEN; in eap_psk_get_emsk()
Deap_server_sake.c26 u8 emsk[EAP_EMSK_LEN];
481 key = os_malloc(EAP_EMSK_LEN); in eap_sake_get_emsk()
484 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk()
485 *len = EAP_EMSK_LEN; in eap_sake_get_emsk()
Deap_server_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
510 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk()
512 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
513 *len = EAP_EMSK_LEN; in eap_ikev2_get_emsk()
Deap_server_gpsk.c22 u8 emsk[EAP_EMSK_LEN];
596 key = os_malloc(EAP_EMSK_LEN); in eap_gpsk_get_emsk()
599 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk()
600 *len = EAP_EMSK_LEN; in eap_gpsk_get_emsk()
Deap_server_ttls.c1313 EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_ttls_get_emsk()
1315 emsk = os_malloc(EAP_EMSK_LEN); in eap_ttls_get_emsk()
1318 EAP_EMSK_LEN); in eap_ttls_get_emsk()
1319 bin_clear_free(eapKeyData, EAP_TLS_KEY_LEN + EAP_EMSK_LEN); in eap_ttls_get_emsk()
1324 *len = EAP_EMSK_LEN; in eap_ttls_get_emsk()
1326 emsk, EAP_EMSK_LEN); in eap_ttls_get_emsk()
Deap_server_sim.c25 u8 emsk[EAP_EMSK_LEN];
807 key = os_malloc(EAP_EMSK_LEN); in eap_sim_get_emsk()
810 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sim_get_emsk()
811 *len = EAP_EMSK_LEN; in eap_sim_get_emsk()
Deap_server_eke.c22 u8 emsk[EAP_EMSK_LEN];
752 key = os_malloc(EAP_EMSK_LEN); in eap_eke_get_emsk()
755 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_eke_get_emsk()
756 *len = EAP_EMSK_LEN; in eap_eke_get_emsk()
Deap_server_pax.c524 key = os_malloc(EAP_EMSK_LEN); in eap_pax_get_emsk()
528 *len = EAP_EMSK_LEN; in eap_pax_get_emsk()
532 EAP_EMSK_LEN, key); in eap_pax_get_emsk()
/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()
360 key = os_malloc(EAP_EMSK_LEN); in eap_tls_get_emsk()
364 *len = EAP_EMSK_LEN; in eap_tls_get_emsk()
365 os_memcpy(key, data->key_data + EAP_TLS_KEY_LEN, EAP_EMSK_LEN); in eap_tls_get_emsk()
Deap_psk.c29 u8 emsk[EAP_EMSK_LEN];
257 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: EMSK", data->emsk, EAP_EMSK_LEN); in eap_psk_process_3()
469 key = os_malloc(EAP_EMSK_LEN); in eap_psk_get_emsk()
473 *len = EAP_EMSK_LEN; in eap_psk_get_emsk()
474 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_psk_get_emsk()
Deap_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
473 key = os_malloc(EAP_EMSK_LEN); in eap_ikev2_get_emsk()
475 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
476 *len = EAP_EMSK_LEN; in eap_ikev2_get_emsk()
Deap_sake.c27 u8 emsk[EAP_EMSK_LEN];
484 key = os_malloc(EAP_EMSK_LEN); in eap_sake_get_emsk()
487 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_sake_get_emsk()
488 *len = EAP_EMSK_LEN; in eap_sake_get_emsk()
Deap_gpsk.c21 u8 emsk[EAP_EMSK_LEN];
743 key = os_malloc(EAP_EMSK_LEN); in eap_gpsk_get_emsk()
746 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_gpsk_get_emsk()
747 *len = EAP_EMSK_LEN; in eap_gpsk_get_emsk()
Deap_pax.c498 key = os_malloc(EAP_EMSK_LEN); in eap_pax_get_emsk()
502 *len = EAP_EMSK_LEN; in eap_pax_get_emsk()
506 EAP_EMSK_LEN, key) < 0) { in eap_pax_get_emsk()
Deap_eke.c21 u8 emsk[EAP_EMSK_LEN];
738 key = os_malloc(EAP_EMSK_LEN); in eap_eke_get_emsk()
741 os_memcpy(key, data->emsk, EAP_EMSK_LEN); in eap_eke_get_emsk()
742 *len = EAP_EMSK_LEN; in eap_eke_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()
282 EAP_AKA_PRIME_K_RE_LEN + EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys()
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()
330 u8 keys[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys_reauth()
[all …]
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_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_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.c141 emsk, EAP_EMSK_LEN) < 0) in eap_fast_derive_eap_emsk()
144 emsk, EAP_EMSK_LEN); in eap_fast_derive_eap_emsk()
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()
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()

12