/external/wpa_supplicant_8/wpa_supplicant/ |
D | wpa_supplicant.conf | 1701 key_mgmt=WPA-PSK 1712 key_mgmt=WPA-PSK 1724 key_mgmt=WPA-EAP 1740 key_mgmt=WPA-EAP 1754 key_mgmt=WPA-EAP 1767 key_mgmt=WPA-EAP 1780 key_mgmt=WPA-EAP 1800 key_mgmt=WPA-PSK WPA-EAP 1817 key_mgmt=WPA-EAP 1827 key_mgmt=WPA-EAP [all …]
|
D | events.c | 194 if ((wpa_s->current_ssid->key_mgmt & WPA_KEY_MGMT_OWE) && in wpa_supplicant_select_config() 238 if (wpa_key_mgmt_wpa_any(ssid->key_mgmt)) { in wpa_supplicant_select_config() 329 if (wpa_key_mgmt_wpa_psk(wpa_s->key_mgmt) || in wpa_supplicant_mark_disassoc() 330 wpa_s->key_mgmt == WPA_KEY_MGMT_OWE || in wpa_supplicant_mark_disassoc() 331 wpa_s->key_mgmt == WPA_KEY_MGMT_DPP || wpa_s->drv_authorized_port) in wpa_supplicant_mark_disassoc() 337 wpa_s->key_mgmt = 0; in wpa_supplicant_mark_disassoc() 405 if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE || in wpa_supplicant_dynamic_keys() 406 wpa_s->key_mgmt == WPA_KEY_MGMT_WPA_NONE) in wpa_supplicant_dynamic_keys() 410 if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA && in wpa_supplicant_dynamic_keys() 521 if (ssid->key_mgmt & WPA_KEY_MGMT_WPS) in wpa_supplicant_match_privacy() [all …]
|
D | wpa_supplicant.c | 317 wpa_s->key_mgmt != WPA_KEY_MGMT_NONE && in wpa_supplicant_initiate_eapol() 318 wpa_s->key_mgmt != WPA_KEY_MGMT_WPA_NONE) { in wpa_supplicant_initiate_eapol() 333 if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE || in wpa_supplicant_initiate_eapol() 334 wpa_s->key_mgmt == WPA_KEY_MGMT_WPA_NONE) in wpa_supplicant_initiate_eapol() 340 if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_supplicant_initiate_eapol() 357 !wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) && in wpa_supplicant_initiate_eapol() 358 wpa_s->key_mgmt != WPA_KEY_MGMT_IEEE8021X_NO_WPA && in wpa_supplicant_initiate_eapol() 359 wpa_s->key_mgmt != WPA_KEY_MGMT_WPS; in wpa_supplicant_initiate_eapol() 363 if (wpa_s->key_mgmt == WPA_KEY_MGMT_WPS) { in wpa_supplicant_initiate_eapol() 382 if (wpa_s->key_mgmt == WPA_KEY_MGMT_NONE && ssid->mka_psk_set) in wpa_supplicant_initiate_eapol() [all …]
|
D | wpas_glue.c | 157 if (wpa_key_mgmt_wpa_psk(wpa_s->key_mgmt) || in wpa_supplicant_eapol_send() 158 wpa_s->key_mgmt == WPA_KEY_MGMT_OWE || in wpa_supplicant_eapol_send() 159 wpa_s->key_mgmt == WPA_KEY_MGMT_DPP || in wpa_supplicant_eapol_send() 160 wpa_s->key_mgmt == WPA_KEY_MGMT_NONE) { in wpa_supplicant_eapol_send() 245 if (wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_eapol_set_wep_key() 325 if (!wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) in wpa_supplicant_eapol_cb() 332 if (wpa_key_mgmt_ft(wpa_s->key_mgmt)) { in wpa_supplicant_eapol_cb() 382 if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) { in wpa_supplicant_notify_eapol_done() 413 if (ssid && (ssid->key_mgmt & WPA_KEY_MGMT_OWE) && in wpa_get_beacon_ie() 1274 ssid->key_mgmt &= ~(WPA_KEY_MGMT_PSK | WPA_KEY_MGMT_FT_PSK | in disable_wpa_wpa2() [all …]
|
D | sme.c | 373 if (ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in sme_send_authentication() 391 if (wpa_key_mgmt_sae(ssid->key_mgmt)) { in sme_send_authentication() 401 (ssid->key_mgmt & WPA_KEY_MGMT_DPP) && in sme_send_authentication() 402 (ied.key_mgmt & WPA_KEY_MGMT_DPP)) { in sme_send_authentication() 406 wpa_key_mgmt_sae(ied.key_mgmt)) { in sme_send_authentication() 431 wpa_key_mgmt_wpa(ssid->key_mgmt)) { in sme_send_authentication() 440 if (wpa_key_mgmt_fils(ssid->key_mgmt)) in sme_send_authentication() 459 (ssid->key_mgmt & WPA_KEY_MGMT_OSEN)) { in sme_send_authentication() 471 } else if ((ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) && in sme_send_authentication() 472 wpa_key_mgmt_wpa_ieee8021x(ssid->key_mgmt)) { in sme_send_authentication() [all …]
|
D | wps_supplicant.c | 110 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() 305 ssid->key_mgmt != new_ssid->key_mgmt || in wpas_wps_remove_dup_network() 318 wpa_key_mgmt_wpa_psk(ssid->key_mgmt)) { in wpas_wps_remove_dup_network() 433 if (ssid && (ssid->key_mgmt & WPA_KEY_MGMT_WPS)) { in wpa_supplicant_wps_cred() 516 ssid->key_mgmt = WPA_KEY_MGMT_NONE; in wpa_supplicant_wps_cred() 531 ssid->key_mgmt = WPA_KEY_MGMT_PSK; in wpa_supplicant_wps_cred() 536 ssid->key_mgmt = WPA_KEY_MGMT_PSK; in wpa_supplicant_wps_cred() [all …]
|
D | config.c | 860 if (!errors && ssid->key_mgmt == val) in wpa_config_parse_key_mgmt() 863 ssid->key_mgmt = val; in wpa_config_parse_key_mgmt() 880 if (ssid->key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_config_write_key_mgmt() 890 if (ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_config_write_key_mgmt() 900 if (ssid->key_mgmt & WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_config_write_key_mgmt() 910 if (ssid->key_mgmt & WPA_KEY_MGMT_NONE) { in wpa_config_write_key_mgmt() 920 if (ssid->key_mgmt & WPA_KEY_MGMT_WPA_NONE) { in wpa_config_write_key_mgmt() 931 if (ssid->key_mgmt & WPA_KEY_MGMT_FT_PSK) { in wpa_config_write_key_mgmt() 941 if (ssid->key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_config_write_key_mgmt() 952 if (ssid->key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X_SHA384) { in wpa_config_write_key_mgmt() [all …]
|
D | ctrl_iface.c | 2233 wpa_key_mgmt_wpa_psk(ssid->key_mgmt) && in wpa_supplicant_ctrl_iface_status() 2362 wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt)) { in wpa_supplicant_ctrl_iface_status() 2440 if (wpa_key_mgmt_wpa_ieee8021x(wpa_s->key_mgmt) || in wpa_supplicant_ctrl_iface_status() 2441 wpa_s->key_mgmt == WPA_KEY_MGMT_IEEE8021X_NO_WPA) { in wpa_supplicant_ctrl_iface_status() 2762 if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X) { in wpa_supplicant_ie_txt() 2769 if (data.key_mgmt & WPA_KEY_MGMT_PSK) { in wpa_supplicant_ie_txt() 2776 if (data.key_mgmt & WPA_KEY_MGMT_WPA_NONE) { in wpa_supplicant_ie_txt() 2783 if (data.key_mgmt & WPA_KEY_MGMT_SAE) { in wpa_supplicant_ie_txt() 2791 if (data.key_mgmt & WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_supplicant_ie_txt() 2798 if (data.key_mgmt & WPA_KEY_MGMT_FT_PSK) { in wpa_supplicant_ie_txt() [all …]
|
D | mesh.c | 95 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) in mesh_config_create() 189 bss->conf->wpa_key_mgmt = ssid->key_mgmt; in wpas_mesh_init_rsn() 274 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { in wpas_mesh_complete() 643 if (ssid->key_mgmt & WPA_KEY_MGMT_SAE) { in wpa_supplicant_join_mesh()
|
/external/wpa_supplicant_8/src/rsn_supp/ |
D | wpa_ie.c | 43 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() 127 int key_mgmt, int mgmt_group_cipher, in wpa_gen_wpa_ie_rsn() argument 171 if (key_mgmt == WPA_KEY_MGMT_IEEE8021X) { in wpa_gen_wpa_ie_rsn() 173 } else if (key_mgmt == WPA_KEY_MGMT_PSK) { in wpa_gen_wpa_ie_rsn() 175 } else if (key_mgmt == WPA_KEY_MGMT_CCKM) { in wpa_gen_wpa_ie_rsn() [all …]
|
D | wpa_ft.c | 41 int use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_derive_ptk_ft() 80 ptk_name, sm->key_mgmt, sm->pairwise_cipher, in wpa_derive_ptk_ft() 111 use_sha384 = wpa_key_mgmt_sha384(sm->key_mgmt); in wpa_sm_set_ft_params() 250 if (sm->key_mgmt == WPA_KEY_MGMT_FT_IEEE8021X) in wpa_ft_gen_req_ies() 253 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_IEEE8021X_SHA384) in wpa_ft_gen_req_ies() 256 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_PSK) in wpa_ft_gen_req_ies() 258 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_SAE) in wpa_ft_gen_req_ies() 261 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_FILS_SHA256) in wpa_ft_gen_req_ies() 263 else if (sm->key_mgmt == WPA_KEY_MGMT_FT_FILS_SHA384) in wpa_ft_gen_req_ies() 268 sm->key_mgmt); in wpa_ft_gen_req_ies() [all …]
|
D | wpa.c | 58 size_t mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len); in wpa_eapol_key_send() 62 MAC2STR(dest), ver, (int) mic_len, sm->key_mgmt); in wpa_eapol_key_send() 86 wpa_eapol_key_mic(ptk->kck, ptk->kck_len, sm->key_mgmt, ver, in wpa_eapol_key_send() 90 ver, sm->key_mgmt); in wpa_eapol_key_send() 197 if (wpa_use_akm_defined(sm->key_mgmt)) in wpa_sm_key_request() 199 else if (wpa_key_mgmt_ft(sm->key_mgmt) || in wpa_sm_key_request() 200 wpa_key_mgmt_sha256(sm->key_mgmt)) in wpa_sm_key_request() 213 mic_len = wpa_mic_len(sm->key_mgmt, sm->pmk_len); in wpa_sm_key_request() 257 if (sm->key_mgmt == WPA_KEY_MGMT_FT_IEEE8021X) { in wpa_supplicant_key_mgmt_set_pmk() 305 if (sm->key_mgmt == WPA_KEY_MGMT_FT_SAE && in wpa_supplicant_get_pmk() [all …]
|
/external/wpa_supplicant_8/src/ap/ |
D | wpa_auth_ie.c | 595 int ciphers, key_mgmt, res, version; in wpa_validate_wpa_ie() local 624 if (wpa_key_mgmt_ft(data.key_mgmt) && !mdie && in wpa_validate_wpa_ie() 625 !wpa_key_mgmt_only_ft(data.key_mgmt)) { in wpa_validate_wpa_ie() 634 data.key_mgmt &= ~WPA_KEY_MGMT_FT; in wpa_validate_wpa_ie() 640 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B_192) in wpa_validate_wpa_ie() 642 else if (data.key_mgmt & WPA_KEY_MGMT_IEEE8021X_SUITE_B) in wpa_validate_wpa_ie() 646 else if (data.key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA384) in wpa_validate_wpa_ie() 648 else if (data.key_mgmt & WPA_KEY_MGMT_FT_FILS_SHA256) in wpa_validate_wpa_ie() 651 else if (data.key_mgmt & WPA_KEY_MGMT_FILS_SHA384) in wpa_validate_wpa_ie() 653 else if (data.key_mgmt & WPA_KEY_MGMT_FILS_SHA256) in wpa_validate_wpa_ie() [all …]
|
D | ieee802_1x.c | 1040 int key_mgmt; in ieee802_1x_receive() local 1108 key_mgmt = wpa_auth_sta_key_mgmt(sta->wpa_sm); in ieee802_1x_receive() 1109 if (key_mgmt != -1 && in ieee802_1x_receive() 1110 (wpa_key_mgmt_wpa_psk(key_mgmt) || key_mgmt == WPA_KEY_MGMT_OWE || in ieee802_1x_receive() 1111 key_mgmt == WPA_KEY_MGMT_DPP)) { in ieee802_1x_receive() 1232 int key_mgmt; in ieee802_1x_new_station() local 1258 key_mgmt = wpa_auth_sta_key_mgmt(sta->wpa_sm); in ieee802_1x_new_station() 1259 if (key_mgmt != -1 && in ieee802_1x_new_station() 1260 (wpa_key_mgmt_wpa_psk(key_mgmt) || key_mgmt == WPA_KEY_MGMT_OWE || in ieee802_1x_new_station() 1261 key_mgmt == WPA_KEY_MGMT_DPP)) { in ieee802_1x_new_station()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_capa.c | 263 unsigned int key_mgmt = 0; in get_akm_suites_info() local 274 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA | in get_akm_suites_info() 278 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in get_akm_suites_info() 282 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT; in get_akm_suites_info() 285 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT_PSK; in get_akm_suites_info() 288 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_802_1X_SHA256; in get_akm_suites_info() 291 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_PSK_SHA256; in get_akm_suites_info() 294 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_TPK_HANDSHAKE; in get_akm_suites_info() 297 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT_SAE; in get_akm_suites_info() 300 key_mgmt |= WPA_DRIVER_CAPA_KEY_MGMT_FT_802_1X_SHA384; in get_akm_suites_info() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/dbus/ |
D | dbus_new_handlers.c | 2720 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities() 2829 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_getter_capabilities() 2833 ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_FT) && in wpas_dbus_getter_capabilities() 2844 if (capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA_PSK | in wpas_dbus_getter_capabilities() 2848 ((capa.key_mgmt & in wpas_dbus_getter_capabilities() 2860 if ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_WPA_NONE) && in wpas_dbus_getter_capabilities() 2873 if ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_SAE) && in wpas_dbus_getter_capabilities() 2879 if ((capa.key_mgmt & WPA_DRIVER_CAPA_KEY_MGMT_OWE) && in wpas_dbus_getter_capabilities() 2904 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA2 | in wpas_dbus_getter_capabilities() 2908 ((capa.key_mgmt & (WPA_DRIVER_CAPA_KEY_MGMT_WPA | in wpas_dbus_getter_capabilities() [all …]
|
/external/wpa_supplicant_8/wpa_supplicant/doc/docbook/ |
D | wpa_supplicant.conf.sgml | 59 key_mgmt=WPA-PSK 67 key_mgmt=WPA-EAP 90 key_mgmt=WPA-EAP 112 key_mgmt=WPA-EAP 134 key_mgmt=IEEE8021X 159 key_mgmt=WPA-EAP WPA-PSK IEEE8021X NONE 188 key_mgmt=IEEE8021X
|
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/ |
D | networkconfig.cpp | 244 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/examples/ |
D | plaintext.conf | 7 key_mgmt=NONE
|
D | wep.conf | 7 key_mgmt=NONE
|
D | ieee8021x.conf | 7 key_mgmt=IEEE8021X
|
D | wpa-psk-tkip.conf | 7 key_mgmt=WPA-PSK
|
D | wpa2-eap-ccmp.conf | 7 key_mgmt=WPA-EAP
|
D | openCryptoki.conf | 24 key_mgmt=WPA-EAP
|
/external/wpa_supplicant_8/src/common/ |
D | wpa_common.c | 1039 parse->key_mgmt = data.key_mgmt; in wpa_ft_parse_ies() 1043 wpa_key_mgmt_sha384(parse->key_mgmt); in wpa_ft_parse_ies() 1550 data->key_mgmt = WPA_KEY_MGMT_IEEE8021X; in wpa_parse_wpa_ie_rsn() 1575 data->key_mgmt = WPA_KEY_MGMT_OSEN; in wpa_parse_wpa_ie_rsn() 1641 data->key_mgmt = 0; in wpa_parse_wpa_ie_rsn() 1651 data->key_mgmt |= rsn_key_mgmt_to_bitfield(pos); in wpa_parse_wpa_ie_rsn() 1744 data->key_mgmt = WPA_KEY_MGMT_IEEE8021X; in wpa_parse_wpa_ie_wpa() 1802 data->key_mgmt = 0; in wpa_parse_wpa_ie_wpa() 1812 data->key_mgmt |= wpa_key_mgmt_to_bitfield(pos); in wpa_parse_wpa_ie_wpa() 2340 const char * wpa_key_mgmt_txt(int key_mgmt, int proto) in wpa_key_mgmt_txt() argument [all …]
|