D | eap_teap_common.c | 73 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 …]
|