Searched refs:simck (Results 1 – 5 of 5) sorted by relevance
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 113 int eap_fast_derive_eap_msk(const u8 *simck, u8 *msk) in eap_fast_derive_eap_msk() argument 120 if (sha1_t_prf(simck, EAP_FAST_SIMCK_LEN, in eap_fast_derive_eap_msk() 130 int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk) in eap_fast_derive_eap_emsk() argument 138 if (sha1_t_prf(simck, EAP_FAST_SIMCK_LEN, in eap_fast_derive_eap_emsk()
|
D | eap_fast_common.h | 102 int eap_fast_derive_eap_msk(const u8 *simck, u8 *msk); 103 int eap_fast_derive_eap_emsk(const u8 *simck, u8 *emsk);
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_fast.c | 49 u8 simck[EAP_FAST_SIMCK_LEN]; member 297 os_memcpy(data->simck, sks, EAP_FAST_SIMCK_LEN); in eap_fast_derive_key_auth() 322 os_memcpy(data->simck, data->key_block_p->session_key_seed, in eap_fast_derive_key_provisioning() 396 sha1_t_prf(data->simck, EAP_FAST_SIMCK_LEN, in eap_fast_update_icmk() 400 os_memcpy(data->simck, imck, EAP_FAST_SIMCK_LEN); in eap_fast_update_icmk() 402 data->simck, EAP_FAST_SIMCK_LEN); in eap_fast_update_icmk() 1567 if (eap_fast_derive_eap_msk(data->simck, eapKeyData) < 0) { in eap_fast_getKey() 1589 if (eap_fast_derive_eap_emsk(data->simck, eapKeyData) < 0) { in eap_fast_get_emsk()
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_fast.c | 66 u8 simck[EAP_FAST_SIMCK_LEN]; member 261 if (eap_fast_derive_eap_msk(data->simck, data->key_data) < 0 || in eap_fast_derive_msk() 262 eap_fast_derive_eap_emsk(data->simck, data->emsk) < 0) in eap_fast_derive_msk() 294 os_memcpy(data->simck, sks, EAP_FAST_SIMCK_LEN); in eap_fast_derive_key_auth() 320 os_memcpy(data->simck, data->key_block_p->session_key_seed, in eap_fast_derive_key_provisioning() 713 if (sha1_t_prf(data->simck, EAP_FAST_SIMCK_LEN, in eap_fast_get_cmk() 718 os_memcpy(data->simck, imck, EAP_FAST_SIMCK_LEN); in eap_fast_get_cmk() 720 data->simck, EAP_FAST_SIMCK_LEN); in eap_fast_get_cmk()
|
/external/wpa_supplicant_8/src/crypto/ |
D | crypto_module_tests.c | 941 const u8 *simck, *cmk; in test_eap_fast() local 974 simck = imck; in test_eap_fast() 978 if (sha1_t_prf(simck, 40, "Session Key Generating Function", in test_eap_fast() 986 if (sha1_t_prf(simck, 40, "Extended Session Key Generating Function", in test_eap_fast()
|