Home
last modified time | relevance | path

Searched refs:auth_types (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/wpa/src/wps/
H A Dwps_attr_build.c308 u16 auth_types = WPS_AUTH_TYPES; in wps_build_auth_type_flags() local
310 auth_types &= ~WPS_AUTH_WPA; in wps_build_auth_type_flags()
311 auth_types &= ~WPS_AUTH_WPA2; in wps_build_auth_type_flags()
312 auth_types &= ~WPS_AUTH_SHARED; in wps_build_auth_type_flags()
314 auth_types &= ~WPS_AUTH_WPAPSK; in wps_build_auth_type_flags()
320 auth_types, wps_force_auth_types); in wps_build_auth_type_flags()
321 auth_types = wps_force_auth_types; in wps_build_auth_type_flags()
325 auth_types); in wps_build_auth_type_flags()
328 wpabuf_put_be16(msg, auth_types); in wps_build_auth_type_flags()
H A Dwps_registrar.c1665 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
2411 u16 auth_types; in wps_process_auth_type_flags() local
2419 auth_types = WPA_GET_BE16(auth); in wps_process_auth_type_flags()
2422 auth_types); in wps_process_auth_type_flags()
2432 if ((auth_types & in wps_process_auth_type_flags()
2437 auth_types |= WPS_AUTH_WPA2PSK; in wps_process_auth_type_flags()
2440 wps->auth_type = wps->wps->auth_types & auth_types; in wps_process_auth_type_flags()
2444 wps->wps->auth_types, auth_types); in wps_process_auth_type_flags()
2456 wps->auth_type = wps->wps->auth_types; in wps_process_auth_type_flags()
H A Dwps.h721 u16 auth_types; member
H A Dwps_common.c371 data.auth_type = wps->auth_types; in wps_get_oob_cred()
/freebsd/contrib/bearssl/src/ssl/
H A Dssl_ccert_single_rsa.c51 const br_ssl_client_context *cc, uint32_t auth_types, in cc_choose() argument
59 x = br_ssl_choose_hash((unsigned)auth_types); in cc_choose()
60 if (x == 0 && (auth_types & 1) == 0) { in cc_choose()
H A Dssl_ccert_single_ec.c51 const br_ssl_client_context *cc, uint32_t auth_types, in cc_choose() argument
67 if (((auth_types >> x) & 1) != 0) { in cc_choose()
79 x = br_ssl_choose_hash((unsigned)(auth_types >> 8)); in cc_choose()
H A Dssl_hs_client.t0952 uint32_t auth_types;
954 auth_types = T0_POP();
959 CTX, auth_types, &ux);
974 0 { auth_types }
984 auth_types or >auth_types
995 auth_types 0xFFFF and >auth_types
1019 auth_types and
1020 auth_types 0x030000 and if
1024 >auth_types
1028 auth_types 0x030401 and >auth_types
[all …]
H A Dssl_hs_client.c1369 uint32_t auth_types; in br_ssl_hs_client_run() local
1371 auth_types = T0_POP(); in br_ssl_hs_client_run()
1376 CTX, auth_types, &ux); in br_ssl_hs_client_run()
/freebsd/contrib/bearssl/tools/
H A Dclient.c253 const br_ssl_client_context *cc, uint32_t auth_types, in cc_choose() argument
265 if ((auth_types & 0x00FF) != 0) { in cc_choose()
267 print_hashes(auth_types, hashes); in cc_choose()
270 if ((auth_types & 0xFF00) != 0) { in cc_choose()
272 print_hashes(auth_types >> 8, hashes >> 8); in cc_choose()
275 if ((auth_types & 0x010000) != 0) { in cc_choose()
279 if ((auth_types & 0x020000) != 0) { in cc_choose()
292 if ((choices->hash_id = choose_hash(auth_types)) >= 0) { in cc_choose()
311 if (((auth_types >> x) & 1) != 0) { in cc_choose()
322 if ((choices->hash_id = choose_hash(auth_types >> 8)) >= 0) { in cc_choose()
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c505 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb()
1172 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1174 wps->auth_types |= WPS_AUTH_WPA2; in hostapd_init_wps()
1176 wps->auth_types |= WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1204 wps->auth_types |= WPS_AUTH_WPAPSK; in hostapd_init_wps()
1206 wps->auth_types |= WPS_AUTH_WPA; in hostapd_init_wps()
1221 wps->auth_types |= WPS_AUTH_OPEN; in hostapd_init_wps()
1252 wps->ap_auth_type = wps->auth_types; in hostapd_init_wps()
1257 wps->auth_types = WPS_AUTH_WPA2PSK; in hostapd_init_wps()
1262 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in hostapd_init_wps()
/freebsd/contrib/bearssl/inc/
H A Dbearssl_ssl.h2459 const br_ssl_client_context *cc, uint32_t auth_types,
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwps_supplicant.c1631 wps->auth_types = WPS_AUTH_WPA2PSK; in wpas_wps_init()
1634 wps->auth_types = WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK; in wpas_wps_init()