/external/wpa_supplicant_8/src/eap_common/ |
D | eap_sake_common.c | 265 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()
|
D | eap_pwd_common.c | 292 u8 msk_emsk[EAP_MSK_LEN + EAP_EMSK_LEN]; in compute_keys() 337 msk_emsk, (EAP_MSK_LEN + EAP_EMSK_LEN) * 8) < 0) { in compute_keys() 341 os_memcpy(msk, msk_emsk, EAP_MSK_LEN); in compute_keys() 342 os_memcpy(emsk, msk_emsk + EAP_MSK_LEN, EAP_EMSK_LEN); in compute_keys()
|
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_gpsk_common.c | 167 wpa_hexdump_key(MSG_DEBUG, "EAP-GPSK: MSK", pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper() 168 os_memcpy(msk, pos, EAP_MSK_LEN); in eap_gpsk_derive_keys_helper() 169 pos += EAP_MSK_LEN; in eap_gpsk_derive_keys_helper() 195 u8 kdf_out[EAP_MSK_LEN + EAP_EMSK_LEN + EAP_GPSK_SK_LEN_AES + in eap_gpsk_derive_keys_aes() 231 u8 kdf_out[EAP_MSK_LEN + EAP_EMSK_LEN + EAP_GPSK_SK_LEN_SHA256 + in eap_gpsk_derive_keys_sha256()
|
D | eap_sim_common.c | 282 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()
|
D | eap_defs.h | 82 #define EAP_MSK_LEN 64 macro
|
D | eap_eke_common.c | 561 u8 buf[EAP_MSK_LEN + EAP_EMSK_LEN]; in eap_eke_derive_msk() 584 data, data_len, buf, EAP_MSK_LEN + EAP_EMSK_LEN) < in eap_eke_derive_msk() 591 os_memcpy(msk, buf, EAP_MSK_LEN); in eap_eke_derive_msk() 592 os_memcpy(emsk, buf + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_eke_derive_msk() 595 wpa_hexdump_key(MSG_DEBUG, "EAP-EKE: MSK", msk, EAP_MSK_LEN); in eap_eke_derive_msk()
|
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_server/ |
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() 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()
|
D | eap_server_ikev2.c | 25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN]; 483 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey() 485 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey() 486 *len = EAP_MSK_LEN; in eap_ikev2_getKey() 503 os_memcpy(key, data->keymat + EAP_MSK_LEN, EAP_EMSK_LEN); in eap_ikev2_get_emsk()
|
D | eap_server_sake.c | 25 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()
|
D | eap_server_gpsk.c | 21 u8 msk[EAP_MSK_LEN]; 561 key = os_malloc(EAP_MSK_LEN); in eap_gpsk_getKey() 564 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_gpsk_getKey() 565 *len = EAP_MSK_LEN; in eap_gpsk_getKey()
|
D | eap_server_eke.c | 21 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()
|
D | eap_server_pax.c | 498 key = os_malloc(EAP_MSK_LEN); in eap_pax_getKey() 502 *len = EAP_MSK_LEN; in eap_pax_getKey() 505 EAP_MSK_LEN, key); in eap_pax_getKey()
|
D | eap_server_pwd.c | 46 u8 msk[EAP_MSK_LEN]; 965 key = os_malloc(EAP_MSK_LEN); in eap_pwd_getkey() 969 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_pwd_getkey() 970 *len = EAP_MSK_LEN; in eap_pwd_getkey()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_ikev2.c | 25 u8 keymat[EAP_MSK_LEN + EAP_EMSK_LEN]; 450 key = os_malloc(EAP_MSK_LEN); in eap_ikev2_getKey() 452 os_memcpy(key, data->keymat, EAP_MSK_LEN); in eap_ikev2_getKey() 453 *len = EAP_MSK_LEN; in eap_ikev2_getKey() 470 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]; 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()
|
D | eap_sake.c | 26 u8 msk[EAP_MSK_LEN]; 445 key = os_malloc(EAP_MSK_LEN); in eap_sake_getKey() 448 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_sake_getKey() 449 *len = EAP_MSK_LEN; in eap_sake_getKey()
|
D | eap_pax.c | 469 key = os_malloc(EAP_MSK_LEN); in eap_pax_getKey() 473 *len = EAP_MSK_LEN; in eap_pax_getKey() 476 EAP_MSK_LEN, key); in eap_pax_getKey()
|
D | eap_gpsk.c | 20 u8 msk[EAP_MSK_LEN]; 698 key = os_malloc(EAP_MSK_LEN); in eap_gpsk_getKey() 701 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_gpsk_getKey() 702 *len = EAP_MSK_LEN; in eap_gpsk_getKey()
|
D | eap_eke.c | 20 u8 msk[EAP_MSK_LEN]; 674 key = os_malloc(EAP_MSK_LEN); in eap_eke_getKey() 677 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_eke_getKey() 678 *len = EAP_MSK_LEN; in eap_eke_getKey()
|
D | eap_pwd.c | 43 u8 msk[EAP_MSK_LEN]; 171 key = os_malloc(EAP_MSK_LEN); in eap_pwd_getkey() 175 os_memcpy(key, data->msk, EAP_MSK_LEN); in eap_pwd_getkey() 176 *len = EAP_MSK_LEN; in eap_pwd_getkey()
|