Home
last modified time | relevance | path

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

/hostap-3.7.0/src/rsn_supp/
Dwpa_ft.c41 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_derive_ptk_ft() local
57 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in wpa_derive_ptk_ft()
61 sm->pmk_r0, sm->pmk_r0_name, use_sha384) < 0) in wpa_derive_ptk_ft()
95 int use_sha384; in wpa_sm_set_ft_params() local
111 use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_sm_set_ft_params()
112 if (wpa_ft_parse_ies(ies, ies_len, &ft, use_sha384) < 0) in wpa_sm_set_ft_params()
550 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_ft_process_response() local
577 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in wpa_ft_process_response()
590 if (use_sha384) { in wpa_ft_process_response()
985 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_ft_validate_reassoc_resp() local
[all …]
Dwpa.c4474 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in fils_ft_build_assoc_req_rsne() local
4546 sm->pmk_r0, sm->pmk_r0_name, use_sha384) < 0) { in fils_ft_build_assoc_req_rsne()
4550 sm->pmk_r0_len = use_sha384 ? SHA384_MAC_LEN : PMK_LEN; in fils_ft_build_assoc_req_rsne()
4555 sm->pmk_r1_name, use_sha384) < 0) { in fils_ft_build_assoc_req_rsne()
/hostap-3.7.0/src/common/
Dwpa_common.c922 struct wpa_ft_ies *parse, int use_sha384) in wpa_ft_parse_ftie() argument
929 pos = ie + (use_sha384 ? sizeof(struct rsn_ftie_sha384) : in wpa_ft_parse_ftie()
995 struct wpa_ft_ies *parse, int use_sha384) in wpa_ft_parse_ies() argument
1004 if (use_sha384 < 0) { in wpa_ft_parse_ies()
1005 use_sha384 = 0; in wpa_ft_parse_ies()
1042 use_sha384 = in wpa_ft_parse_ies()
1063 if (use_sha384) { in wpa_ft_parse_ies()
1858 int use_sha384) in wpa_derive_pmk_r0() argument
1865 size_t q = use_sha384 ? 48 : 32; in wpa_derive_pmk_r0()
1881 use_sha384 ? "SHA384" : "SHA256"); in wpa_derive_pmk_r0()
[all …]
Dwpa_common.h423 int use_sha384);
425 const u8 *s1kh_id, u8 *pmk_r1_name, int use_sha384);
555 int use_sha384);
/hostap-3.7.0/src/ap/
Dwpa_auth_ft.c808 int wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384, in wpa_write_ftie() argument
815 size_t hdrlen = use_sha384 ? sizeof(struct rsn_ftie_sha384) : in wpa_write_ftie()
825 if (use_sha384) { in wpa_write_ftie()
2524 int use_sha384; in wpa_sm_write_assoc_resp_ies() local
2529 use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in wpa_sm_write_assoc_resp_ies()
2708 res = wpa_write_ftie(conf, use_sha384, r0kh_id, r0kh_id_len, in wpa_sm_write_assoc_resp_ies()
2718 if (use_sha384) { in wpa_sm_write_assoc_resp_ies()
2734 if (wpa_ft_parse_ies(req_ies, req_ies_len, &parse, use_sha384) == 0 in wpa_sm_write_assoc_resp_ies()
3069 int use_sha384; in wpa_ft_process_auth_req() local
3085 use_sha384 = wpa_key_mgmt_sha384(parse.key_mgmt); in wpa_ft_process_auth_req()
[all …]
Dwpa_auth_i.h297 int wpa_write_ftie(struct wpa_auth_config *conf, int use_sha384,
Dwpa_auth.c2376 int use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in fils_auth_pmk_to_ptk() local
2384 use_sha384) < 0) in fils_auth_pmk_to_ptk()
2392 use_sha384); in fils_auth_pmk_to_ptk()
3566 int use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in SM_STATE() local
3568 res = wpa_write_ftie(conf, use_sha384, in SM_STATE()
5308 int wpa_auth_write_fte(struct wpa_authenticator *wpa_auth, int use_sha384, in wpa_auth_write_fte() argument
5313 return wpa_write_ftie(conf, use_sha384, conf->r0_key_holder, in wpa_auth_write_fte()
5528 int use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in wpa_auth_resend_m3() local
5530 res = wpa_write_ftie(conf, use_sha384, in wpa_auth_resend_m3()
Dwpa_auth.h527 int wpa_auth_write_fte(struct wpa_authenticator *wpa_auth, int use_sha384,
Dieee802_11.c2108 int use_sha384 = wpa_key_mgmt_sha384( in prepare_auth_resp_fils() local
2111 res = wpa_auth_write_fte(hapd->wpa_auth, use_sha384, in prepare_auth_resp_fils()
/hostap-3.7.0/wlantest/
Drx_mgmt.c886 int use_sha384; in rx_mgmt_reassoc_req() local
896 use_sha384 = wpa_key_mgmt_sha384(sta->key_mgmt); in rx_mgmt_reassoc_req()
898 if (wpa_ft_parse_ies(ie, ie_len, &parse, use_sha384) < 0) { in rx_mgmt_reassoc_req()
933 if (use_sha384) { in rx_mgmt_reassoc_req()
1378 int use_sha384; in rx_mgmt_reassoc_resp() local
1388 use_sha384 = wpa_key_mgmt_sha384(sta->key_mgmt); in rx_mgmt_reassoc_resp()
1390 if (wpa_ft_parse_ies(ies, ies_len, &parse, use_sha384) < 0) { in rx_mgmt_reassoc_resp()
1425 if (use_sha384) { in rx_mgmt_reassoc_resp()
Drx_eapol.c104 int use_sha384 = wpa_key_mgmt_sha384(sta->key_mgmt); in try_pmk() local
110 use_sha384) < 0) in try_pmk()
112 sta->pmk_r0_len = use_sha384 ? PMK_LEN_SUITE_B_192 : PMK_LEN; in try_pmk()