Home
last modified time | relevance | path

Searched refs:tls_cs (Results 1 – 4 of 4) sorted by relevance

/external/wpa_supplicant_8/src/eap_common/
Deap_teap_common.c73 static int eap_teap_tls_prf(u16 tls_cs, const u8 *secret, size_t secret_len, in eap_teap_tls_prf() argument
78 if (tls_cipher_suite_mac_sha384(tls_cs)) in eap_teap_tls_prf()
86 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()
121 int eap_teap_derive_cmk_basic_pw_auth(u16 tls_cs, const u8 *s_imck_msk, u8 *cmk) in eap_teap_derive_cmk_basic_pw_auth() argument
132 res = eap_teap_tls_prf(tls_cs, s_imck_msk, EAP_TEAP_SIMCK_LEN, in eap_teap_derive_cmk_basic_pw_auth()
145 int eap_teap_derive_imck(u16 tls_cs, in eap_teap_derive_imck() argument
180 if (eap_teap_tls_prf(tls_cs, emsk, emsk_len, in eap_teap_derive_imck()
[all …]
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);
208 int eap_teap_derive_cmk_basic_pw_auth(u16 tls_cs, const u8 *s_imck_msk,
210 int eap_teap_derive_imck(u16 tls_cs,
216 int eap_teap_compound_mac(u16 tls_cs, const struct teap_tlv_crypto_binding *cb,
/external/wpa_supplicant_8/src/eap_server/
Deap_server_teap.c39 u16 tls_cs; member
318 return eap_teap_derive_cmk_basic_pw_auth(data->tls_cs, in eap_teap_update_icmk()
342 res = eap_teap_derive_imck(data->tls_cs, in eap_teap_update_icmk()
520 data->tls_cs = tls_connection_get_cipher_suite(data->ssl.conn); in eap_teap_phase1_done()
522 data->tls_cs); in eap_teap_phase1_done()
682 if (eap_teap_compound_mac(data->tls_cs, cb, data->server_outer_tlvs, in eap_teap_build_crypto_binding()
690 eap_teap_compound_mac(data->tls_cs, cb, data->server_outer_tlvs, in eap_teap_build_crypto_binding()
1436 if (eap_teap_compound_mac(data->tls_cs, cb, in eap_teap_validate_crypto_binding()
1458 if (eap_teap_compound_mac(data->tls_cs, cb, in eap_teap_validate_crypto_binding()
1801 eap_teap_derive_cmk_basic_pw_auth(data->tls_cs, in eap_teap_process_phase2_start()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Deap_teap.c32 u16 tls_cs; member
281 if (eap_teap_derive_eap_msk(data->tls_cs, data->simck_msk, in eap_teap_derive_msk()
283 eap_teap_derive_eap_emsk(data->tls_cs, data->simck_msk, in eap_teap_derive_msk()
700 if (eap_teap_compound_mac(data->tls_cs, rbind, data->server_outer_tlvs, in eap_teap_write_crypto_binding()
705 eap_teap_compound_mac(data->tls_cs, rbind, data->server_outer_tlvs, in eap_teap_write_crypto_binding()
736 return eap_teap_derive_cmk_basic_pw_auth(data->tls_cs, in eap_teap_get_cmk()
769 res = eap_teap_derive_imck(data->tls_cs, in eap_teap_get_cmk()
837 if (eap_teap_compound_mac(data->tls_cs, cb, in eap_teap_process_crypto_binding()
861 if (eap_teap_compound_mac(data->tls_cs, cb, in eap_teap_process_crypto_binding()
1420 eap_teap_allowed_anon_prov_cipher_suite(data->tls_cs) && in eap_teap_process_decrypted()
[all …]