Home
last modified time | relevance | path

Searched refs:auth_type (Results 1 – 25 of 43) sorted by relevance

12

/external/wpa_supplicant_8/src/wps/
Dwps_attr_process.c122 const u8 *auth_type) in wps_process_cred_auth_type() argument
124 if (auth_type == NULL) { in wps_process_cred_auth_type()
130 cred->auth_type = WPA_GET_BE16(auth_type); in wps_process_cred_auth_type()
132 cred->auth_type); in wps_process_cred_auth_type()
174 if (cred->auth_type == WPS_AUTH_OPEN && in wps_process_cred_network_key()
212 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
234 if (cred->auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK) && in wps_workaround_cred_key()
254 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_cred()
273 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_ap_settings()
Dwps_registrar.c1524 cred->auth_type); in wps_build_cred_auth_type()
1527 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type()
1611 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
1612 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1613 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1614 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1615 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1616 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred()
1617 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred()
1620 wps->auth_type); in wps_build_cred()
[all …]
Dwps_enrollee.c251 u16 auth_type = wps->wps->ap_auth_type; in wps_build_cred_auth_type() local
258 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()
259 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type()
260 else if (auth_type & WPS_AUTH_WPAPSK) in wps_build_cred_auth_type()
261 auth_type = WPS_AUTH_WPAPSK; in wps_build_cred_auth_type()
262 else if (auth_type & WPS_AUTH_OPEN) in wps_build_cred_auth_type()
263 auth_type = WPS_AUTH_OPEN; in wps_build_cred_auth_type()
265 wpa_printf(MSG_DEBUG, "WPS: * Authentication Type (0x%x)", auth_type); in wps_build_cred_auth_type()
268 wpabuf_put_be16(msg, auth_type); in wps_build_cred_auth_type()
854 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
[all …]
Dwps_attr_parse.h45 const u8 *auth_type; /* 2 octets */ member
/external/autotest/server/cros/ap_configurators/
DbelkinF9k1002v4_ap_configurator.py26 auth_type = 'WPA-PSK'
28 auth_type = 'WPA2-PSK'
29 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF7D_ap_configurator.py45 auth_type = 'WPA2-PSK'
47 auth_type = 'WPA-PSK'
48 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF6D4230_ap_configurator.py53 auth_type = 'WPA-PSK'
55 auth_type = 'WPA2-PSK'
56 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF5D7234_ap_configurator.py77 auth_type = 'WPA-PSK'
79 auth_type = 'WPA2-PSK'
80 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF9K_ap_configurator.py278 auth_type = 'WPA-PSK'
280 auth_type = 'WPA2-PSK'
281 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF9K1102_ap_configurator.py281 auth_type = 'WPA-PSK'
283 auth_type = 'WPA2-PSK'
285 self.select_item_from_popup_by_xpath(auth_type, auth_popup,
/external/tcpdump/
Dprint-vrrp.c110 int version, type, auth_type = VRRP_AUTH_NONE; /* keep compiler happy */ in vrrp_print() local
127 auth_type = bp[4]; in vrrp_print()
128 ND_PRINT((ndo, ", authtype %s", tok2str(auth2str, NULL, auth_type))); in vrrp_print()
170 if (version == 2 && auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */ in vrrp_print()
Dprint-bfd.c94 uint8_t auth_type; member
100 enum auth_type { enum
190 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type), in auth_print()
191 bfd_auth_header->auth_type, in auth_print()
196 switch(bfd_auth_header->auth_type) { in auth_print()
Dprint-rip.c135 uint16_t auth_type = EXTRACT_16BITS(&ni->rip_tag); in rip_entry_print_v2() local
136 if (auth_type == 2) { in rip_entry_print_v2()
142 } else if (auth_type == 3) { in rip_entry_print_v2()
150 } else if (auth_type == 1) { in rip_entry_print_v2()
Dprint-lisp.c168 static const struct tok auth_type[] = { variable
274 tok2str(auth_type, "unknown-type", key_id))); in lisp_print()
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Drfbtightserver.c108 uint32_t auth_type; in rfbProcessClientAuthType() local
118 n = rfbReadExact(cl, (char *)&auth_type, sizeof(auth_type)); in rfbProcessClientAuthType()
127 auth_type = Swap32IfLE(auth_type); in rfbProcessClientAuthType()
131 if (auth_type == rtcp->authCaps[i]) in rfbProcessClientAuthType()
141 switch (auth_type) { in rfbProcessClientAuthType()
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c327 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()
328 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory()
330 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()
332 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
338 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) in hapd_wps_reconfig_in_memory()
340 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
414 cred->auth_type); in hapd_wps_cred_cb()
444 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb()
446 hapd->wps->ap_auth_type = cred->auth_type; in hapd_wps_cred_cb()
451 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c364 u16 auth_type; in wpa_supplicant_wps_cred() local
393 cred->auth_type); in wpa_supplicant_wps_cred()
401 auth_type = cred->auth_type; in wpa_supplicant_wps_cred()
402 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
405 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
408 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred()
409 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
410 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
413 auth_type); in wpa_supplicant_wps_cred()
417 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
[all …]
Dsme.c854 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
862 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth()
895 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
903 wpa_s->sme.auth_alg == data->auth.auth_type || in sme_event_auth()
912 switch (data->auth.auth_type) { in sme_event_auth()
935 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth()
962 if (data->auth.auth_type == WLAN_AUTH_FILS_SK) { in sme_event_auth()
980 data->auth.auth_type); in sme_event_auth()
985 const u8 *bssid, u16 auth_type) in sme_associate() argument
1004 if (auth_type == WLAN_AUTH_FILS_SK) { in sme_associate()
[all …]
Dsme.h17 const u8 *bssid, u16 auth_type);
/external/autotest/client/cros/
Dvpn_server.py154 def __init__(self, auth_type, interface_name, address, network_prefix, argument
156 self._auth_type = auth_type
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h105 u16 auth_type; member
/external/ipsec-tools/src/racoon/
Disakmp_xauth.h141 int auth_type; member
/external/wpa_supplicant_8/wpa_supplicant/dbus/
Ddbus_new.c728 char *auth_type[5]; /* we have five possible authentication types */ in wpas_dbus_signal_wps_cred() local
749 if (cred->auth_type & WPS_AUTH_OPEN) in wpas_dbus_signal_wps_cred()
750 auth_type[at_num++] = "open"; in wpas_dbus_signal_wps_cred()
751 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred()
752 auth_type[at_num++] = "wpa-psk"; in wpas_dbus_signal_wps_cred()
753 if (cred->auth_type & WPS_AUTH_WPA) in wpas_dbus_signal_wps_cred()
754 auth_type[at_num++] = "wpa-eap"; in wpas_dbus_signal_wps_cred()
755 if (cred->auth_type & WPS_AUTH_WPA2) in wpas_dbus_signal_wps_cred()
756 auth_type[at_num++] = "wpa2-eap"; in wpas_dbus_signal_wps_cred()
757 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred()
[all …]
/external/kernel-headers/original/uapi/linux/
Dncp_fs.h88 int auth_type; member
/external/wpa_supplicant_8/src/eap_peer/
Deap_wsc.c88 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()

12