Home
last modified time | relevance | path

Searched refs:simck (Results 1 – 5 of 5) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_fast_common.c113 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()
Deap_fast_common.h102 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/
Deap_server_fast.c49 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/
Deap_fast.c66 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/
Dcrypto_module_tests.c941 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()