Home
last modified time | relevance | path

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

12

/hostap-latest/wpa_supplicant/
Dconfig_ssid.h1267 enum sae_pwe sae_pwe; member
Dconfig.h1306 enum sae_pwe sae_pwe; member
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()
Dwpa_supplicant.c1628 if (wpa_s->conf->sae_pwe != SAE_PWE_HUNT_AND_PECK && in wpas_update_allowed_key_mgmt()
1629 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in wpas_update_allowed_key_mgmt()
1672 enum sae_pwe sae_pwe; in wpa_supplicant_set_suites() local
2031 sae_pwe = wpa_s->conf->sae_pwe; in wpa_supplicant_set_suites()
2034 sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in wpa_supplicant_set_suites()
2035 sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in wpa_supplicant_set_suites()
2037 sae_pwe == SAE_PWE_HUNT_AND_PECK) { in wpa_supplicant_set_suites()
2040 sae_pwe = SAE_PWE_BOTH; in wpa_supplicant_set_suites()
2042 wpa_sm_set_param(wpa_s->wpa, WPA_PARAM_SAE_PWE, sae_pwe); in wpa_supplicant_set_suites()
2511 (conf->sae_pwe == 0 && !ssid->sae_password_id && in wpa_s_setup_sae_pt()
[all …]
Dsme.c202 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()
208 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in sme_auth_build_sae_commit()
228 if (use_pt || wpa_s->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in sme_auth_build_sae_commit()
229 wpa_s->conf->sae_pwe == SAE_PWE_BOTH) { in sme_auth_build_sae_commit()
232 if ((wpa_s->conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in sme_auth_build_sae_commit()
235 wpa_s->conf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK && in sme_auth_build_sae_commit()
Dconfig_file.c687 write_int(f, "sae_pwe", ssid->sae_pwe, DEFAULT_SAE_PWE); in wpa_config_write_network()
1407 if (config->sae_pwe) in wpa_config_write_global()
1408 fprintf(f, "sae_pwe=%d\n", config->sae_pwe); in wpa_config_write_global()
/hostap-latest/src/rsn_supp/
Dwpa_ie.c380 (sm->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_gen_rsnxe()
381 sm->sae_pwe == SAE_PWE_BOTH || sm->sae_pk)) { in wpa_gen_rsnxe()
Dwpa_i.h109 enum sae_pwe sae_pwe; /* SAE PWE generation options */ member
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()
1212 (sm->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in wpa_ft_validate_reassoc_resp()
1213 sm->sae_pwe == SAE_PWE_BOTH); in wpa_ft_validate_reassoc_resp()
/hostap-latest/tests/hwsim/
Dtest_ap_ft.py1131 def start_ft_sae(dev, apdev, wpa_ptk_rekey=None, sae_pwe=None, argument
1146 if sae_pwe is not None:
1147 params['sae_pwe'] = sae_pwe
1166 if sae_pwe is not None:
1167 params['sae_pwe'] = sae_pwe
1205 hapd0, hapd1 = start_ft_sae(dev[0], apdev, sae_pwe="2")
1213 hapd0, hapd1 = start_ft_sae(dev[0], apdev, sae_pwe="2")
1220 hapd0, hapd1 = start_ft_sae(dev[0], apdev, sae_pwe="0")
1229 hapd0, hapd1 = start_ft_sae(dev[0], apdev, sae_pwe="2",
1323 hapd0, hapd1 = start_ft_sae(dev[0], apdev, sae_pwe="2",
[all …]
Dtest_sae.py1211 def sae_start_ap(apdev, sae_pwe): argument
1215 params['sae_pwe'] = str(sae_pwe)
2218 def start_sae_pwe_ap(apdev, group, sae_pwe): argument
2222 params['sae_pwe'] = str(sae_pwe)
2246 def check_sae_pwe_group(dev, group, sae_pwe, check_ssid=False): argument
2248 dev.set("sae_pwe", str(sae_pwe))
Dhostapd.py922 group_cipher="CCMP", sae_pwe="1", passphrase=None): argument
930 params["sae_pwe"] = sae_pwe
Dtest_sigma_dut.py4856 def start_sae_pwe_ap(apdev, sae_pwe, ssid="test-sae", password="12345678"): argument
4861 params['sae_pwe'] = str(sae_pwe)
4949 for sae_pwe in [0, 1, 2]:
4951 dev[0].set("sae_pwe", str(sae_pwe))
/hostap-latest/src/ap/
Dwpa_auth_glue.c251 wconf->sae_pwe = conf->sae_pwe; in hostapd_wpa_auth_conf()
253 if (sae_pw_id == 2 && wconf->sae_pwe != SAE_PWE_FORCE_HUNT_AND_PECK) in hostapd_wpa_auth_conf()
254 wconf->sae_pwe = SAE_PWE_HASH_TO_ELEMENT; in hostapd_wpa_auth_conf()
255 else if (sae_pw_id == 1 && wconf->sae_pwe == SAE_PWE_HUNT_AND_PECK) in hostapd_wpa_auth_conf()
256 wconf->sae_pwe = SAE_PWE_BOTH; in hostapd_wpa_auth_conf()
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 …]
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()
Dap_config.c498 if ((conf->sae_pwe == SAE_PWE_HUNT_AND_PECK && in hostapd_setup_sae_pt()
504 conf->sae_pwe == SAE_PWE_FORCE_HUNT_AND_PECK || in hostapd_setup_sae_pt()
1257 bss->sae_pwe == SAE_PWE_HUNT_AND_PECK) { in hostapd_config_check_bss_6g()
1259 bss->sae_pwe = SAE_PWE_BOTH; in hostapd_config_check_bss_6g()
Dwpa_auth.h284 enum sae_pwe sae_pwe; member
Dap_config.h697 enum sae_pwe sae_pwe; member
Dwpa_auth_ie.c492 (conf->sae_pwe == SAE_PWE_HASH_TO_ELEMENT || in rsnxe_capab()
493 conf->sae_pwe == SAE_PWE_BOTH || conf->sae_pk || in rsnxe_capab()
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()
Dbeacon.c2714 params.sae_pwe = hapd->conf->sae_pwe; in __ieee802_11_set_beacon()
/hostap-latest/src/common/
Ddefs.h527 enum sae_pwe { enum
/hostap-latest/src/drivers/
Ddriver.h1355 enum sae_pwe sae_pwe; member
1738 enum sae_pwe sae_pwe; member
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()
7166 nl80211_put_sae_pwe(msg, params->sae_pwe) < 0) in wpa_driver_nl80211_try_connect()

12