/hostap-3.7.0/src/wps/ |
D | wps_attr_process.c | 123 const u8 *auth_type) in wps_process_cred_auth_type() argument 125 if (auth_type == NULL) { in wps_process_cred_auth_type() 131 cred->auth_type = WPA_GET_BE16(auth_type); in wps_process_cred_auth_type() 133 cred->auth_type); in wps_process_cred_auth_type() 175 if (cred->auth_type == WPS_AUTH_OPEN && in wps_process_cred_network_key() 213 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key() 235 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key() 255 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_cred() 274 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_ap_settings()
|
D | wps_enrollee.c | 255 u16 auth_type = wps->wps->ap_auth_type; in wps_build_cred_auth_type() local 262 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type() 263 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type() 264 else if (auth_type & WPS_AUTH_WPAPSK) in wps_build_cred_auth_type() 265 auth_type = WPS_AUTH_WPAPSK; in wps_build_cred_auth_type() 266 else if (auth_type & WPS_AUTH_OPEN) in wps_build_cred_auth_type() 267 auth_type = WPS_AUTH_OPEN; in wps_build_cred_auth_type() 269 wpa_printf(MSG_DEBUG, "WPS: * Authentication Type (0x%x)", auth_type); in wps_build_cred_auth_type() 272 wpabuf_put_be16(msg, auth_type); in wps_build_cred_auth_type() 858 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e() [all …]
|
D | wps_registrar.c | 1552 cred->auth_type); in wps_build_cred_auth_type() 1555 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type() 1643 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred() 1665 wps->wps->auth_types, wps->auth_type); in wps_build_cred() 1666 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred() 1667 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred() 1669 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred() 1670 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred() 1672 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred() 1673 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred() [all …]
|
D | wps_attr_parse.h | 45 const u8 *auth_type; /* 2 octets */ member
|
D | wps_i.h | 94 u16 auth_type; member
|
D | wps_validate.c | 1043 wps_validate_auth_type(attr.auth_type, 1) || in wps_validate_cred() 1742 wps_validate_auth_type(attr.auth_type, !ap) || in wps_validate_m7_encr() 1814 wps_validate_auth_type(attr.auth_type, ap) || in wps_validate_m8_encr()
|
D | wps_common.c | 371 data.auth_type = wps->auth_types; in wps_get_oob_cred() 393 cred.auth_type = WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK; in wps_get_oob_cred()
|
D | wps_attr_parse.c | 401 attr->auth_type = pos; in wps_set_attr()
|
D | wps.h | 50 u16 auth_type; member
|
/hostap-3.7.0/src/ap/ |
D | wps_hostapd.c | 368 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK | in hapd_wps_reconfig_in_memory() 374 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory() 375 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory() 377 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory() 379 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory() 386 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) in hapd_wps_reconfig_in_memory() 388 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory() 408 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_reconfig_in_memory() 475 cred->auth_type); in hapd_wps_cred_cb() 505 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb() [all …]
|
D | drv_callbacks.c | 1266 if (rx_auth->auth_type == WLAN_AUTH_FT && hapd->wpa_auth) { in hostapd_notif_auth() 1286 if (rx_auth->auth_type == WLAN_AUTH_FILS_SK) { in hostapd_notif_auth() 1289 rx_auth->auth_type, rx_auth->auth_transaction, in hostapd_notif_auth()
|
/hostap-3.7.0/wpa_supplicant/ |
D | wps_supplicant.c | 369 u16 auth_type; in wpa_supplicant_wps_cred() local 399 cred->auth_type); in wpa_supplicant_wps_cred() 407 auth_type = cred->auth_type; in wpa_supplicant_wps_cred() 408 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred() 411 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred() 414 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred() 415 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred() 416 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred() 419 auth_type); in wpa_supplicant_wps_cred() 423 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred() [all …]
|
D | sme.c | 1556 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth() 1564 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth() 1595 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth() 1609 wpa_s->sme.auth_alg == data->auth.auth_type || in sme_event_auth() 1618 switch (data->auth.auth_type) { in sme_event_auth() 1641 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth() 1668 if (data->auth.auth_type == WLAN_AUTH_FILS_SK || in sme_event_auth() 1669 data->auth.auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_event_auth() 1675 if (data->auth.auth_type != expect_auth_type) { in sme_event_auth() 1678 data->auth.auth_type, expect_auth_type); in sme_event_auth() [all …]
|
D | sme.h | 17 const u8 *bssid, u16 auth_type);
|
D | wpa_priv.c | 906 auth->auth_type = data->auth.auth_type; in wpa_priv_send_auth()
|
D | README-WPS | 314 WPS-ER-AP-SETTINGS uuid=fd91b4ec-e3fa-5891-a57d-8c59efeed1d2 ssid=test-wps auth_type=0x0020 encr_ty…
|
/hostap-3.7.0/src/eap_peer/ |
D | eap_wsc.c | 88 cred->auth_type = WPS_AUTH_OPEN; in eap_wsc_new_ap_settings() 90 cred->auth_type = WPS_AUTH_WPAPSK; in eap_wsc_new_ap_settings() 92 cred->auth_type = WPS_AUTH_WPA2PSK; in eap_wsc_new_ap_settings()
|
/hostap-3.7.0/src/common/ |
D | privsep_commands.h | 105 u16 auth_type; member
|
/hostap-3.7.0/wpa_supplicant/dbus/ |
D | dbus_new.c | 730 char *auth_type[5]; /* we have five possible authentication types */ in wpas_dbus_signal_wps_cred() local 751 if (cred->auth_type & WPS_AUTH_OPEN) in wpas_dbus_signal_wps_cred() 752 auth_type[at_num++] = "open"; in wpas_dbus_signal_wps_cred() 754 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred() 755 auth_type[at_num++] = "wpa-psk"; in wpas_dbus_signal_wps_cred() 756 if (cred->auth_type & WPS_AUTH_WPA) in wpas_dbus_signal_wps_cred() 757 auth_type[at_num++] = "wpa-eap"; in wpas_dbus_signal_wps_cred() 759 if (cred->auth_type & WPS_AUTH_WPA2) in wpas_dbus_signal_wps_cred() 760 auth_type[at_num++] = "wpa2-eap"; in wpas_dbus_signal_wps_cred() 761 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred() [all …]
|
/hostap-3.7.0/src/drivers/ |
D | driver_privsep.c | 401 data.auth.auth_type = auth->auth_type; in wpa_driver_privsep_event_auth()
|
D | driver.h | 5572 u16 auth_type; member
|
D | driver_atheros.c | 937 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in atheros_raw_receive()
|
D | driver_nl80211_event.c | 219 event.auth.auth_type = le_to_host16(mgmt->u.auth.auth_alg); in mlme_event_auth()
|
/hostap-3.7.0/hostapd/ |
D | config_file.c | 3968 u8 auth_type; in hostapd_config_fill() local 3970 if (hexstr2bin(pos, &auth_type, 1)) { in hostapd_config_fill() 3976 if (auth_type == 0 || auth_type == 2) in hostapd_config_fill() 3984 *bss->network_auth_type = auth_type; in hostapd_config_fill()
|
/hostap-3.7.0/tests/hwsim/ |
D | test_ap_wps.py | 7145 def build_cred(nw_idx='\x01', ssid='test-wps-conf', auth_type='\x00\x20', argument 7153 if auth_type is not None: 7154 attrs += build_wsc_attr(ATTR_AUTH_TYPE, auth_type) 7196 m8_cred = build_cred(mac_addr=mac_addr, auth_type=None) 7214 m8_cred = build_cred(mac_addr=mac_addr, auth_type='\x00\x01',
|