Home
last modified time | relevance | path

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

12

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_common/
Deap_sake_common.c271 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys()
304 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
305 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
306 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_LEN); in eap_sake_derive_keys()
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_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_pwd_common.c338 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN]; in compute_keys()
381 msk_emsk, (EAP_MSK_LEN + EAP_EMSK_LEN) * 8) < 0) { in compute_keys()
385 os_memcpy(msk, msk_emsk, EAP_MSK_LEN); in compute_keys()
386 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
Deap_sim_common.c285 EAP_AKA_PRIME_K_RE_LEN + EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys()
319 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
320 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
321 pos += EAP_MSK_LEN; in eap_aka_prime_derive_keys()
333 u8 keys[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys_reauth()
350 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys_reauth()
351 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys_reauth()
352 pos += EAP_MSK_LEN; in eap_aka_prime_derive_keys_reauth()
Deap_eke_common.c531 u8 buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_eke_derive_msk()
554 data, data_len, buf, EAP_MSK_LEN + EAP_EMSK_LEN) < in eap_eke_derive_msk()
561 os_memcpy(msk, buf, EAP_MSK_LEN); in eap_eke_derive_msk()
562 os_memcpy(emsk, buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_eke_derive_msk()
565 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: MSK", msk, EAP_MSK_LEN); in eap_eke_derive_msk()
Deap_defs.h114 #define EAP_MSK_LEN 64 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_common/
Deap_sake_common.c271 u8 key_buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_sake_derive_keys()
304 os_memcpy(msk, key_buf, EAP_MSK_LEN); in eap_sake_derive_keys()
305 os_memcpy(emsk, key_buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_sake_derive_keys()
306 wpa_hexdump_key(MSG_DEBUG, "EAP-SAKE: MSK", msk, EAP_MSK_LEN); in eap_sake_derive_keys()
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_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_pwd_common.c338 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN]; in compute_keys()
381 msk_emsk, (EAP_MSK_LEN + EAP_EMSK_LEN) * 8) < 0) { in compute_keys()
385 os_memcpy(msk, msk_emsk, EAP_MSK_LEN); in compute_keys()
386 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
Deap_sim_common.c281 EAP_AKA_PRIME_K_RE_LEN + EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys()
315 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
316 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys()
317 pos += EAP_MSK_LEN; in eap_aka_prime_derive_keys()
329 u8 keys[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_aka_prime_derive_keys_reauth()
346 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_aka_prime_derive_keys_reauth()
347 wpa_hexdump_key(MSG_DEBUG, "EAP-AKA': MSK", msk, EAP_MSK_LEN); in eap_aka_prime_derive_keys_reauth()
348 pos += EAP_MSK_LEN; in eap_aka_prime_derive_keys_reauth()
Deap_eke_common.c531 u8 buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_eke_derive_msk()
554 data, data_len, buf, EAP_MSK_LEN + EAP_EMSK_LEN) < in eap_eke_derive_msk()
561 os_memcpy(msk, buf, EAP_MSK_LEN); in eap_eke_derive_msk()
562 os_memcpy(emsk, buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_eke_derive_msk()
565 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: MSK", msk, EAP_MSK_LEN); in eap_eke_derive_msk()
Deap_defs.h114 #define EAP_MSK_LEN 64 macro
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
453 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey()
455 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey()
456 *len = EAP_MSK_LEN; in eap_ikev2_getKey()
473 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
Deap_psk.c28 u8 msk[EAP_MSK_LEN];
255 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3()
426 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_psk_getKey()
430 *len = EAP_MSK_LEN; in eap_psk_getKey()
Deap_sake.c26 u8 msk[EAP_MSK_LEN];
455 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_sake_getKey()
458 *len = EAP_MSK_LEN; in eap_sake_getKey()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
453 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey()
455 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey()
456 *len = EAP_MSK_LEN; in eap_ikev2_getKey()
473 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
Deap_psk.c28 u8 msk[EAP_MSK_LEN];
255 wpa_hexdump_key(MSG_DEBUG, "EAP-PSK: MSK", data->msk, EAP_MSK_LEN); in eap_psk_process_3()
426 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_psk_getKey()
430 *len = EAP_MSK_LEN; in eap_psk_getKey()
Deap_sake.c26 u8 msk[EAP_MSK_LEN];
455 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_sake_getKey()
458 *len = EAP_MSK_LEN; in eap_sake_getKey()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_server/
Deap_server_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
491 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey()
493 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey()
494 *len = EAP_MSK_LEN; in eap_ikev2_getKey()
511 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()
451 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_psk_getKey()
454 *len = EAP_MSK_LEN; in eap_psk_getKey()
Deap_server_sake.c25 u8 msk[EAP_MSK_LEN];
474 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_sake_getKey()
477 *len = EAP_MSK_LEN; in eap_sake_getKey()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_server/
Deap_server_ikev2.c25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN];
491 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey()
493 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey()
494 *len = EAP_MSK_LEN; in eap_ikev2_getKey()
511 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()
451 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_psk_getKey()
454 *len = EAP_MSK_LEN; in eap_psk_getKey()

12