Home
last modified time | relevance | path

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

123

/external/wpa_supplicant_8/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()
244 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_cred()
263 wps_process_cred_auth_type(cred, attr->auth_type) || in wps_process_ap_settings()
Dwps_registrar.c1524 cred->auth_type); in wps_build_cred_auth_type()
1527 wpabuf_put_be16(msg, cred->auth_type); in wps_build_cred_auth_type()
1611 wps->wps->auth_types, wps->auth_type); in wps_build_cred()
1612 if (wps->auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred()
1613 wps->auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred()
1614 else if (wps->auth_type & WPS_AUTH_WPAPSK) in wps_build_cred()
1615 wps->auth_type = WPS_AUTH_WPAPSK; in wps_build_cred()
1616 else if (wps->auth_type & WPS_AUTH_OPEN) in wps_build_cred()
1617 wps->auth_type = WPS_AUTH_OPEN; in wps_build_cred()
1620 wps->auth_type); in wps_build_cred()
[all …]
Dwps_enrollee.c250 u16 auth_type = wps->wps->ap_auth_type; in wps_build_cred_auth_type() local
257 if (auth_type & WPS_AUTH_WPA2PSK) in wps_build_cred_auth_type()
258 auth_type = WPS_AUTH_WPA2PSK; in wps_build_cred_auth_type()
259 else if (auth_type & WPS_AUTH_WPAPSK) in wps_build_cred_auth_type()
260 auth_type = WPS_AUTH_WPAPSK; in wps_build_cred_auth_type()
261 else if (auth_type & WPS_AUTH_OPEN) in wps_build_cred_auth_type()
262 auth_type = WPS_AUTH_OPEN; in wps_build_cred_auth_type()
264 wpa_printf(MSG_DEBUG, "WPS: * Authentication Type (0x%x)", auth_type); in wps_build_cred_auth_type()
267 wpabuf_put_be16(msg, auth_type); in wps_build_cred_auth_type()
853 (cred.auth_type & (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) == in wps_process_ap_settings_e()
[all …]
/external/autotest/server/cros/ap_configurators/
DbelkinF9k1002v4_ap_configurator.py26 auth_type = 'WPA-PSK'
28 auth_type = 'WPA2-PSK'
29 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF7D_ap_configurator.py45 auth_type = 'WPA2-PSK'
47 auth_type = 'WPA-PSK'
48 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF6D4230_ap_configurator.py53 auth_type = 'WPA-PSK'
55 auth_type = 'WPA2-PSK'
56 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF5D7234_ap_configurator.py77 auth_type = 'WPA-PSK'
79 auth_type = 'WPA2-PSK'
80 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF9K_ap_configurator.py278 auth_type = 'WPA-PSK'
280 auth_type = 'WPA2-PSK'
281 self.select_item_from_popup_by_xpath(auth_type, psk,
DbelkinF9K1102_ap_configurator.py281 auth_type = 'WPA-PSK'
283 auth_type = 'WPA2-PSK'
285 self.select_item_from_popup_by_xpath(auth_type, auth_popup,
/external/tcpdump/
Dprint-vrrp.c109 int version, type, auth_type = VRRP_AUTH_NONE; /* keep compiler happy */ in vrrp_print() local
126 auth_type = bp[4]; in vrrp_print()
127 ND_PRINT((ndo, ", authtype %s", tok2str(auth2str, NULL, auth_type))); in vrrp_print()
169 if (version == 2 && auth_type == VRRP_AUTH_SIMPLE) { /* simple text password */ in vrrp_print()
Dprint-rip.c134 uint16_t auth_type = EXTRACT_16BITS(&ni->rip_tag); in rip_entry_print_v2() local
135 if (auth_type == 2) { in rip_entry_print_v2()
141 } else if (auth_type == 3) { in rip_entry_print_v2()
149 } else if (auth_type == 1) { in rip_entry_print_v2()
Dprint-bfd.c91 uint8_t auth_type; member
251 tok2str(bfd_v1_authentication_values,"Unknown",bfd_auth_header->auth_type), in bfd_print()
252 bfd_auth_header->auth_type, in bfd_print()
/external/libvncserver/libvncserver/tightvnc-filetransfer/
Drfbtightserver.c108 uint32_t auth_type; in rfbProcessClientAuthType() local
118 n = rfbReadExact(cl, (char *)&auth_type, sizeof(auth_type)); in rfbProcessClientAuthType()
127 auth_type = Swap32IfLE(auth_type); in rfbProcessClientAuthType()
131 if (auth_type == rtcp->authCaps[i]) in rfbProcessClientAuthType()
141 switch (auth_type) { in rfbProcessClientAuthType()
/external/srtp/crypto/kernel/
Dcrypto_kernel.c208 printf("auth func: %s\n", atype->auth_type->description); in crypto_kernel_status()
209 printf(" instance count: %d\n", atype->auth_type->ref_count); in crypto_kernel_status()
211 status = auth_type_self_test(atype->auth_type); in crypto_kernel_status()
276 atype->auth_type->description); in crypto_kernel_shutdown()
363 if ((new_at == atype->auth_type) || (id == atype->id)) in crypto_kernel_load_auth_type()
375 new_atype->auth_type = new_at; in crypto_kernel_load_auth_type()
439 return atype->auth_type; in crypto_kernel_get_auth_type()
/external/libweave/src/privet/
Dsecurity_manager.cc89 bool SecurityManager::CreateAccessTokenImpl(AuthType auth_type, in CreateAccessTokenImpl() argument
97 UserAppId{auth_type, {user_id.begin(), user_id.end()}, {}}}; in CreateAccessTokenImpl()
115 AuthType auth_type, in CreateAccessTokenImpl() argument
127 switch (auth_type) { in CreateAccessTokenImpl()
131 return CreateAccessTokenImpl(auth_type, desired_scope, access_token, in CreateAccessTokenImpl()
140 return CreateAccessTokenImpl(auth_type, desired_scope, access_token, in CreateAccessTokenImpl()
156 bool SecurityManager::CreateAccessToken(AuthType auth_type, in CreateAccessToken() argument
164 if (auth_type != AuthType::kAnonymous && in CreateAccessToken()
172 if (!CreateAccessTokenImpl(auth_type, auth_decoded, desired_scope, in CreateAccessToken()
Dsecurity_manager.h62 bool CreateAccessToken(AuthType auth_type,
103 bool CreateAccessTokenImpl(AuthType auth_type,
110 bool CreateAccessTokenImpl(AuthType auth_type,
Dprivet_types.h35 UserAppId(AuthType auth_type, in UserAppId()
38 : type{auth_type}, in UserAppId()
Dsecurity_delegate.h25 virtual bool CreateAccessToken(AuthType auth_type,
/external/wpa_supplicant_8/src/ap/
Dwps_hostapd.c333 if ((cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) && in hapd_wps_reconfig_in_memory()
334 (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK))) in hapd_wps_reconfig_in_memory()
336 else if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA2PSK)) in hapd_wps_reconfig_in_memory()
338 else if (cred->auth_type & (WPS_AUTH_WPA | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
344 if (cred->auth_type & (WPS_AUTH_WPA2 | WPS_AUTH_WPA)) in hapd_wps_reconfig_in_memory()
346 if (cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) in hapd_wps_reconfig_in_memory()
420 cred->auth_type); in hapd_wps_cred_cb()
450 hapd->wps->auth_types = cred->auth_type; in hapd_wps_cred_cb()
452 hapd->wps->ap_auth_type = cred->auth_type; in hapd_wps_cred_cb()
457 } else if ((cred->auth_type & (WPS_AUTH_WPA2PSK | WPS_AUTH_WPAPSK)) && in hapd_wps_cred_cb()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/
Dwps_supplicant.c364 u16 auth_type; in wpa_supplicant_wps_cred() local
393 cred->auth_type); in wpa_supplicant_wps_cred()
401 auth_type = cred->auth_type; in wpa_supplicant_wps_cred()
402 if (auth_type == (WPS_AUTH_WPAPSK | WPS_AUTH_WPA2PSK)) { in wpa_supplicant_wps_cred()
405 auth_type = WPS_AUTH_WPA2PSK; in wpa_supplicant_wps_cred()
408 if (auth_type != WPS_AUTH_OPEN && in wpa_supplicant_wps_cred()
409 auth_type != WPS_AUTH_WPAPSK && in wpa_supplicant_wps_cred()
410 auth_type != WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
413 auth_type); in wpa_supplicant_wps_cred()
417 if (auth_type == WPS_AUTH_WPAPSK || auth_type == WPS_AUTH_WPA2PSK) { in wpa_supplicant_wps_cred()
[all …]
Dsme.c825 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
833 if (data->auth.auth_type == WLAN_AUTH_SAE) { in sme_event_auth()
866 MAC2STR(data->auth.peer), data->auth.auth_type, in sme_event_auth()
873 wpa_s->sme.auth_alg == data->auth.auth_type || in sme_event_auth()
882 switch (data->auth.auth_type) { in sme_event_auth()
905 if (data->auth.auth_type == WLAN_AUTH_FT) { in sme_event_auth()
924 data->auth.auth_type); in sme_event_auth()
929 const u8 *bssid, u16 auth_type) in sme_associate() argument
971 if (auth_type == WLAN_AUTH_FT && wpa_s->sme.ft_ies) { in sme_associate()
/external/autotest/client/cros/
Dvpn_server.py148 def __init__(self, auth_type, interface_name, address, network_prefix, argument
150 self._auth_type = auth_type
/external/srtp/srtp/
Dsrtp.c106 stat = crypto_kernel_alloc_auth(p->rtp.auth_type, in srtp_stream_alloc()
134 stat = crypto_kernel_alloc_auth(p->rtcp.auth_type, in srtp_stream_alloc()
1367 p->auth_type = HMAC_SHA1; in crypto_policy_set_rtp_default()
1379 p->auth_type = HMAC_SHA1; in crypto_policy_set_rtcp_default()
1397 p->auth_type = HMAC_SHA1; in crypto_policy_set_aes_cm_128_hmac_sha1_32()
1416 p->auth_type = NULL_AUTH; in crypto_policy_set_aes_cm_128_null_auth()
1433 p->auth_type = HMAC_SHA1; in crypto_policy_set_null_cipher_hmac_sha1_80()
/external/srtp/crypto/include/
Dcrypto_kernel.h88 auth_type_t *auth_type; member
/external/wpa_supplicant_8/src/common/
Dprivsep_commands.h97 u16 auth_type; member

123