Home
last modified time | relevance | path

Searched refs:wpa_key_mgmt (Results 1 - 25 of 52) sorted by relevance

123

/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
H A Dwpa_auth_ie.c65 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie()
70 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie()
78 conf->wpa_key_mgmt); in wpa_write_wpa_ie()
186 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_rsn_ie()
191 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_rsn_ie()
197 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_write_rsn_ie()
203 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X_SHA384) { in wpa_write_rsn_ie()
209 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in wpa_write_rsn_ie()
215 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) { in wpa_write_rsn_ie()
220 if (conf->wpa_key_mgmt in wpa_write_rsn_ie()
[all...]
H A Dwpa_auth.c749 sm->wpa_key_mgmt = 0; in wpa_auth_sta_no_wpa()
967 if (wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) && in wpa_try_alt_snonce()
968 !wpa_key_mgmt_sae(sm->wpa_key_mgmt)) { in wpa_try_alt_snonce()
975 if (wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) { in wpa_try_alt_snonce()
989 if (wpa_verify_key_mic(sm->wpa_key_mgmt, pmk_len, &PTK, in wpa_try_alt_snonce()
999 if (!wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) || in wpa_try_alt_snonce()
1000 wpa_key_mgmt_sae(sm->wpa_key_mgmt)) in wpa_try_alt_snonce()
1014 if (vlan_id && wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) && in wpa_try_alt_snonce()
1057 mic_len = wpa_mic_len(sm->wpa_key_mgmt, sm->pmk_len); in wpa_receive()
1145 if (wpa_use_cmac(sm->wpa_key_mgmt) in wpa_receive()
[all...]
H A Dap_config.c76 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hostapd_config_defaults_bss()
480 !wpa_key_mgmt_sae_ext_key(conf->wpa_key_mgmt) && in hostapd_setup_sae_pt()
483 !wpa_key_mgmt_sae(conf->wpa_key_mgmt)) in hostapd_setup_sae_pt()
1184 if (bss->wpa_key_mgmt & (WPA_KEY_MGMT_PSK | in hostapd_config_check_bss_6g()
1253 if (full_config && bss->wpa && (bss->wpa_key_mgmt & WPA_KEY_MGMT_PSK) && in hostapd_config_check_bss()
1280 if (full_config && wpa_key_mgmt_ft(bss->wpa_key_mgmt) && in hostapd_config_check_bss()
1564 bss->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X_NO_WPA; in hostapd_set_security_params()
1575 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
1588 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
H A Dieee802_11_shared.c411 wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_ext_capab_byte()
423 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt)) { in hostapd_ext_capab_byte()
442 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in hostapd_ext_capab_byte()
929 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_eid_fils_indic()
1064 if (wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in hostapd_eid_rsnxe()
1067 wpa_key_mgmt_sae_ext_key(hapd->conf->wpa_key_mgmt)) && in hostapd_eid_rsnxe()
H A Dwpa_auth_ft.c2060 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_ft_store_pmk_fils()
2084 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_auth_derive_ptk_ft()
2130 wpa_key_mgmt_sha384(sm->wpa_key_mgmt)) < 0) in wpa_auth_derive_ptk_ft()
2132 if (!psk_local || !wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft()
2142 if (!psk_local || !wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft()
2150 ptk, ptk_name, sm->wpa_key_mgmt, sm->pairwise, in wpa_auth_derive_ptk_ft()
2176 if (wpa_key_mgmt_fils(sm->wpa_key_mgmt)) { in wpa_ft_gtk_subelem()
2200 sm->wpa_key_mgmt == WPA_KEY_MGMT_OSEN) { in wpa_ft_gtk_subelem()
2212 } else if (conf->disable_gtk || sm->wpa_key_mgmt == WPA_KEY_MGMT_OSEN) { in wpa_ft_gtk_subelem()
2264 if (wpa_key_mgmt_fils(sm->wpa_key_mgmt)) { in wpa_ft_igtk_subelem()
[all...]
H A Dwps_hostapd.c387 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()
596 fprintf(nconf, "wpa_key_mgmt="); in hapd_wps_cred_cb()
684 str_starts(buf, "wpa_key_mgmt=") || in hapd_wps_cred_cb()
1171 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps()
1173 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps()
1175 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_SAE) in hostapd_init_wps()
1203 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps()
1205 if (conf->wpa_key_mgmt in hostapd_init_wps()
[all...]
H A Dwpa_auth_glue.c48 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf()
109 wconf->wpa_key_mgmt = WPA_KEY_MGMT_OSEN; in hostapd_wpa_auth_conf()
375 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && in hostapd_wpa_auth_get_psk()
381 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && sta) { in hostapd_wpa_auth_get_psk()
831 if (!wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) || in hostapd_wpa_auth_oui_iter()
1582 wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt)) { in hostapd_setup_wpa()
H A Dwpa_auth_i.h117 int wpa_key_mgmt; /* the selected WPA_KEY_MGMT_* */ member
H A Dieee802_11.c124 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt); in hostapd_eid_supp_rates()
179 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt); in hostapd_eid_ext_supp_rates()
1228 (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_SAE_EXT_KEY)) in sae_status_success()
3166 if (!(rsn_data.key_mgmt & hapd->conf->wpa_key_mgmt) || in handle_auth_pasn_1()
3643 (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) && in handle_auth()
3647 (hapd->conf->wpa && wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in handle_auth()
3651 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth()
3653 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth()
3659 (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PASN) && in handle_auth()
4732 if ((hapd->conf->wpa_key_mgmt in check_assoc_ies()
[all...]
H A Dap_drv_ops.c312 params.wpa_key_mgmt = hapd->conf->wpa_key_mgmt; in hostapd_set_drv_ieee8021x()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
H A Dwpa_auth_ie.c65 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_wpa_ie()
70 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_wpa_ie()
78 conf->wpa_key_mgmt); in wpa_write_wpa_ie()
157 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_write_rsn_ie()
162 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_write_rsn_ie()
168 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_write_rsn_ie()
174 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X_SHA384) { in wpa_write_rsn_ie()
180 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in wpa_write_rsn_ie()
187 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) { in wpa_write_rsn_ie()
192 if (conf->wpa_key_mgmt in wpa_write_rsn_ie()
[all...]
H A Dwpa_auth.c688 sm->wpa_key_mgmt = 0; in wpa_auth_sta_no_wpa()
891 if (wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) && in wpa_try_alt_snonce()
892 !wpa_key_mgmt_sae(sm->wpa_key_mgmt)) { in wpa_try_alt_snonce()
899 if (wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) { in wpa_try_alt_snonce()
912 if (wpa_verify_key_mic(sm->wpa_key_mgmt, pmk_len, &PTK, in wpa_try_alt_snonce()
922 if (!wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) || in wpa_try_alt_snonce()
923 wpa_key_mgmt_sae(sm->wpa_key_mgmt)) in wpa_try_alt_snonce()
937 if (vlan_id && wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt) && in wpa_try_alt_snonce()
968 mic_len = wpa_mic_len(sm->wpa_key_mgmt, sm->pmk_len); in wpa_receive()
1057 if (wpa_use_cmac(sm->wpa_key_mgmt) in wpa_receive()
[all...]
H A Dieee802_11_shared.c379 wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_ext_capab_byte()
386 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt)) { in hostapd_ext_capab_byte()
434 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) && len < 10) in hostapd_eid_ext_capab()
439 wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in hostapd_eid_ext_capab()
884 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_eid_fils_indic()
H A Dwpa_auth_ft.c2057 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_ft_store_pmk_fils()
2081 size_t pmk_r0_len = wpa_key_mgmt_sha384(sm->wpa_key_mgmt) ? in wpa_auth_derive_ptk_ft()
2127 wpa_key_mgmt_sha384(sm->wpa_key_mgmt)) < 0) in wpa_auth_derive_ptk_ft()
2131 if (!psk_local || !wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft()
2144 if (!psk_local || !wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft()
2152 ptk, ptk_name, sm->wpa_key_mgmt, sm->pairwise); in wpa_auth_derive_ptk_ft()
2176 if (wpa_key_mgmt_fils(sm->wpa_key_mgmt)) { in wpa_ft_gtk_subelem()
2245 if (wpa_key_mgmt_fils(sm->wpa_key_mgmt)) { in wpa_ft_igtk_subelem()
2435 use_sha384 = wpa_key_mgmt_sha384(sm->wpa_key_mgmt); in wpa_sm_write_assoc_resp_ies()
2438 if (!wpa_key_mgmt_ft(sm->wpa_key_mgmt)) in wpa_sm_write_assoc_resp_ies()
[all...]
H A Dap_config.c70 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hostapd_config_defaults_bss()
1067 if (full_config && bss->wpa && (bss->wpa_key_mgmt & WPA_KEY_MGMT_PSK) && in hostapd_config_check_bss()
1094 if (full_config && wpa_key_mgmt_ft(bss->wpa_key_mgmt) && in hostapd_config_check_bss()
1331 bss->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X_NO_WPA; in hostapd_set_security_params()
1341 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
1353 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
H A Dwpa_auth_glue.c42 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf()
104 wconf->wpa_key_mgmt = WPA_KEY_MGMT_OSEN; in hostapd_wpa_auth_conf()
279 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && in hostapd_wpa_auth_get_psk()
285 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && sta) { in hostapd_wpa_auth_get_psk()
1335 wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt)) { in hostapd_setup_wpa()
H A Dwps_hostapd.c339 bss->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X; in hapd_wps_reconfig_in_memory()
341 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hapd_wps_reconfig_in_memory()
360 bss->wpa_key_mgmt |= WPA_KEY_MGMT_SAE; in hapd_wps_reconfig_in_memory()
542 fprintf(nconf, "wpa_key_mgmt="); in hapd_wps_cred_cb()
630 str_starts(buf, "wpa_key_mgmt=") || in hapd_wps_cred_cb()
1101 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps()
1103 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps()
1119 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps()
1121 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps()
H A Dwpa_auth_i.h112 int wpa_key_mgmt; /* the selected WPA_KEY_MGMT_* */ member
H A Dieee802_11.c2104 (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) && in handle_auth()
2108 (hapd->conf->wpa && wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in handle_auth()
2112 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth()
2114 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth()
3156 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && in check_assoc_ies()
3170 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_DPP) && in check_assoc_ies()
3475 if (sta && (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE)) in send_assoc_resp()
3546 (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE)) in send_assoc_resp()
3608 if ((hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_OWE) && in send_assoc_resp()
3631 if ((hapd->conf->wpa_key_mgmt in send_assoc_resp()
[all...]
H A Dwpa_auth.h172 int wpa_key_mgmt; member
H A Dap_drv_ops.c306 params.wpa_key_mgmt = hapd->conf->wpa_key_mgmt; in hostapd_set_drv_ieee8021x()
/third_party/wpa_supplicant/wpa_supplicant-2.9/hostapd/
H A Dap_ctrl_iface.c1043 WPA_ASSERT(hapd->conf->wpa_key_mgmt); in hostapd_ctrl_iface_get_key_mgmt()
1045 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in hostapd_ctrl_iface_get_key_mgmt()
1051 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt()
1058 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in hostapd_ctrl_iface_get_key_mgmt()
1064 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt()
1071 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X_SHA384) { in hostapd_ctrl_iface_get_key_mgmt()
1079 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE) { in hostapd_ctrl_iface_get_key_mgmt()
1087 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) { in hostapd_ctrl_iface_get_key_mgmt()
1093 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) { in hostapd_ctrl_iface_get_key_mgmt()
1102 if (hapd->conf->wpa_key_mgmt in hostapd_ctrl_iface_get_key_mgmt()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/hostapd/
H A Dap_ctrl_iface.c1051 WPA_ASSERT(hapd->conf->wpa_key_mgmt); in hostapd_ctrl_iface_get_key_mgmt()
1053 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in hostapd_ctrl_iface_get_key_mgmt()
1059 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt()
1066 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in hostapd_ctrl_iface_get_key_mgmt()
1072 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt()
1079 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X_SHA384) { in hostapd_ctrl_iface_get_key_mgmt()
1087 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE) { in hostapd_ctrl_iface_get_key_mgmt()
1095 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) { in hostapd_ctrl_iface_get_key_mgmt()
1101 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) { in hostapd_ctrl_iface_get_key_mgmt()
1109 if (hapd->conf->wpa_key_mgmt in hostapd_ctrl_iface_get_key_mgmt()
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
H A Dap.c557 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in wpa_supplicant_conf_ap()
559 bss->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_conf_ap()
561 if (wpa_key_mgmt_sae(bss->wpa_key_mgmt) && ssid->passphrase) { in wpa_supplicant_conf_ap()
1575 wpa_key_mgmt_txt(conf->wpa_key_mgmt, in ap_ctrl_iface_wpa_get_status()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_atheros.c357 __func__, params->wpa_key_mgmt); in atheros_configure_wpa()
359 params->wpa_key_mgmt)) { in atheros_configure_wpa()
362 params->wpa_key_mgmt); in atheros_configure_wpa()

Completed in 56 milliseconds

123