| /freebsd/contrib/wpa/src/wps/ |
| H A 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()
|
| H A 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() 856 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e() [all …]
|
| H A D | wps_registrar.c | 1551 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 D | wps_attr_parse.h | 45 const u8 *auth_type; /* 2 octets */ member
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-bfd.c | 96 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 D | print-vrrp.c | 109 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 D | print-rip.c | 238 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 D | print-lisp.c | 163 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 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 …]
|
| /freebsd/usr.sbin/ctld/ |
| H A D | ctld.cc | 178 auth_type type; in set_type() 181 type = auth_type::NO_AUTHENTICATION; in set_type() 183 type = auth_type::DENY; in set_type() 185 type = auth_type::CHAP; in set_type() 187 type = auth_type::CHAP_MUTUAL; in set_type() 193 if (ag_type != auth_type::UNKNOWN && ag_type != type) { in set_type() 205 auth_group::set_type(auth_type type) in set_type() 207 assert(ag_type == auth_type::UNKNOWN); in set_type() 243 if (ag_type == auth_type::UNKNOWN) in add_chap() 244 ag_type = auth_type::CHAP; in add_chap() [all …]
|
| H A D | login.cc | 369 assert(ag->type() == auth_type::CHAP || in login_receive_chap_r() 370 ag->type() == auth_type::CHAP_MUTUAL); in login_receive_chap_r() 1003 if (ag->type() == auth_type::DENY) { in login() 1008 if (ag->type() == auth_type::UNKNOWN) { in login() 1035 if (ag->type() != auth_type::NO_AUTHENTICATION) { in login() 1054 if (ag->type() == auth_type::NO_AUTHENTICATION) { in login() 1100 if (ag->type() != auth_type::NO_AUTHENTICATION) { in login()
|
| H A D | ctld.hh | 91 enum class auth_type { enum 102 auth_type type() const { return ag_type; } in type() 104 void set_type(auth_type type); 130 auth_type ag_type = auth_type::UNKNOWN;
|
| H A D | discovery.cc | 183 ag->type() != auth_type::NO_AUTHENTICATION) { in discovery_target_filtered_out() 186 auth_type::NO_AUTHENTICATION); in discovery_target_filtered_out()
|
| /freebsd/sbin/routed/rtquery/ |
| H A D | rtquery.c | 97 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 D | wps_supplicant.c | 379 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 D | sme.c | 2016 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 D | sme.h | 17 const u8 *bssid, u16 auth_type);
|
| /freebsd/usr.sbin/bhyve/ |
| H A D | rfb.c | 995 uint8_t auth_type; in rfb_handle() local 1026 auth_type = SECURITY_TYPE_VNC_AUTH; in rfb_handle() 1028 auth_type = SECURITY_TYPE_NONE; in rfb_handle() 1031 auth_type = SECURITY_TYPE_NONE; in rfb_handle() 1038 buf[1] = auth_type; in rfb_handle() 1043 if (buf[0] != auth_type) { in rfb_handle() 1052 be32enc(buf, auth_type); in rfb_handle() 1058 switch (auth_type) { in rfb_handle() 1138 if (auth_type == SECURITY_TYPE_VNC_AUTH) { in rfb_handle()
|
| /freebsd/contrib/bearssl/src/ssl/ |
| H A D | ssl_ccert_single_ec.c | 68 choices->auth_type = BR_AUTH_ECDH; in cc_choose() 84 choices->auth_type = BR_AUTH_ECDSA; in cc_choose()
|
| H A D | ssl_ccert_single_rsa.c | 63 choices->auth_type = BR_AUTH_RSA; in cc_choose()
|
| /freebsd/contrib/sendmail/cf/m4/ |
| H A D | cfhead.m4 | 284 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 D | privsep_commands.h | 105 u16 auth_type; member
|
| /freebsd/contrib/wpa/src/eap_peer/ |
| H A 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()
|
| /freebsd/contrib/wpa/wpa_supplicant/dbus/ |
| H A 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 …]
|
| /freebsd/contrib/sendmail/src/ |
| H A D | srvrsmtp.c | 116 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 …]
|