| /freebsd-12.1/contrib/wpa/src/wps/ |
| H A D | wps_attr_process.c | 122 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()
|
| H A D | wps_registrar.c | 1574 cred->auth_type); in wps_build_cred_auth_type() 1577 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type() 1687 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred() 1689 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred() 1691 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred() 1694 wps->auth_type); in wps_build_cred() 1697 wps->cred.auth_type = wps->auth_type; in wps_build_cred() 1807 dummy.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred() 2450 if (wps->auth_type == 0) { in wps_process_auth_type_flags() 2912 dst->auth_type = src->auth_type; in wps_cred_update() [all …]
|
| 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() 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() 876 if ((cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e() [all …]
|
| H A D | wps_attr_parse.h | 45 const u8 *auth_type; /* 2 octets */ member
|
| H A D | wps_i.h | 94 u16 auth_type; member
|
| H A 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()
|
| H A 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()
|
| /freebsd-12.1/contrib/tcpdump/ |
| H A D | print-vrrp.c | 110 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()
|
| H A D | print-bfd.c | 94 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()
|
| H A D | print-rip.c | 135 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()
|
| H A D | print-lisp.c | 168 static const struct tok auth_type[] = { variable 274 tok2str(auth_type, "unknown-type", key_id))); in lisp_print()
|
| /freebsd-12.1/contrib/wpa/src/ap/ |
| H A D | wps_hostapd.c | 328 (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() 358 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_reconfig_in_memory() 427 cred->auth_type); in hapd_wps_cred_cb() 457 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb() 459 hapd->wps->ap_auth_type = cred->auth_type; in hapd_wps_cred_cb() 544 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) { in hapd_wps_cred_cb() 553 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_cred_cb() 1750 cred.auth_type = WPS_AUTH_OPEN; in hostapd_wps_config_ap() 1752 cred.auth_type = WPS_AUTH_WPAPSK; in hostapd_wps_config_ap() [all …]
|
| /freebsd-12.1/sbin/routed/rtquery/ |
| H A D | rtquery.c | 118 int auth_type = RIP_AUTH_NONE; variable 255 auth_type = RIP_AUTH_PW; in main() 257 auth_type = RIP_AUTH_MD5; in main() 263 if (auth_type == RIP_AUTH_MD5 in main() 389 if (auth_type == RIP_AUTH_PW) { in query_loop() 396 } else if (auth_type == RIP_AUTH_MD5) { in query_loop()
|
| /freebsd-12.1/contrib/wpa/wpa_supplicant/ |
| H A D | wps_supplicant.c | 367 u16 auth_type; in wpa_supplicant_wps_cred() local 396 cred->auth_type); in wpa_supplicant_wps_cred() 404 auth_type = cred->auth_type; in wpa_supplicant_wps_cred() 408 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred() 411 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred() 412 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred() 416 auth_type); in wpa_supplicant_wps_cred() 420 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred() 509 switch (auth_type) { in wpa_supplicant_wps_cred() 2034 cred->auth_type = WPS_AUTH_OPEN; in wpas_wps_network_to_cred() [all …]
|
| H A D | sme.c | 1268 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth() 1276 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth() 1332 switch (data->auth.auth_type) { in sme_event_auth() 1355 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth() 1382 if (data->auth.auth_type == WLAN_AUTH_FILS_SK || in sme_event_auth() 1392 data->auth.auth_type, expect_auth_type); in sme_event_auth() 1420 data->auth.auth_type); in sme_event_auth() 1441 const u8 *bssid, u16 auth_type) in sme_associate() argument 1460 if (auth_type == WLAN_AUTH_FILS_SK || in sme_associate() 1461 auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_associate() [all …]
|
| H A D | sme.h | 17 const u8 *bssid, u16 auth_type);
|
| /freebsd-12.1/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()
|
| H A D | ssl_hs_client.c | 444 0x01, T0_INT2(offsetof(br_ssl_client_context, auth_type)), 0x00, 0x00, 1377 CTX->auth_type = (unsigned char)ux.auth_type; in br_ssl_hs_client_run()
|
| /freebsd-12.1/contrib/sendmail/cf/m4/ |
| H A D | cfhead.m4 | 269 define(`_REC_AUTH_', `$.$?{auth_type}(authenticated') 270 define(`_REC_FULL_AUTH_', `$.$?{auth_type}(user=${auth_authen} $?{auth_author}author=${auth_author}… 306 define(`confMILTER_MACROS_ENVFROM', ``i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {ma…
|
| /freebsd-12.1/contrib/wpa/src/common/ |
| H A D | privsep_commands.h | 104 u16 auth_type; member
|
| /freebsd-12.1/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-12.1/contrib/wpa/wpa_supplicant/dbus/ |
| H A D | dbus_new.c | 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() 753 if (cred->auth_type & WPS_AUTH_WPAPSK) in wpas_dbus_signal_wps_cred() 754 auth_type[at_num++] = "wpa-psk"; in wpas_dbus_signal_wps_cred() 755 if (cred->auth_type & WPS_AUTH_WPA) in wpas_dbus_signal_wps_cred() 756 auth_type[at_num++] = "wpa-eap"; in wpas_dbus_signal_wps_cred() 757 if (cred->auth_type & WPS_AUTH_WPA2) in wpas_dbus_signal_wps_cred() 758 auth_type[at_num++] = "wpa2-eap"; in wpas_dbus_signal_wps_cred() 759 if (cred->auth_type & WPS_AUTH_WPA2PSK) in wpas_dbus_signal_wps_cred() 760 auth_type[at_num++] = "wpa2-psk"; in wpas_dbus_signal_wps_cred() [all …]
|
| /freebsd-12.1/contrib/bearssl/tools/ |
| H A D | client.c | 298 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-12.1/contrib/libpcap/ |
| H A D | pcap-rpcap.c | 1896 uint16 auth_type; in rpcap_sendauth() local 1937 auth_type = (uint16)auth->type; in rpcap_sendauth() 1941 auth_type = RPCAP_RMTAUTH_NULL; in rpcap_sendauth() 1961 rpauth->type = htons(auth_type); in rpcap_sendauth() 1963 if (auth_type == RPCAP_RMTAUTH_PWD) in rpcap_sendauth()
|