/external/wpa_supplicant_8/src/eap_common/ |
D | eap_ikev2_common.c | 38 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()
|
D | eap_sake_common.c | 271 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()
|
D | eap_gpsk_common.c | 168 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()
|
D | eap_pwd_common.c | 312 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN]; in compute_keys() 355 msk_emsk, (EAP_MSK_LEN + EAP_EMSK_LEN) * 8) < 0) { in compute_keys() 359 os_memcpy(msk, msk_emsk, EAP_MSK_LEN); in compute_keys() 360 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
|
D | eap_sim_common.c | 281 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()
|
D | eap_eke_common.c | 531 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()
|
D | eap_defs.h | 114 #define EAP_MSK_LEN 64 macro
|
D | eap_psk_common.c | 50 for (i = 0; i < EAP_MSK_LEN / aes_block_size; i++) { in eap_psk_derive_keys()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_ikev2.c | 25 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()
|
D | eap_psk.c | 28 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()
|
D | eap_sake.c | 26 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()
|
D | eap_pax.c | 479 key = os_malloc(EAP_MSK_LEN); in eap_pax_getKey() 483 *len = EAP_MSK_LEN; in eap_pax_getKey() 487 EAP_MSK_LEN, key) < 0) { in eap_pax_getKey()
|
D | eap_gpsk.c | 20 u8 msk[EAP_MSK_LEN]; 722 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_gpsk_getKey() 725 *len = EAP_MSK_LEN; in eap_gpsk_getKey()
|
D | eap_eke.c | 20 u8 msk[EAP_MSK_LEN]; 718 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_eke_getKey() 721 *len = EAP_MSK_LEN; in eap_eke_getKey()
|
D | eap_pwd.c | 52 u8 msk[EAP_MSK_LEN]; 211 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_pwd_getkey() 215 *len = EAP_MSK_LEN; in eap_pwd_getkey()
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_ikev2.c | 25 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()
|
D | eap_server_psk.c | 28 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()
|
D | eap_server_sake.c | 25 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()
|
D | eap_server_gpsk.c | 21 u8 msk[EAP_MSK_LEN]; 578 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_gpsk_getKey() 581 *len = EAP_MSK_LEN; in eap_gpsk_getKey()
|
D | eap_server_pax.c | 531 key = os_malloc(EAP_MSK_LEN); in eap_pax_getKey() 535 *len = EAP_MSK_LEN; in eap_pax_getKey() 538 EAP_MSK_LEN, key); in eap_pax_getKey()
|
D | eap_server_eke.c | 21 u8 msk[EAP_MSK_LEN]; 734 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_eke_getKey() 737 *len = EAP_MSK_LEN; in eap_eke_getKey()
|
D | eap_server_pwd.c | 52 u8 msk[EAP_MSK_LEN]; 978 key = os_memdup(data->msk, EAP_MSK_LEN); in eap_pwd_getkey() 982 *len = EAP_MSK_LEN; in eap_pwd_getkey()
|
/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpas_kay.c | 295 u8 key[EAP_MSK_LEN]; in ieee802_1x_auth_get_msk() 304 keylen = EAP_MSK_LEN; in ieee802_1x_auth_get_msk()
|