Home
last modified time | relevance | path

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

123

/freebsd/contrib/wpa/src/wps/
H A Dwps_attr_process.c123 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()
H A Dwps_enrollee.c255 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()
856 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
[all …]
H A Dwps_registrar.c1551 cred->auth_type); in wps_build_cred_auth_type()
1554 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type()
1642 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1664 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
1665 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1666 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1668 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1669 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1671 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred()
1672 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred()
[all …]
H A Dwps_attr_parse.h45 const u8 *auth_type; /* 2 octets */ member
H A Dwps_i.h94 u16 auth_type; member
H A Dwps_validate.c1043 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()
/freebsd/contrib/tcpdump/
H A Dprint-bfd.c96 nd_uint8_t auth_type; member
102 enum auth_type { enum
187 uint8_t auth_type, auth_len; in auth_print() local
193 auth_type = GET_U_1(bfd_auth_header->auth_type); in auth_print()
196 tok2str(bfd_v1_authentication_values,"Unknown",auth_type), in auth_print()
197 auth_type, auth_len); in auth_print()
201 switch(auth_type) { in auth_print()
H A Dprint-vrrp.c109 int version, type, auth_type = VRRP_AUTH_NONE; /* keep compiler happy */ in vrrp_print() local
125 auth_type = GET_U_1(bp + 4); in vrrp_print()
126 ND_PRINT(", authtype %s", tok2str(auth2str, NULL, auth_type)); in vrrp_print()
178 if (version == 2 && auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */ in vrrp_print()
H A Dprint-rip.c238 uint16_t auth_type = GET_BE_U_2(eh->rip_tag); in rip_entry_print_v2() local
242 if (auth_type == 2) { in rip_entry_print_v2()
245 } else if (auth_type == 3) { in rip_entry_print_v2()
261 } else if (auth_type == 1) { in rip_entry_print_v2()
267 auth_type); in rip_entry_print_v2()
H A Dprint-lisp.c163 static const struct tok auth_type[] = { variable
272 tok2str(auth_type, "unknown-type", key_id)); in lisp_print()
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c368 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 …]
/freebsd/sbin/routed/rtquery/
H A Drtquery.c97 int auth_type = RIP_AUTH_NONE; variable
234 auth_type = RIP_AUTH_PW; in main()
236 auth_type = RIP_AUTH_MD5; in main()
242 if (auth_type == RIP_AUTH_MD5 in main()
368 if (auth_type == RIP_AUTH_PW) { in query_loop()
375 } else if (auth_type == RIP_AUTH_MD5) { in query_loop()
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c379 u16 auth_type; in wpa_supplicant_wps_cred() local
409 cred->auth_type); in wpa_supplicant_wps_cred()
417 auth_type = cred->auth_type; in wpa_supplicant_wps_cred()
418 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
421 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
424 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred()
425 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
426 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
429 auth_type); in wpa_supplicant_wps_cred()
433 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
[all …]
H A Dsme.c2016 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
2024 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth()
2068 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
2082 wpa_s->sme.auth_alg == data->auth.auth_type || in sme_event_auth()
2092 switch (data->auth.auth_type) { in sme_event_auth()
2115 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth()
2143 if (data->auth.auth_type == WLAN_AUTH_FILS_SK || in sme_event_auth()
2144 data->auth.auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_event_auth()
2150 if (data->auth.auth_type != expect_auth_type) { in sme_event_auth()
2153 data->auth.auth_type, expect_auth_type); in sme_event_auth()
[all …]
H A Dsme.h17 const u8 *bssid, u16 auth_type);
/freebsd/usr.sbin/bhyve/
H A Drfb.c991 uint8_t auth_type; in rfb_handle() local
1022 auth_type = SECURITY_TYPE_VNC_AUTH; in rfb_handle()
1024 auth_type = SECURITY_TYPE_NONE; in rfb_handle()
1027 auth_type = SECURITY_TYPE_NONE; in rfb_handle()
1034 buf[1] = auth_type; in rfb_handle()
1039 if (buf[0] != auth_type) { in rfb_handle()
1048 be32enc(buf, auth_type); in rfb_handle()
1054 switch (auth_type) { in rfb_handle()
1134 if (auth_type == SECURITY_TYPE_VNC_AUTH) { in rfb_handle()
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_ccert_single_ec.c68 choices->auth_type = BR_AUTH_ECDH; in cc_choose()
84 choices->auth_type = BR_AUTH_ECDSA; in cc_choose()
H A Dssl_ccert_single_rsa.c63 choices->auth_type = BR_AUTH_RSA; in cc_choose()
/freebsd/contrib/sendmail/cf/m4/
H A Dcfhead.m4284 define(`_REC_AUTH_', `$.$?{auth_type}(authenticated')
285 define(`_REC_FULL_AUTH_', `$.$?{auth_type}(user=${auth_authen} $?{auth_author}author=${auth_author}…
321 define(`confMILTER_MACROS_ENVFROM', ``i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {ma…
/freebsd/contrib/wpa/src/common/
H A Dprivsep_commands.h105 u16 auth_type; member
/freebsd/contrib/wpa/src/eap_peer/
H A 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()
/freebsd/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new.c730 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 …]
/freebsd/contrib/sendmail/src/
H A Dsrvrsmtp.c116 get_sasl_user(auth_user_tmp, auth_user_len, auth_type, auth_user, sizeof(auth_user))
1014 char *volatile auth_type; local
1282 auth_type = NULL;
1829 macid("{auth_type}"), auth_type);
1923 auth_type, *ssf);
1973 (auth_type != NULL) ? auth_type : "unknown", \
2240 auth_type = newstr(p);
6025 get_sasl_user(val, len, auth_type, user, user_len) in get_sasl_user() argument
6028 const char *auth_type;
6039 if (SM_IS_EMPTY(auth_type))
[all …]
/freebsd/contrib/bearssl/tools/
H A Dclient.c298 choices->auth_type = BR_AUTH_RSA; in cc_choose()
315 choices->auth_type = BR_AUTH_ECDH; in cc_choose()
328 choices->auth_type = BR_AUTH_ECDSA; in cc_choose()
/freebsd/contrib/libpcap/
H A Dpcap-rpcap.c1981 uint16 auth_type; in rpcap_doauth() local
2027 auth_type = (uint16)auth->type; in rpcap_doauth()
2031 auth_type = RPCAP_RMTAUTH_NULL; in rpcap_doauth()
2050 rpauth->type = htons(auth_type); in rpcap_doauth()
2052 if (auth_type == RPCAP_RMTAUTH_PWD) in rpcap_doauth()

123