Home
last modified time | relevance | path

Searched refs:sae_pwe (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/wpa/wpa_supplicant/
H A Dconfig_ssid.h1253 enum sae_pwe sae_pwe; member
H A Dconfig.h1306 enum sae_pwe sae_pwe; member
H A Dap.c641 if (ssid->sae_pwe != DEFAULT_SAE_PWE) in wpa_supplicant_conf_ap()
642 bss->sae_pwe = ssid->sae_pwe; in wpa_supplicant_conf_ap()
644 bss->sae_pwe = wpa_s->conf->sae_pwe; in wpa_supplicant_conf_ap()
H A Dwpa_supplicant.c1652 if (wpa_s->conf->sae_pwe != SAE_PWE_HUNT_AND_PECK && in wpas_update_allowed_key_mgmt()
1653 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in wpas_update_allowed_key_mgmt()
1697 enum sae_pwe sae_pwe; in wpa_supplicant_set_suites() local
2037 sae_pwe = wpa_s->conf->sae_pwe; in wpa_supplicant_set_suites()
2040 sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in wpa_supplicant_set_suites()
2041 sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in wpa_supplicant_set_suites()
2043 sae_pwe == SAE_PWE_HUNT_AND_PECK) { in wpa_supplicant_set_suites()
2046 sae_pwe = SAE_PWE_BOTH; in wpa_supplicant_set_suites()
2048 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_SAE_PWE, sae_pwe); in wpa_supplicant_set_suites()
2519 (conf->sae_pwe == SAE_PWE_HUNT_AND_PECK && !ssid->sae_password_id && in wpa_s_setup_sae_pt()
[all …]
H A Dsme.c199 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in sme_auth_build_sae_commit()
202 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in sme_auth_build_sae_commit()
205 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in sme_auth_build_sae_commit()
225 if (use_pt || wpa_s->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in sme_auth_build_sae_commit()
226 wpa_s->conf->sae_pwe == SAE_PWE_BOTH) { in sme_auth_build_sae_commit()
229 if ((wpa_s->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in sme_auth_build_sae_commit()
232 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK && in sme_auth_build_sae_commit()
H A Dconfig_file.c687 write_int(f, "sae_pwe", ssid->sae_pwe, DEFAULT_SAE_PWE); in wpa_config_write_network()
1406 if (config->sae_pwe) in wpa_config_write_global()
1407 fprintf(f, "sae_pwe=%d\n", config->sae_pwe); in wpa_config_write_global()
H A Devents.c1046 if (wpa_s->conf->sae_pwe == in rate_match()
1458 if ((wpa_s->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_scan_res_ok()
1460 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK && in wpa_scan_res_ok()
H A Dp2p_supplicant.c2113 ssid->sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in wpas_start_wps_go()
2204 d->sae_pwe = s->sae_pwe; in wpas_p2p_clone_config()
6975 ssid->sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in wpas_start_p2p_client()
H A Dconfig.c3277 ssid->sae_pwe = DEFAULT_SAE_PWE; in wpa_config_set_network_defaults()
5524 { INT_RANGE(sae_pwe, 0, 3), 0 },
/freebsd/contrib/wpa/src/rsn_supp/
H A Dwpa_ie.c373 (sm->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_gen_rsnxe()
374 sm->sae_pwe == SAE_PWE_BOTH || sm->sae_pk)) { in wpa_gen_rsnxe()
H A Dwpa_i.h109 enum sae_pwe sae_pwe; /* SAE PWE generation options */ member
H A Dwpa_ft.c346 (sm->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_ft_gen_req_ies()
347 sm->sae_pwe == SAE_PWE_BOTH); in wpa_ft_gen_req_ies()
1209 (sm->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_ft_validate_reassoc_resp()
1210 sm->sae_pwe == SAE_PWE_BOTH); in wpa_ft_validate_reassoc_resp()
/freebsd/contrib/wpa/src/ap/
H A Dwpa_auth_glue.c205 wconf->sae_pwe = conf->sae_pwe; in hostapd_wpa_auth_conf()
207 if (sae_pw_id == 2 && wconf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in hostapd_wpa_auth_conf()
208 wconf->sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in hostapd_wpa_auth_conf()
209 else if (sae_pw_id == 1 && wconf->sae_pwe == SAE_PWE_HUNT_AND_PECK) in hostapd_wpa_auth_conf()
210 wconf->sae_pwe = SAE_PWE_BOTH; in hostapd_wpa_auth_conf()
H A Dieee802_11.c138 h2e_required = (hapd->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in hostapd_eid_supp_rates()
140 hapd->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK && in hostapd_eid_supp_rates()
205 h2e_required = (hapd->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in hostapd_eid_ext_supp_rates()
207 hapd->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK && in hostapd_eid_ext_supp_rates()
631 if (rx_id && hapd->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in auth_build_sae_commit()
1216 enum sae_pwe sae_pwe = hapd->conf->sae_pwe; in sae_status_success() local
1221 if (id_in_use == 2 && sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in sae_status_success()
1222 sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in sae_status_success()
1223 else if (id_in_use == 1 && sae_pwe == SAE_PWE_HUNT_AND_PECK) in sae_status_success()
1224 sae_pwe = SAE_PWE_BOTH; in sae_status_success()
[all …]
H A Dieee802_11_shared.c1111 (hapd->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in hostapd_eid_rsnxe()
1112 hapd->conf->sae_pwe == SAE_PWE_BOTH || in hostapd_eid_rsnxe()
1115 hapd->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) { in hostapd_eid_rsnxe()
H A Dap_config.c495 if ((conf->sae_pwe == SAE_PWE_HUNT_AND_PECK && in hostapd_setup_sae_pt()
499 conf->sae_pwe == SAE_PWE_FORCE_HUNT_AND_PECK || in hostapd_setup_sae_pt()
1245 bss->sae_pwe == SAE_PWE_HUNT_AND_PECK) { in hostapd_config_check_bss_6g()
1247 bss->sae_pwe = SAE_PWE_BOTH; in hostapd_config_check_bss_6g()
H A Dwpa_auth.h263 enum sae_pwe sae_pwe; member
H A Dap_config.h681 enum sae_pwe sae_pwe; member
H A Dwpa_auth_ie.c416 (conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_write_rsnxe()
417 conf->sae_pwe == SAE_PWE_BOTH || conf->sae_pk || in wpa_write_rsnxe()
H A Dwpa_auth_ft.c2751 (conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_sm_write_assoc_resp_ies()
2752 conf->sae_pwe == SAE_PWE_BOTH); in wpa_sm_write_assoc_resp_ies()
3682 (conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_ft_validate_reassoc()
3683 conf->sae_pwe == SAE_PWE_BOTH) && in wpa_ft_validate_reassoc()
H A Dbeacon.c2618 params.sae_pwe = hapd->conf->sae_pwe; in __ieee802_11_set_beacon()
/freebsd/contrib/wpa/src/common/
H A Ddefs.h527 enum sae_pwe { enum
/freebsd/contrib/wpa/src/drivers/
H A Ddriver.h1355 enum sae_pwe sae_pwe; member
1726 enum sae_pwe sae_pwe; member
H A Ddriver_nl80211.c4726 static int nl80211_put_sae_pwe(struct nl_msg *msg, enum sae_pwe pwe) in nl80211_put_sae_pwe()
4728 u8 sae_pwe; in nl80211_put_sae_pwe() local
4732 sae_pwe = NL80211_SAE_PWE_HUNT_AND_PECK; in nl80211_put_sae_pwe()
4734 sae_pwe = NL80211_SAE_PWE_HASH_TO_ELEMENT; in nl80211_put_sae_pwe()
4736 sae_pwe = NL80211_SAE_PWE_BOTH; in nl80211_put_sae_pwe()
4741 if (nla_put_u8(msg, NL80211_ATTR_SAE_PWE, sae_pwe)) in nl80211_put_sae_pwe()
5399 nl80211_put_sae_pwe(msg, params->sae_pwe) < 0) in wpa_driver_nl80211_set_ap()
7111 nl80211_put_sae_pwe(msg, params->sae_pwe) < 0) in wpa_driver_nl80211_try_connect()
/freebsd/contrib/wpa/hostapd/
H A DChangeLog46 - added support for the hash-to-element mechanism (sae_pwe=1 or
47 sae_pwe=2)

12