Home
last modified time | relevance | path

Searched refs:EAP_MSK_LEN (Results 1 – 23 of 23) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_sake_common.c265 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys()
294 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
295 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
296 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_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()
363 os_memcpy(msk, msk_emsk, EAP_MSK_LEN); in compute_keys()
364 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
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.c168 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: MSK", pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper()
169 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper()
170 pos += EAP_MSK_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_sim_common.c282 EAP_AKA_PRIME_K_RE_LEN + EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys()
316 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
317 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
318 pos += EAP_MSK_LEN; in eap_aka_prime_derive_keys()
330 u8 keys[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys_reauth()
347 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys_reauth()
348 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys_reauth()
349 pos += EAP_MSK_LEN; in eap_aka_prime_derive_keys_reauth()
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()
583 os_memcpy(msk, buf, EAP_MSK_LEN); in eap_eke_derive_msk()
584 os_memcpy(emsk, buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_eke_derive_msk()
587 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: MSK", msk, EAP_MSK_LEN); in eap_eke_derive_msk()
Deap_defs.h113 #define EAP_MSK_LEN 64 macro
Deap_psk_common.c50 for (i = 0; i < EAP_MSK_LEN / aes_block_size; i++) { in eap_psk_derive_keys()
/external/wpa_supplicant_8/src/eap_peer/
Deap_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
455 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey()
457 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey()
458 *len = EAP_MSK_LEN; in eap_ikev2_getKey()
475 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
Deap_psk.c28 u8 msk[EAP_MSK_LEN];
256 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3()
428 key = os_malloc(EAP_MSK_LEN); in eap_psk_getKey()
432 *len = EAP_MSK_LEN; in eap_psk_getKey()
433 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
Deap_sake.c26 u8 msk[EAP_MSK_LEN];
453 key = os_malloc(EAP_MSK_LEN); in eap_sake_getKey()
456 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_sake_getKey()
457 *len = EAP_MSK_LEN; in eap_sake_getKey()
Deap_gpsk.c20 u8 msk[EAP_MSK_LEN];
725 key = os_malloc(EAP_MSK_LEN); in eap_gpsk_getKey()
728 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_gpsk_getKey()
729 *len = EAP_MSK_LEN; in eap_gpsk_getKey()
Deap_pax.c480 key = os_malloc(EAP_MSK_LEN); in eap_pax_getKey()
484 *len = EAP_MSK_LEN; in eap_pax_getKey()
488 EAP_MSK_LEN, key) < 0) { in eap_pax_getKey()
Deap_eke.c20 u8 msk[EAP_MSK_LEN];
720 key = os_malloc(EAP_MSK_LEN); in eap_eke_getKey()
723 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_eke_getKey()
724 *len = EAP_MSK_LEN; in eap_eke_getKey()
Deap_pwd.c46 u8 msk[EAP_MSK_LEN];
186 key = os_malloc(EAP_MSK_LEN); in eap_pwd_getkey()
190 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_pwd_getkey()
191 *len = EAP_MSK_LEN; in eap_pwd_getkey()
/external/wpa_supplicant_8/src/eap_server/
Deap_server_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
492 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey()
494 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey()
495 *len = EAP_MSK_LEN; in eap_ikev2_getKey()
512 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
Deap_server_psk.c28 u8 msk[EAP_MSK_LEN];
130 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_build_3()
453 key = os_malloc(EAP_MSK_LEN); in eap_psk_getKey()
456 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_psk_getKey()
457 *len = EAP_MSK_LEN; in eap_psk_getKey()
Deap_server_sake.c25 u8 msk[EAP_MSK_LEN];
463 key = os_malloc(EAP_MSK_LEN); in eap_sake_getKey()
466 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_sake_getKey()
467 *len = EAP_MSK_LEN; in eap_sake_getKey()
Deap_server_gpsk.c21 u8 msk[EAP_MSK_LEN];
578 key = os_malloc(EAP_MSK_LEN); in eap_gpsk_getKey()
581 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_gpsk_getKey()
582 *len = EAP_MSK_LEN; in eap_gpsk_getKey()
Deap_server_eke.c21 u8 msk[EAP_MSK_LEN];
734 key = os_malloc(EAP_MSK_LEN); in eap_eke_getKey()
737 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_eke_getKey()
738 *len = EAP_MSK_LEN; in eap_eke_getKey()
Deap_server_pax.c503 key = os_malloc(EAP_MSK_LEN); in eap_pax_getKey()
507 *len = EAP_MSK_LEN; in eap_pax_getKey()
510 EAP_MSK_LEN, key); in eap_pax_getKey()
Deap_server_pwd.c48 u8 msk[EAP_MSK_LEN];
1038 key = os_malloc(EAP_MSK_LEN); in eap_pwd_getkey()
1042 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_pwd_getkey()
1043 *len = EAP_MSK_LEN; in eap_pwd_getkey()
/external/wpa_supplicant_8/wpa_supplicant/
Dwpas_kay.c288 u8 key[EAP_MSK_LEN]; in ieee802_1x_auth_get_msk()
297 keylen = EAP_MSK_LEN; in ieee802_1x_auth_get_msk()