Home
last modified time | relevance | path

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

123

/third_party/wpa_supplicant/wpa_supplicant-2.9/src/wps/
Dwps_attr_process.c122 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()
Dwps_registrar.c1574 cred->auth_type); in wps_build_cred_auth_type()
1577 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type()
1663 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1685 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
1686 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1687 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1688 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1689 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1690 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred()
1691 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred()
[all …]
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()
858 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
[all …]
Dwps_attr_parse.h45 const u8 *auth_type; /* 2 octets */ member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/wps/
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()
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()
858 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
[all …]
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()
1643 wps->cred.auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1665 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
1666 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1667 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1669 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1670 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1672 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred()
1673 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred()
[all …]
Dwps_attr_parse.h45 const u8 *auth_type; /* 2 octets */ member
/third_party/ffmpeg/libavformat/
Dhttpauth.c96 state->auth_type <= HTTP_AUTH_BASIC) { in ff_http_auth_handle_header()
97 state->auth_type = HTTP_AUTH_BASIC; in ff_http_auth_handle_header()
103 state->auth_type <= HTTP_AUTH_DIGEST) { in ff_http_auth_handle_header()
104 state->auth_type = HTTP_AUTH_DIGEST; in ff_http_auth_handle_header()
256 if (state->auth_type == HTTP_AUTH_BASIC) { in ff_http_auth_create_response()
277 } else if (state->auth_type == HTTP_AUTH_DIGEST) { in ff_http_auth_create_response()
Dhttpauth.h59 int auth_type; member
Dhttp.c156 …{ "auth_type", "HTTP authentication type", OFFSET(auth_state.auth_type), AV_OPT_TYPE_INT, { .i64 =…
313 cur_auth_type = s->auth_state.auth_type; in http_open_cnx()
314 cur_proxy_auth_type = s->auth_state.auth_type; in http_open_cnx()
339 s->auth_state.auth_type != HTTP_AUTH_NONE && attempts < 4) { in http_open_cnx()
347 s->proxy_auth_state.auth_type != HTTP_AUTH_NONE && attempts < 4) { in http_open_cnx()
727 (http_code != 401 || s->auth_state.auth_type != HTTP_AUTH_NONE) && in check_http_code()
728 (http_code != 407 || s->proxy_auth_state.auth_type != HTTP_AUTH_NONE)) { in check_http_code()
1321 s->auth_state.auth_type == HTTP_AUTH_NONE && in http_connect()
1958 cur_auth_type = s->proxy_auth_state.auth_type; in http_proxy_open()
1976 s->proxy_auth_state.auth_type != HTTP_AUTH_NONE && attempts < 2) { in http_proxy_open()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/
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 …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/
Dwps_hostapd.c327 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()
328 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory()
330 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()
332 else if (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()
340 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) 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()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/srtp/
Dgstsrtp.c243 policy->auth_type = SRTP_HMAC_SHA1; in set_crypto_policy_cipher_auth()
248 policy->auth_type = SRTP_HMAC_SHA1; in set_crypto_policy_cipher_auth()
253 policy->auth_type = SRTP_NULL_AUTH; in set_crypto_policy_cipher_auth()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
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()
410 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { 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()
418 auth_type != WPS_AUTH_WPA2PSK) { 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()
[all …]
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()
1594 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
1608 wpa_s->sme.auth_alg == data->auth.auth_type || 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()
1668 data->auth.auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_event_auth()
1674 if (data->auth.auth_type != expect_auth_type) { in sme_event_auth()
1677 data->auth.auth_type, expect_auth_type); in sme_event_auth()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dwps_supplicant.c367 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()
405 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { 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()
413 auth_type != WPS_AUTH_WPA2PSK) { 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()
[all …]
Dsme.c1268 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()
1309 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
1323 wpa_s->sme.auth_alg == data->auth.auth_type || 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()
1383 data->auth.auth_type == WLAN_AUTH_FILS_SK_PFS) { in sme_event_auth()
1389 if (data->auth.auth_type != expect_auth_type) { in sme_event_auth()
1392 data->auth.auth_type, expect_auth_type); in sme_event_auth()
[all …]
Dsme.h17 const u8 *bssid, u16 auth_type);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/dbus/
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()
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()
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dprivsep_commands.h105 u16 auth_type; member
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dprivsep_commands.h104 u16 auth_type; member
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/dbus/
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 …]

123