/hostap-latest/src/ap/ |
D | wpa_auth_ie.c | 66 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie() 71 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie() 79 conf->wpa_key_mgmt); in wpa_write_wpa_ie() 415 conf->rsn_pairwise, conf->wpa_key_mgmt, in wpa_write_rsn_ie() 521 capab = rsnxe_capab(conf, conf->wpa_key_mgmt); in wpa_write_rsnxe() 710 if (wpa_key_mgmt_ft(wpa_auth->conf.wpa_key_mgmt)) { in wpa_auth_gen_wpa_ie() 1023 key_mgmt = data.key_mgmt & wpa_auth->conf.wpa_key_mgmt; in wpa_validate_wpa_ie() 1032 sm->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X_SUITE_B_192; in wpa_validate_wpa_ie() 1034 sm->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X_SUITE_B; in wpa_validate_wpa_ie() 1038 sm->wpa_key_mgmt = WPA_KEY_MGMT_FT_FILS_SHA384; in wpa_validate_wpa_ie() [all …]
|
D | wpa_auth.c | 1018 sm->wpa_key_mgmt = 0; 1308 if (wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) && 1309 !wpa_key_mgmt_sae(sm->wpa_key_mgmt)) { 1316 if (wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) { 1331 if (wpa_verify_key_mic(sm->wpa_key_mgmt, pmk_len, &PTK, 1341 if (!wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) || 1342 wpa_key_mgmt_sae(sm->wpa_key_mgmt)) 1356 if (vlan_id && wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) && 1361 if (wpa_key_mgmt_ft(sm->wpa_key_mgmt) && !sm->ft_completed) { 1405 if (!wpa_use_akm_defined(sm->wpa_key_mgmt) && [all …]
|
D | wpa_auth_ft.c | 2094 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_ft_store_pmk_fils() 2130 if (sm->wpa_key_mgmt == WPA_KEY_MGMT_FT_SAE_EXT_KEY && in wpa_auth_derive_ptk_ft() 2135 else if (wpa_key_mgmt_sha384(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft() 2156 sm->wpa_key_mgmt) < 0 || in wpa_auth_derive_ptk_ft() 2163 ptk, ptk_name, sm->wpa_key_mgmt, sm->pairwise, in wpa_auth_derive_ptk_ft() 2179 if (psk_local && wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_ft_store_keys() 2227 if (wpa_key_mgmt_fils(sm->wpa_key_mgmt)) { in wpa_ft_gtk_subelem() 2251 sm->wpa_key_mgmt == WPA_KEY_MGMT_OSEN) { in wpa_ft_gtk_subelem() 2263 } else if (conf->disable_gtk || sm->wpa_key_mgmt == WPA_KEY_MGMT_OSEN) { in wpa_ft_gtk_subelem() 2316 if (wpa_key_mgmt_fils(sm->wpa_key_mgmt)) { in wpa_ft_igtk_subelem() [all …]
|
D | ap_config.c | 79 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hostapd_config_defaults_bss() 500 !wpa_key_mgmt_sae_ext_key(conf->wpa_key_mgmt | in hostapd_setup_sae_pt() 505 !wpa_key_mgmt_sae(conf->wpa_key_mgmt | in hostapd_setup_sae_pt() 1233 if (bss->wpa_key_mgmt & (WPA_KEY_MGMT_PSK | in hostapd_config_check_bss_6g() 1256 if (wpa_key_mgmt_sae(bss->wpa_key_mgmt) && in hostapd_config_check_bss_6g() 1312 wpa_key_mgmt_wpa_psk_no_sae(bss->wpa_key_mgmt) && in hostapd_config_check_bss() 1340 if (full_config && wpa_key_mgmt_ft(bss->wpa_key_mgmt) && in hostapd_config_check_bss() 1670 bss->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X_NO_WPA; in hostapd_set_security_params() 1681 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params() 1694 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
|
D | ieee802_11_shared.c | 437 wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_ext_capab_byte() 450 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt)) { in hostapd_ext_capab_byte() 474 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in hostapd_ext_capab_byte() 975 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_eid_fils_indic() 1110 if (wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in hostapd_eid_rsnxe() 1114 wpa_key_mgmt_sae_ext_key(hapd->conf->wpa_key_mgmt)) && in hostapd_eid_rsnxe()
|
D | wps_hostapd.c | 387 bss->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X; in hapd_wps_reconfig_in_memory() 389 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hapd_wps_reconfig_in_memory() 410 bss->wpa_key_mgmt |= WPA_KEY_MGMT_SAE; in hapd_wps_reconfig_in_memory() 1172 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps() 1174 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps() 1176 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_SAE) in hostapd_init_wps() 1204 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps() 1206 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps()
|
D | wpa_auth_glue.c | 47 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf() 115 wconf->wpa_key_mgmt = WPA_KEY_MGMT_OSEN; in hostapd_wpa_auth_conf() 422 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && in hostapd_wpa_auth_get_psk() 428 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && sta) { in hostapd_wpa_auth_get_psk() 908 if (!wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) || in hostapd_wpa_auth_oui_iter() 1810 wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt)) { in hostapd_setup_wpa()
|
D | wpa_auth_i.h | 123 int wpa_key_mgmt; /* the selected WPA_KEY_MGMT_* */ member
|
D | ieee802_11.c | 141 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt); in hostapd_eid_supp_rates() 208 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt); in hostapd_eid_ext_supp_rates() 1231 (hapd->conf->wpa_key_mgmt & in sae_status_success() 2649 pasn_set_wpa_key_mgmt(pasn, hapd->conf->wpa_key_mgmt); in hapd_initialize_pasn() 2739 if (!(rsn_data.key_mgmt & pasn->wpa_key_mgmt) || in hapd_pasn_update_params() 2962 (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) && in handle_auth() 2967 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt | in handle_auth() 2973 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth() 2975 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth() 2981 (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PASN) && in handle_auth() [all …]
|
D | ap_drv_ops.c | 361 params.wpa_key_mgmt = hapd->conf->wpa_key_mgmt; in hostapd_set_drv_ieee8021x()
|
/hostap-latest/tests/hwsim/ |
D | multi-bss-acs.conf | 17 wpa_key_mgmt=WPA-PSK 26 wpa_key_mgmt=SAE
|
D | multi-bss-iface.conf | 15 wpa_key_mgmt=WPA-EAP 33 wpa_key_mgmt=WPA-EAP
|
D | multi-bss-iface-per_sta_vif.conf | 15 wpa_key_mgmt=WPA-EAP 34 wpa_key_mgmt=WPA-EAP
|
D | owe-bss-2.conf | 13 wpa_key_mgmt=OWE
|
D | hostapd.py | 782 def wpa3_params(ssid=None, password=None, wpa_key_mgmt="SAE", argument 785 "wpa_key_mgmt": wpa_key_mgmt, 794 def wpa2_params(ssid=None, passphrase=None, wpa_key_mgmt="WPA-PSK", argument 797 "wpa_key_mgmt": wpa_key_mgmt, 921 def he_wpa2_params(ssid=None, wpa_key_mgmt="SAE", rsn_pairwise="CCMP", argument 925 params["wpa_key_mgmt"] = wpa_key_mgmt 929 if "SAE" in wpa_key_mgmt:
|
D | test_ap_pmf.py | 659 wpa_key_mgmt="WPA-PSK-SHA256", 698 wpa_key_mgmt="WPA-PSK-SHA256", 731 wpa_key_mgmt="WPA-PSK-SHA256",
|
/hostap-latest/hostapd/ |
D | ctrl_iface.c | 828 WPA_ASSERT(hapd->conf->wpa_key_mgmt); in hostapd_ctrl_iface_get_key_mgmt() 830 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in hostapd_ctrl_iface_get_key_mgmt() 836 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt() 843 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in hostapd_ctrl_iface_get_key_mgmt() 849 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt() 856 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X_SHA384) { in hostapd_ctrl_iface_get_key_mgmt() 864 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE) { in hostapd_ctrl_iface_get_key_mgmt() 870 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE_EXT_KEY) { in hostapd_ctrl_iface_get_key_mgmt() 878 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) { in hostapd_ctrl_iface_get_key_mgmt() 884 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) { in hostapd_ctrl_iface_get_key_mgmt() [all …]
|
D | README | 303 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK. 306 # in wpa_key_mgmt. 322 #wpa_key_mgmt=WPA-PSK WPA-EAP
|
/hostap-latest/tests/fuzzing/eapol-key-auth/ |
D | eapol-key-auth.c | 204 conf.wpa_key_mgmt = WPA_KEY_MGMT_PSK; in auth_init_group() 209 conf.wpa_key_mgmt = WPA_KEY_MGMT_PSK; in auth_init_group()
|
/hostap-latest/tests/fuzzing/pasn-resp/ |
D | pasn-resp.c | 72 pasn.wpa_key_mgmt = WPA_KEY_MGMT_PASN; in LLVMFuzzerTestOneInput()
|
/hostap-latest/src/pasn/ |
D | pasn_common.c | 136 pasn->wpa_key_mgmt = key_mgmt; in pasn_set_wpa_key_mgmt()
|
D | pasn_common.h | 54 int wpa_key_mgmt; member
|
/hostap-latest/wpa_supplicant/ |
D | README-DPP | 72 wpa_key_mgmt=DPP 180 wpa_key_mgmt=DPP
|
D | ap.c | 581 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in wpa_supplicant_conf_ap() 583 bss->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_conf_ap() 585 if (wpa_key_mgmt_sae(bss->wpa_key_mgmt) && ssid->passphrase) { in wpa_supplicant_conf_ap() 1610 wpa_key_mgmt_txt(conf->wpa_key_mgmt, in ap_ctrl_iface_wpa_get_status()
|
/hostap-latest/src/drivers/ |
D | driver_bsd.c | 473 __func__, params->wpa_key_mgmt); in bsd_configure_wpa() 475 params->wpa_key_mgmt)) { in bsd_configure_wpa() 478 params->wpa_key_mgmt); in bsd_configure_wpa()
|