Home
last modified time | relevance | path

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

/third_party/wpa_supplicant/wpa_supplicant-2.9/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);
Deap_teap_common.h198 int eap_teap_derive_eap_msk(const u8 *simck, u8 *msk);
199 int eap_teap_derive_eap_emsk(const u8 *simck, u8 *emsk);
Deap_teap_common.c80 int eap_teap_derive_eap_msk(const u8 *simck, u8 *msk) in eap_teap_derive_eap_msk() argument
87 if (eap_teap_tls_prf(simck, EAP_TEAP_SIMCK_LEN, in eap_teap_derive_eap_msk()
97 int eap_teap_derive_eap_emsk(const u8 *simck, u8 *emsk) in eap_teap_derive_eap_emsk() argument
105 if (eap_teap_tls_prf(simck, EAP_TEAP_SIMCK_LEN, in eap_teap_derive_eap_emsk()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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);
Deap_teap_common.h206 int eap_teap_derive_eap_msk(u16 tls_cs, const u8 *simck, u8 *msk);
207 int eap_teap_derive_eap_emsk(u16 tls_cs, const u8 *simck, u8 *emsk);
Deap_teap_common.c86 int eap_teap_derive_eap_msk(u16 tls_cs, const u8 *simck, u8 *msk) in eap_teap_derive_eap_msk() argument
93 if (eap_teap_tls_prf(tls_cs, simck, EAP_TEAP_SIMCK_LEN, in eap_teap_derive_eap_msk()
103 int eap_teap_derive_eap_emsk(u16 tls_cs, const u8 *simck, u8 *emsk) in eap_teap_derive_eap_emsk() argument
111 if (eap_teap_tls_prf(tls_cs, simck, EAP_TEAP_SIMCK_LEN, in eap_teap_derive_eap_emsk()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
1585 if (eap_fast_derive_eap_msk(data->simck, eapKeyData) < 0) { in eap_fast_getKey()
1607 if (eap_fast_derive_eap_emsk(data->simck, eapKeyData) < 0) { in eap_fast_get_emsk()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/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()
733 if (sha1_t_prf(data->simck, EAP_FAST_SIMCK_LEN, in eap_fast_get_cmk()
738 os_memcpy(data->simck, imck, EAP_FAST_SIMCK_LEN); in eap_fast_get_cmk()
740 data->simck, EAP_FAST_SIMCK_LEN); in eap_fast_get_cmk()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/
Dcrypto_module_tests.c1090 const u8 *simck, *cmk; in test_eap_fast() local
1123 simck = imck; in test_eap_fast()
1127 if (sha1_t_prf(simck, 40, "Session Key Generating Function", in test_eap_fast()
1135 if (sha1_t_prf(simck, 40, "Extended Session Key Generating Function", in test_eap_fast()