Home
last modified time | relevance | path

Searched refs:key_mgmt (Results 1 – 25 of 56) sorted by relevance

123

/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_supplicant.conf1417 key_mgmt=WPA-PSK
1428 key_mgmt=WPA-PSK
1440 key_mgmt=WPA-EAP
1456 key_mgmt=WPA-EAP
1470 key_mgmt=WPA-EAP
1483 key_mgmt=WPA-EAP
1496 key_mgmt=WPA-EAP
1516 key_mgmt=WPA-PSK WPA-EAP
1533 key_mgmt=WPA-EAP
1543 key_mgmt=WPA-EAP
[all …]
Dwpa_supplicant.c282 wpa_s->key_mgmt != WPA_KEY_MGMT_NONE && in wpa_supplicant_initiate_eapol()
283 wpa_s->key_mgmt != WPA_KEY_MGMT_WPA_NONE) { in wpa_supplicant_initiate_eapol()
298 if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE || in wpa_supplicant_initiate_eapol()
299 wpa_s->key_mgmt == WPA_KEY_MGMT_WPA_NONE) in wpa_supplicant_initiate_eapol()
305 if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_supplicant_initiate_eapol()
322 !wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) && in wpa_supplicant_initiate_eapol()
323 wpa_s->key_mgmt != WPA_KEY_MGMT_IEEE8021X_NO_WPA && in wpa_supplicant_initiate_eapol()
324 wpa_s->key_mgmt != WPA_KEY_MGMT_WPS; in wpa_supplicant_initiate_eapol()
328 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS) { in wpa_supplicant_initiate_eapol()
347 if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE && ssid->mka_psk_set) in wpa_supplicant_initiate_eapol()
[all …]
Devents.c222 if (wpa_key_mgmt_wpa_any(ssid->key_mgmt)) { in wpa_supplicant_select_config()
306 if (wpa_key_mgmt_wpa_psk(wpa_s->key_mgmt) || in wpa_supplicant_mark_disassoc()
307 wpa_s->key_mgmt == WPA_KEY_MGMT_OWE || in wpa_supplicant_mark_disassoc()
308 wpa_s->key_mgmt == WPA_KEY_MGMT_DPP) in wpa_supplicant_mark_disassoc()
313 wpa_s->key_mgmt = 0; in wpa_supplicant_mark_disassoc()
372 if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE || in wpa_supplicant_dynamic_keys()
373 wpa_s->key_mgmt == WPA_KEY_MGMT_WPA_NONE) in wpa_supplicant_dynamic_keys()
377 if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA && in wpa_supplicant_dynamic_keys()
486 if (ssid->key_mgmt & WPA_KEY_MGMT_WPS) in wpa_supplicant_match_privacy()
494 if ((ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) && in wpa_supplicant_match_privacy()
[all …]
Dwpas_glue.c148 if (wpa_key_mgmt_wpa_psk(wpa_s->key_mgmt) || in wpa_supplicant_eapol_send()
149 wpa_s->key_mgmt == WPA_KEY_MGMT_OWE || in wpa_supplicant_eapol_send()
150 wpa_s->key_mgmt == WPA_KEY_MGMT_DPP || in wpa_supplicant_eapol_send()
151 wpa_s->key_mgmt == WPA_KEY_MGMT_NONE) { in wpa_supplicant_eapol_send()
235 if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_eapol_set_wep_key()
302 if (!wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) in wpa_supplicant_eapol_cb()
309 if (wpa_key_mgmt_ft(wpa_s->key_mgmt)) { in wpa_supplicant_eapol_cb()
359 if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) { in wpa_supplicant_notify_eapol_done()
1283 if (wpa_key_mgmt_fils(wpa_s->key_mgmt)) in wpa_supplicant_rsn_supp_set_config()
Dsme.c266 if (ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in sme_send_authentication()
284 if (wpa_key_mgmt_sae(ssid->key_mgmt)) { in sme_send_authentication()
293 wpa_key_mgmt_sae(ied.key_mgmt)) { in sme_send_authentication()
318 wpa_key_mgmt_wpa(ssid->key_mgmt)) { in sme_send_authentication()
327 if (wpa_key_mgmt_fils(ssid->key_mgmt)) in sme_send_authentication()
343 } else if ((ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) && in sme_send_authentication()
344 wpa_key_mgmt_wpa_ieee8021x(ssid->key_mgmt)) { in sme_send_authentication()
352 } else if (wpa_key_mgmt_wpa_any(ssid->key_mgmt)) { in sme_send_authentication()
364 } else if (ssid->key_mgmt & WPA_KEY_MGMT_WPS) { in sme_send_authentication()
392 if (md && !wpa_key_mgmt_ft(ssid->key_mgmt)) in sme_send_authentication()
[all …]
Dwps_supplicant.c110 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS && !wpa_s->wps_success) in wpas_wps_eapol_cb()
113 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS && wpa_s->current_ssid && in wpas_wps_eapol_cb()
114 !(wpa_s->current_ssid->key_mgmt & WPA_KEY_MGMT_WPS)) { in wpas_wps_eapol_cb()
168 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS && wpa_s->current_ssid) { in wpas_wps_eapol_cb()
241 (capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA2_PSK)) { in wpas_wps_security_workaround()
298 ssid->key_mgmt != new_ssid->key_mgmt || in wpas_wps_remove_dup_network()
311 wpa_key_mgmt_wpa_psk(ssid->key_mgmt)) { in wpas_wps_remove_dup_network()
426 if (ssid && (ssid->key_mgmt & WPA_KEY_MGMT_WPS)) { in wpa_supplicant_wps_cred()
499 ssid->key_mgmt = WPA_KEY_MGMT_NONE; in wpa_supplicant_wps_cred()
514 ssid->key_mgmt = WPA_KEY_MGMT_PSK; in wpa_supplicant_wps_cred()
[all …]
Dconfig.c805 if (!errors && ssid->key_mgmt == val) in wpa_config_parse_key_mgmt()
808 ssid->key_mgmt = val; in wpa_config_parse_key_mgmt()
825 if (ssid->key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_config_write_key_mgmt()
835 if (ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_config_write_key_mgmt()
845 if (ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_config_write_key_mgmt()
855 if (ssid->key_mgmt & WPA_KEY_MGMT_NONE) { in wpa_config_write_key_mgmt()
865 if (ssid->key_mgmt & WPA_KEY_MGMT_WPA_NONE) { in wpa_config_write_key_mgmt()
876 if (ssid->key_mgmt & WPA_KEY_MGMT_FT_PSK) { in wpa_config_write_key_mgmt()
886 if (ssid->key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_config_write_key_mgmt()
898 if (ssid->key_mgmt & WPA_KEY_MGMT_PSK_SHA256) { in wpa_config_write_key_mgmt()
[all …]
Dmesh.c82 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) in mesh_config_create()
301 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpa_supplicant_mesh_init()
421 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { in wpa_supplicant_join_mesh()
443 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { in wpa_supplicant_join_mesh()
/external/wpa_supplicant_8/src/rsn_supp/
Dwpa_ie.c43 int key_mgmt) in wpa_gen_wpa_ie_wpa() argument
83 if (key_mgmt == WPA_KEY_MGMT_IEEE8021X) { in wpa_gen_wpa_ie_wpa()
85 } else if (key_mgmt == WPA_KEY_MGMT_PSK) { in wpa_gen_wpa_ie_wpa()
87 } else if (key_mgmt == WPA_KEY_MGMT_WPA_NONE) { in wpa_gen_wpa_ie_wpa()
89 } else if (key_mgmt == WPA_KEY_MGMT_CCKM) { in wpa_gen_wpa_ie_wpa()
93 key_mgmt); in wpa_gen_wpa_ie_wpa()
110 int key_mgmt, int mgmt_group_cipher, in wpa_gen_wpa_ie_rsn() argument
155 if (key_mgmt == WPA_KEY_MGMT_IEEE8021X) { in wpa_gen_wpa_ie_rsn()
157 } else if (key_mgmt == WPA_KEY_MGMT_PSK) { in wpa_gen_wpa_ie_rsn()
159 } else if (key_mgmt == WPA_KEY_MGMT_CCKM) { in wpa_gen_wpa_ie_rsn()
[all …]
Dwpa.c53 size_t mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len); in wpa_eapol_key_send()
57 MAC2STR(dest), ver, (int) mic_len, sm->key_mgmt); in wpa_eapol_key_send()
81 wpa_eapol_key_mic(ptk->kck, ptk->kck_len, sm->key_mgmt, ver, in wpa_eapol_key_send()
85 ver, sm->key_mgmt); in wpa_eapol_key_send()
184 if (sm->key_mgmt == WPA_KEY_MGMT_OSEN || in wpa_sm_key_request()
185 wpa_key_mgmt_suite_b(sm->key_mgmt)) in wpa_sm_key_request()
187 else if (wpa_key_mgmt_ft(sm->key_mgmt) || in wpa_sm_key_request()
188 wpa_key_mgmt_sha256(sm->key_mgmt)) in wpa_sm_key_request()
201 mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len); in wpa_sm_key_request()
245 if (sm->key_mgmt == WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_supplicant_key_mgmt_set_pmk()
[all …]
Dwpa_ft.c47 sm->key_mgmt, sm->pairwise_cipher); in wpa_derive_ptk_ft()
202 if (sm->key_mgmt == WPA_KEY_MGMT_FT_IEEE8021X) in wpa_ft_gen_req_ies()
204 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_PSK) in wpa_ft_gen_req_ies()
206 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_SAE) in wpa_ft_gen_req_ies()
209 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_FILS_SHA256) in wpa_ft_gen_req_ies()
211 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_FILS_SHA384) in wpa_ft_gen_req_ies()
216 sm->key_mgmt); in wpa_ft_gen_req_ies()
407 if (!wpa_key_mgmt_ft(sm->key_mgmt)) { in wpa_ft_process_response()
485 ptk_name, sm->key_mgmt, sm->pairwise_cipher) < 0) in wpa_ft_process_response()
532 if (!wpa_key_mgmt_ft(sm->key_mgmt)) in wpa_ft_is_completed()
[all …]
Dpreauth.c314 (sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X && in rsn_preauth_candidate_process()
315 sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SHA256 && in rsn_preauth_candidate_process()
316 sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SUITE_B && in rsn_preauth_candidate_process()
317 sm->key_mgmt != WPA_KEY_MGMT_IEEE8021X_SUITE_B_192)) { in rsn_preauth_candidate_process()
/external/wpa_supplicant_8/src/ap/
Dwpa_auth_ie.c517 int ciphers, key_mgmt, res, version; in wpa_validate_wpa_ie() local
545 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B_192) in wpa_validate_wpa_ie()
547 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B) in wpa_validate_wpa_ie()
551 else if (data.key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) in wpa_validate_wpa_ie()
553 else if (data.key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) in wpa_validate_wpa_ie()
556 else if (data.key_mgmt & WPA_KEY_MGMT_FILS_SHA384) in wpa_validate_wpa_ie()
558 else if (data.key_mgmt & WPA_KEY_MGMT_FILS_SHA256) in wpa_validate_wpa_ie()
562 else if (data.key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) in wpa_validate_wpa_ie()
564 else if (data.key_mgmt & WPA_KEY_MGMT_FT_PSK) in wpa_validate_wpa_ie()
568 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SHA256) in wpa_validate_wpa_ie()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/
Dwpa_supplicant.conf.sgml55 key_mgmt=WPA-PSK
63 key_mgmt=WPA-EAP
86 key_mgmt=WPA-EAP
108 key_mgmt=WPA-EAP
130 key_mgmt=IEEE8021X
155 key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE
184 key_mgmt=IEEE8021X
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp244 const char *key_mgmt = NULL, *proto = NULL, *pairwise = NULL; in addNetwork() local
249 key_mgmt = "NONE"; in addNetwork()
252 key_mgmt = "IEEE8021X"; in addNetwork()
255 key_mgmt = "WPA-PSK"; in addNetwork()
259 key_mgmt = "WPA-EAP"; in addNetwork()
263 key_mgmt = "WPA-PSK"; in addNetwork()
267 key_mgmt = "WPA-EAP"; in addNetwork()
288 if (key_mgmt) in addNetwork()
289 setNetworkParam(id, "key_mgmt", key_mgmt, false); in addNetwork()
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new_handlers.c2615 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities()
2714 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_getter_capabilities()
2718 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_FT) && in wpas_dbus_getter_capabilities()
2731 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in wpas_dbus_getter_capabilities()
2735 ((capa.key_mgmt & in wpas_dbus_getter_capabilities()
2749 if ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities()
2781 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpas_dbus_getter_capabilities()
2785 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_getter_capabilities()
3477 } else if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X || in wpas_dbus_getter_current_auth_mode()
3478 wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpas_dbus_getter_current_auth_mode()
[all …]
Ddbus_old_handlers.c542 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_iface_capabilities()
611 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_iface_capabilities()
615 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in wpas_dbus_iface_capabilities()
619 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_iface_capabilities()
644 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpas_dbus_iface_capabilities()
648 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_iface_capabilities()
/external/wpa_supplicant_8/src/common/
Dwpa_common.c788 parse->key_mgmt = data.key_mgmt; in wpa_ft_parse_ies()
982 data->key_mgmt = WPA_KEY_MGMT_IEEE8021X; in wpa_parse_wpa_ie_rsn()
1073 data->key_mgmt = 0; in wpa_parse_wpa_ie_rsn()
1083 data->key_mgmt |= rsn_key_mgmt_to_bitfield(pos); in wpa_parse_wpa_ie_rsn()
1178 data->key_mgmt = WPA_KEY_MGMT_IEEE8021X; in wpa_parse_wpa_ie_wpa()
1236 data->key_mgmt = 0; in wpa_parse_wpa_ie_wpa()
1246 data->key_mgmt |= wpa_key_mgmt_to_bitfield(pos); in wpa_parse_wpa_ie_wpa()
1637 const char * wpa_key_mgmt_txt(int key_mgmt, int proto) in wpa_key_mgmt_txt() argument
1639 switch (key_mgmt) { in wpa_key_mgmt_txt()
1758 ie1d.key_mgmt == ie2d.key_mgmt && in wpa_compare_rsn_ie()
Dwpa_common.h380 int key_mgmt; member
417 const char * wpa_key_mgmt_txt(int key_mgmt, int proto);
443 int key_mgmt; member
/external/wpa_supplicant_8/wpa_supplicant/examples/
Dplaintext.conf7 key_mgmt=NONE
Dwep.conf7 key_mgmt=NONE
Dieee8021x.conf7 key_mgmt=IEEE8021X
Dwpa-psk-tkip.conf7 key_mgmt=WPA-PSK
Dwpa2-eap-ccmp.conf7 key_mgmt=WPA-EAP
DopenCryptoki.conf24 key_mgmt=WPA-EAP

123