Home
last modified time | relevance | path

Searched refs:wpa_key_mgmt (Results 1 – 25 of 26) sorted by relevance

12

/external/wpa_supplicant_8/src/ap/
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()
173 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in wpa_write_rsn_ie()
180 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) { in wpa_write_rsn_ie()
185 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK_SHA256) { in wpa_write_rsn_ie()
192 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_SAE) { in wpa_write_rsn_ie()
[all …]
Dwpa_auth.c241 if (wpa_key_mgmt_ft(sm->wpa_key_mgmt)) in wpa_use_aes_cmac()
245 if (wpa_key_mgmt_sha256(sm->wpa_key_mgmt)) in wpa_use_aes_cmac()
248 if (sm->wpa_key_mgmt == WPA_KEY_MGMT_OSEN) in wpa_use_aes_cmac()
654 sm->wpa_key_mgmt = 0; in wpa_auth_sta_no_wpa()
849 if (wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt)) { in wpa_try_alt_snonce()
863 if (wpa_verify_key_mic(sm->wpa_key_mgmt, &PTK, data, data_len) in wpa_try_alt_snonce()
869 if (!wpa_key_mgmt_wpa_psk(sm->wpa_key_mgmt)) in wpa_try_alt_snonce()
909 mic_len = wpa_mic_len(sm->wpa_key_mgmt); in wpa_receive()
1007 sm->wpa_key_mgmt != WPA_KEY_MGMT_OSEN && in wpa_receive()
1008 !wpa_key_mgmt_suite_b(sm->wpa_key_mgmt) && in wpa_receive()
[all …]
Dap_config.c61 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in hostapd_config_defaults_bss()
806 if (full_config && bss->wpa && (bss->wpa_key_mgmt & WPA_KEY_MGMT_PSK) && in hostapd_config_check_bss()
833 if (full_config && wpa_key_mgmt_ft(bss->wpa_key_mgmt) && in hostapd_config_check_bss()
1045 bss->wpa_key_mgmt = WPA_KEY_MGMT_IEEE8021X_NO_WPA; in hostapd_set_security_params()
1055 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
1067 bss->wpa_key_mgmt = WPA_KEY_MGMT_NONE; in hostapd_set_security_params()
Dwpa_auth_ft.c401 if (!psk_local || !wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft()
411 if (!psk_local || !wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) in wpa_auth_derive_ptk_ft()
417 ptk, ptk_name, sm->wpa_key_mgmt, sm->pairwise); in wpa_auth_derive_ptk_ft()
670 if (!wpa_key_mgmt_ft(sm->wpa_key_mgmt)) in wpa_sm_write_assoc_resp_ies()
881 if (sm->wpa_key_mgmt) in wpa_ft_set_key_mgmt()
884 key_mgmt = parse->key_mgmt & sm->wpa_auth->conf.wpa_key_mgmt; in wpa_ft_set_key_mgmt()
891 sm->wpa_key_mgmt = WPA_KEY_MGMT_FT_IEEE8021X; in wpa_ft_set_key_mgmt()
893 sm->wpa_key_mgmt = WPA_KEY_MGMT_FT_PSK; in wpa_ft_set_key_mgmt()
981 wpa_key_mgmt_ft_psk(sm->wpa_key_mgmt)) { in wpa_ft_process_auth_req()
1012 &sm->PTK, ptk_name, sm->wpa_key_mgmt, in wpa_ft_process_auth_req()
Dwpa_auth_glue.c37 wconf->wpa_key_mgmt = conf->wpa_key_mgmt; in hostapd_wpa_auth_conf()
85 wconf->wpa_key_mgmt = WPA_KEY_MGMT_OSEN; in hostapd_wpa_auth_conf()
656 wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt)) { in hostapd_setup_wpa()
Dieee802_11_shared.c231 wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_ext_capab_byte()
271 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) && len < 10) in hostapd_eid_ext_capab()
612 !wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt)) in hostapd_eid_fils_indic()
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()
1062 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps()
1064 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps()
1078 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) in hostapd_init_wps()
1080 if (conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) in hostapd_init_wps()
Dwpa_auth_i.h103 int wpa_key_mgmt; /* the selected WPA_KEY_MGMT_* */ member
Dap_drv_ops.c290 params.wpa_key_mgmt = hapd->conf->wpa_key_mgmt; in hostapd_set_drv_ieee8021x()
Dap_config.h313 int wpa_key_mgmt; member
Dwpa_auth.h140 int wpa_key_mgmt; member
Dieee802_11.c1460 (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) && in handle_auth()
1464 (hapd->conf->wpa && wpa_key_mgmt_sae(hapd->conf->wpa_key_mgmt) && in handle_auth()
1468 (hapd->conf->wpa && wpa_key_mgmt_fils(hapd->conf->wpa_key_mgmt) && in handle_auth()
Dbeacon.c1267 params->key_mgmt_suites = hapd->conf->wpa_key_mgmt; in ieee802_11_build_ap_params()
Dieee802_1x.c479 if (hapd->conf->wpa && wpa_key_mgmt_ft(hapd->conf->wpa_key_mgmt) && in add_common_radius_sta_attr()
/external/wpa_supplicant_8/hostapd/
Dctrl_iface.c1092 WPA_ASSERT(hapd->conf->wpa_key_mgmt); in hostapd_ctrl_iface_get_key_mgmt()
1094 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK) { in hostapd_ctrl_iface_get_key_mgmt()
1100 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt()
1107 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_PSK) { in hostapd_ctrl_iface_get_key_mgmt()
1113 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in hostapd_ctrl_iface_get_key_mgmt()
1120 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_SAE) { in hostapd_ctrl_iface_get_key_mgmt()
1128 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) { in hostapd_ctrl_iface_get_key_mgmt()
1134 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) { in hostapd_ctrl_iface_get_key_mgmt()
1143 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_PSK_SHA256) { in hostapd_ctrl_iface_get_key_mgmt()
1149 if (hapd->conf->wpa_key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) { in hostapd_ctrl_iface_get_key_mgmt()
[all …]
DREADME315 # wpa_psk or wpa_passphrase must be set and wpa_key_mgmt must include WPA-PSK.
318 # in wpa_key_mgmt.
334 #wpa_key_mgmt=WPA-PSK WPA-EAP
DREADME-WPS82 wpa_key_mgmt=WPA-PSK
Dconfig_file.c2552 bss->wpa_key_mgmt = hostapd_config_parse_key_mgmt(line, pos); in hostapd_config_fill()
2553 if (bss->wpa_key_mgmt == -1) in hostapd_config_fill()
/external/wpa_supplicant_8/src/drivers/
Ddriver_bsd.c488 __func__, params->wpa_key_mgmt); in bsd_configure_wpa()
490 params->wpa_key_mgmt)) { in bsd_configure_wpa()
493 params->wpa_key_mgmt); in bsd_configure_wpa()
Ddriver_atheros.c333 __func__, params->wpa_key_mgmt); in atheros_configure_wpa()
335 params->wpa_key_mgmt)) { in atheros_configure_wpa()
338 params->wpa_key_mgmt); in atheros_configure_wpa()
Ddriver.h1717 int wpa_key_mgmt; member
/external/wpa_supplicant_8/wpa_supplicant/
Dap.c300 bss->wpa_key_mgmt = WPA_KEY_MGMT_PSK; in wpa_supplicant_conf_ap()
302 bss->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_conf_ap()
1211 wpa_key_mgmt_txt(conf->wpa_key_mgmt, in ap_ctrl_iface_wpa_get_status()
Dmesh.c300 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_mesh_init()
Dmesh_rsn.c155 conf.wpa_key_mgmt = WPA_KEY_MGMT_SAE; in __mesh_rsn_auth_init()
Dibss_rsn.c425 conf.wpa_key_mgmt = WPA_KEY_MGMT_PSK; in ibss_rsn_auth_init_group()

12