Home
last modified time | relevance | path

Searched refs:use_sha384 (Results 1 – 9 of 9) sorted by relevance

/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ft.c29 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_derive_ptk_ft() local
37 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft()
41 sm->pmk_r0, sm->pmk_r0_name, use_sha384) < 0) in wpa_derive_ptk_ft()
70 int use_sha384; in wpa_sm_set_ft_params() local
75 use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_sm_set_ft_params()
76 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params()
489 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_ft_process_response() local
516 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_process_response()
529 if (use_sha384) { in wpa_ft_process_response()
841 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_ft_validate_reassoc_resp() local
[all …]
Dwpa.c3944 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in fils_ft_build_assoc_req_rsne() local
4014 sm->pmk_r0, sm->pmk_r0_name, use_sha384) < 0) { in fils_ft_build_assoc_req_rsne()
4018 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
4027 sm->pmk_r1_name, use_sha384) < 0) { in fils_ft_build_assoc_req_rsne()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c849 struct wpa_ft_ies *parse, int use_sha384) in wpa_ft_parse_ftie() argument
856 pos = ie + (use_sha384 ? sizeof(struct rsn_ftie_sha384) : in wpa_ft_parse_ftie()
920 struct wpa_ft_ies *parse, int use_sha384) in wpa_ft_parse_ies() argument
929 if (use_sha384 < 0) { in wpa_ft_parse_ies()
930 use_sha384 = 0; in wpa_ft_parse_ies()
966 use_sha384 = in wpa_ft_parse_ies()
980 if (use_sha384) { in wpa_ft_parse_ies()
1518 int use_sha384) in wpa_derive_pmk_r0() argument
1525 size_t q = use_sha384 ? 48 : 32; in wpa_derive_pmk_r0()
1541 use_sha384 ? "SHA384" : "SHA256"); in wpa_derive_pmk_r0()
[all …]
Dwpa_common.h380 int use_sha384);
382 const u8 *s1kh_id, u8 *pmk_r1_name, int use_sha384);
472 int use_sha384);
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ft.c806 int wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384, in wpa_write_ftie() argument
813 size_t hdrlen = use_sha384 ? sizeof(struct rsn_ftie_sha384) : in wpa_write_ftie()
823 if (use_sha384) { in wpa_write_ftie()
2421 int use_sha384; in wpa_sm_write_assoc_resp_ies() local
2426 use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in wpa_sm_write_assoc_resp_ies()
2540 res = wpa_write_ftie(conf, use_sha384, r0kh_id, r0kh_id_len, in wpa_sm_write_assoc_resp_ies()
2550 if (use_sha384) { in wpa_sm_write_assoc_resp_ies()
2566 if (wpa_ft_parse_ies(req_ies, req_ies_len, &parse, use_sha384) == 0 in wpa_sm_write_assoc_resp_ies()
2868 int use_sha384; in wpa_ft_process_auth_req() local
2884 use_sha384 = wpa_key_mgmt_sha384(parse.key_mgmt); in wpa_ft_process_auth_req()
[all …]
Dwpa_auth_i.h288 int wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384,
Dwpa_auth.c2220 int use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in fils_auth_pmk_to_ptk() local
2221 size_t pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_auth_pmk_to_ptk()
2229 use_sha384) < 0) in fils_auth_pmk_to_ptk()
2241 use_sha384); in fils_auth_pmk_to_ptk()
3226 int use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in SM_STATE() local
3228 res = wpa_write_ftie(conf, use_sha384, in SM_STATE()
4827 int wpa_auth_write_fte(struct wpa_authenticator *wpa_auth, int use_sha384, in wpa_auth_write_fte() argument
4832 return wpa_write_ftie(conf, use_sha384, conf->r0_key_holder, in wpa_auth_write_fte()
5024 int use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in wpa_auth_resend_m3() local
5026 res = wpa_write_ftie(conf, use_sha384, in wpa_auth_resend_m3()
Dwpa_auth.h468 int wpa_auth_write_fte(struct wpa_authenticator *wpa_auth, int use_sha384,
Dieee802_11.c1752 int use_sha384 = wpa_key_mgmt_sha384( in prepare_auth_resp_fils() local
1755 res = wpa_auth_write_fte(hapd->wpa_auth, use_sha384, in prepare_auth_resp_fils()