Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
272 wpabuf_put_be16(msg, auth_type); in wps_build_cred_auth_type()
880 cred.auth_type |= WPS_AUTH_WPA2PSK; in wps_process_ap_settings_e()
888 if (cred.auth_type & WPS_AUTH_WPAPSK) { in wps_process_ap_settings_e()
[all …]
H A Dwps_registrar.c1552 cred->auth_type); in wps_build_cred_auth_type()
1555 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type()
1667 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1670 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1673 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred()
1676 wps->auth_type); in wps_build_cred()
1679 wps->cred.auth_type = wps->auth_type; in wps_build_cred()
1798 stub.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
2441 if (wps->auth_type == 0) { in wps_process_auth_type_flags()
2903 dst->auth_type = src->auth_type; in wps_cred_update()
[all …]
H A Dwps_attr_parse.h45 const u8 *auth_type; /* 2 octets */ member
H A Dwps_i.h94 u16 auth_type; member
/freebsd-13.1/contrib/tcpdump/
H A 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()
174 if (version == 2 && auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */ in vrrp_print()
H A Dprint-bfd.c97 uint8_t auth_type; member
103 enum auth_type { enum
187 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type), in auth_print()
188 bfd_auth_header->auth_type, in auth_print()
193 switch(bfd_auth_header->auth_type) { in auth_print()
H A 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()
H A Dprint-lisp.c168 static const struct tok auth_type[] = { variable
274 tok2str(auth_type, "unknown-type", key_id))); in lisp_print()
/freebsd-13.1/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()
386 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) 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()
507 hapd->wps->ap_auth_type = cred->auth_type; in hapd_wps_cred_cb()
598 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) { in hapd_wps_cred_cb()
607 (cred->auth_type & WPS_AUTH_WPA2PSK) && in hapd_wps_cred_cb()
1935 cred.auth_type = WPS_AUTH_OPEN; in hostapd_wps_config_ap()
1938 cred.auth_type = WPS_AUTH_WPAPSK; in hostapd_wps_config_ap()
[all …]
/freebsd-13.1/usr.sbin/bhyve/
H A Drfb.c809 uint8_t auth_type; in rfb_handle() local
837 auth_type = SECURITY_TYPE_VNC_AUTH; in rfb_handle()
839 auth_type = SECURITY_TYPE_NONE; in rfb_handle()
842 auth_type = SECURITY_TYPE_NONE; in rfb_handle()
849 buf[1] = auth_type; in rfb_handle()
854 if (buf[0] != auth_type) { in rfb_handle()
863 be32enc(buf, auth_type); in rfb_handle()
869 switch (auth_type) { in rfb_handle()
949 if (auth_type == SECURITY_TYPE_VNC_AUTH) { in rfb_handle()
/freebsd-13.1/sbin/routed/rtquery/
H A Drtquery.c118 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-13.1/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()
H A Dssl_hs_client.c444 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-13.1/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c371 u16 auth_type; in wpa_supplicant_wps_cred() local
401 cred->auth_type); in wpa_supplicant_wps_cred()
409 auth_type = cred->auth_type; in wpa_supplicant_wps_cred()
413 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
416 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred()
417 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
421 auth_type); in wpa_supplicant_wps_cred()
425 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
514 switch (auth_type) { in wpa_supplicant_wps_cred()
2074 cred->auth_type = WPS_AUTH_OPEN; in wpas_wps_network_to_cred()
[all …]
H A Dsme.c1555 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
1563 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth()
1617 switch (data->auth.auth_type) { in sme_event_auth()
1640 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth()
1667 if (data->auth.auth_type == WLAN_AUTH_FILS_SK || in sme_event_auth()
1677 data->auth.auth_type, expect_auth_type); in sme_event_auth()
1705 data->auth.auth_type); in sme_event_auth()
1726 const u8 *bssid, u16 auth_type) in sme_associate() argument
1746 if (auth_type == WLAN_AUTH_FILS_SK || in sme_associate()
1747 auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_associate()
[all …]
H A Dsme.h17 const u8 *bssid, u16 auth_type);
/freebsd-13.1/contrib/wpa/src/common/
H A Dprivsep_commands.h105 u16 auth_type; member
/freebsd-13.1/contrib/sendmail/cf/m4/
H A Dcfhead.m4278 define(`_REC_AUTH_', `$.$?{auth_type}(authenticated')
279 define(`_REC_FULL_AUTH_', `$.$?{auth_type}(user=${auth_authen} $?{auth_author}author=${auth_author}…
315 define(`confMILTER_MACROS_ENVFROM', ``i, {auth_type}, {auth_authen}, {auth_ssf}, {auth_author}, {ma…
/freebsd-13.1/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-13.1/contrib/sendmail/src/
H A Dsrvrsmtp.c873 char *volatile auth_type; local
1133 auth_type = NULL;
1687 macid("{auth_type}"), auth_type);
1781 auth_type, *ssf);
1831 (auth_type != NULL) ? auth_type : "unknown", \
2098 auth_type = newstr(p);
5634 get_sasl_user(val, len, auth_type, user, user_len) in get_sasl_user() argument
5637 const char *auth_type;
5648 if (NULL == auth_type || '\0' == *auth_type)
5655 if (sm_strcasecmp(auth_type, "digest-md5") == 0 &&
[all …]
/freebsd-13.1/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_new.c751 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()
762 auth_type[at_num++] = "wpa2-psk"; in wpas_dbus_signal_wps_cred()
[all …]
/freebsd-13.1/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-13.1/contrib/libpcap/
H A Dpcap-rpcap.c1840 uint16 auth_type; in rpcap_doauth() local
1884 auth_type = (uint16)auth->type; in rpcap_doauth()
1888 auth_type = RPCAP_RMTAUTH_NULL; in rpcap_doauth()
1907 rpauth->type = htons(auth_type); in rpcap_doauth()
1909 if (auth_type == RPCAP_RMTAUTH_PWD) in rpcap_doauth()

12