Home
last modified time | relevance | path

Searched refs:auth (Results 1 – 25 of 581) sorted by relevance

12345678910>>...24

/external/dbus/dbus/
Ddbus-auth.c70 typedef dbus_bool_t (* DBusInitialResponseFunction) (DBusAuth *auth,
77 typedef dbus_bool_t (* DBusAuthDataFunction) (DBusAuth *auth,
83 typedef dbus_bool_t (* DBusAuthEncodeFunction) (DBusAuth *auth,
90 typedef dbus_bool_t (* DBusAuthDecodeFunction) (DBusAuth *auth,
97 typedef void (* DBusAuthShutdownFunction) (DBusAuth *auth);
137 typedef dbus_bool_t (* DBusAuthStateFunction) (DBusAuth *auth,
223 static void goto_state (DBusAuth *auth,
225 static dbus_bool_t send_auth (DBusAuth *auth,
227 static dbus_bool_t send_data (DBusAuth *auth,
229 static dbus_bool_t send_rejected (DBusAuth *auth);
[all …]
Ddbus-auth.h46 DBusAuth* _dbus_auth_ref (DBusAuth *auth);
47 void _dbus_auth_unref (DBusAuth *auth);
48 dbus_bool_t _dbus_auth_set_mechanisms (DBusAuth *auth,
50 DBusAuthState _dbus_auth_do_work (DBusAuth *auth);
51 dbus_bool_t _dbus_auth_get_bytes_to_send (DBusAuth *auth,
53 void _dbus_auth_bytes_sent (DBusAuth *auth,
55 void _dbus_auth_get_buffer (DBusAuth *auth,
57 void _dbus_auth_return_buffer (DBusAuth *auth,
60 void _dbus_auth_get_unused_bytes (DBusAuth *auth,
62 void _dbus_auth_delete_unused_bytes (DBusAuth *auth);
[all …]
Ddbus-auth-script.c213 auth_set_unix_credentials(DBusAuth *auth, in auth_set_unix_credentials() argument
228 _dbus_auth_set_credentials (auth, credentials); in auth_set_unix_credentials()
251 DBusAuth *auth; in _dbus_auth_script_run() local
258 auth = NULL; in _dbus_auth_script_run()
298 if (auth != NULL) in _dbus_auth_script_run()
300 while ((state = _dbus_auth_do_work (auth)) == in _dbus_auth_script_run()
304 if (_dbus_auth_get_bytes_to_send (auth, &tmp)) in _dbus_auth_script_run()
310 _dbus_auth_bytes_sent (auth, count); in _dbus_auth_script_run()
363 if (auth != NULL) in _dbus_auth_script_run()
369 auth = _dbus_auth_client_new (); in _dbus_auth_script_run()
[all …]
Ddbus-transport.c108 DBusAuth *auth; in _dbus_transport_init_base() local
118 auth = _dbus_auth_server_new (server_guid); in _dbus_transport_init_base()
120 auth = _dbus_auth_client_new (); in _dbus_transport_init_base()
121 if (auth == NULL) in _dbus_transport_init_base()
130 _dbus_auth_unref (auth); in _dbus_transport_init_base()
139 _dbus_auth_unref (auth); in _dbus_transport_init_base()
157 _dbus_auth_unref (auth); in _dbus_transport_init_base()
166 transport->auth = auth; in _dbus_transport_init_base()
228 _dbus_auth_unref (transport->auth); in _dbus_transport_finalize_base()
542 auth_identity = _dbus_auth_get_identity (transport->auth); in auth_via_unix_user_function()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/auth/
Dtest_sigv4.py28 from boto.auth import HmacAuthV4Handler
29 from boto.auth import S3HmacAuthV4Handler
30 from boto.auth import detect_potential_s3sigv4
31 from boto.auth import detect_potential_sigv4
49 auth = HmacAuthV4Handler('glacier.us-east-1.amazonaws.com', mock.Mock(), self.provider)
51 auth.add_auth(req)
55 auth = HmacAuthV4Handler('glacier.us-east-1.amazonaws.com',
59 headers = auth.headers_to_sign(self.request)
65 self.assertEqual(auth.canonical_headers(headers),
72 auth = HmacAuthV4Handler('glacier.us-east-1.amazonaws.com',
[all …]
Dtest_stsanon.py26 from boto.auth import STSAnonHandler
54 auth = STSAnonHandler('sts.amazonaws.com',
59 value = auth._escape_value('Atza|IQEBLjAsAhRkcxQ')
63 auth = STSAnonHandler('sts.amazonaws.com',
65 query_string = auth._build_query_string(self.request.params)
71 auth = STSAnonHandler('sts.amazonaws.com',
74 auth.add_auth(req)
/external/dhcpcd-6.8.2/
Dauth.c106 dhcp_auth_validate(struct authstate *state, const struct auth *auth, in dhcp_auth_validate() argument
134 if (!(auth->options & DHCPCD_AUTH_SEND)) { in dhcp_auth_validate()
141 } else if (protocol != auth->protocol || in dhcp_auth_validate()
142 algorithm != auth->algorithm || in dhcp_auth_validate()
143 rdm != auth->rdm) in dhcp_auth_validate()
148 auth->options & DHCPCD_AUTH_REQUIRE) in dhcp_auth_validate()
274 TAILQ_FOREACH(t, &auth->tokens, next) { in dhcp_auth_validate()
388 get_next_rdm_monotonic_counter(struct auth *auth) in get_next_rdm_monotonic_counter() argument
399 return ++auth->last_replay; /* report error? */ in get_next_rdm_monotonic_counter()
402 return ++auth->last_replay; /* report error? */ in get_next_rdm_monotonic_counter()
[all …]
/external/tcpdump/tests/
Dhsrp_1-v.out2 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
4 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
6 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
8 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
10 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
12 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
14 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
18 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
20 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
22 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
[all …]
Dhsrp_2-v.out2 … 20: state=speak group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
4 … 20: state=speak group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
6 … 20: state=speak group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
8 … 20: state=speak group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
12 … 20: state=speak group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
16 … 20: state=speak group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
18 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
22 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
28 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
30 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
[all …]
Dhsrp_3-v.out2 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
6 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
8 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
10 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
12 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
14 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
16 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
20 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
22 …20: state=active group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=200 auth="cisco^@^@^@"
24 …0: state=standby group=1 addr=192.168.0.1 hellotime=3s holdtime=10s priority=100 auth="cisco^@^@^@"
[all …]
/external/libdrm/tests/
Dauth.c69 struct drm_auth auth; in client() local
78 auth.magic = 0; /* Quiet valgrind */ in client()
79 ret = ioctl(drmfd, DRM_IOCTL_GET_MAGIC, &auth); in client()
83 ret = write(commfd[0], &auth.magic, sizeof(auth.magic)); in client()
94 struct drm_auth auth; in server() local
98 auth.magic = 0xd0d0d0d0; in server()
99 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth); in server()
106 ret = read(commfd[1], &auth.magic, sizeof(auth.magic)); in server()
110 ret = ioctl(drmfd, DRM_IOCTL_AUTH_MAGIC, &auth); in server()
/external/ppp/pppd/plugins/radius/
Dsendserver.c33 static int rc_pack_list (VALUE_PAIR *vp, char *secret, AUTH_HDR *auth) in rc_pack_list() argument
42 buf = auth->data; in rc_pack_list()
107 vector = (char *)auth->vector; in rc_pack_list()
143 memcpy ((char *) md5buf + secretlen, (char *) auth->vector, in rc_pack_list()
200 AUTH_HDR *auth, *recv_auth; in rc_send_server() local
262 auth = (AUTH_HDR *) send_buffer; in rc_send_server()
263 auth->code = data->code; in rc_send_server()
264 auth->id = data->seq_nbr; in rc_send_server()
268 total_length = rc_pack_list(data->send_pairs, secret, auth) + AUTH_HDR_LEN; in rc_send_server()
270 auth->length = htons ((unsigned short) total_length); in rc_send_server()
[all …]
/external/wpa_supplicant_8/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp72 int auth, encr = 0; in paramsFromScanResults() local
74 auth = AUTH_WPA2_EAP; in paramsFromScanResults()
76 auth = AUTH_WPA_EAP; in paramsFromScanResults()
78 auth = AUTH_WPA2_PSK; in paramsFromScanResults()
80 auth = AUTH_WPA_PSK; in paramsFromScanResults()
82 auth = AUTH_NONE_OPEN; in paramsFromScanResults()
90 if (auth == AUTH_NONE_OPEN) in paramsFromScanResults()
91 auth = AUTH_NONE_WEP; in paramsFromScanResults()
95 authSelect->setCurrentIndex(auth); in paramsFromScanResults()
96 authChanged(auth); in paramsFromScanResults()
[all …]
/external/chromium-trace/catapult/third_party/webapp2/tests/
Dextras_auth_test.py4 from webapp2_extras import auth
5 from webapp2_extras.appengine.auth import models
33 s = auth.get_store(app=app)
34 a = auth.Auth(request=req)
69 a = auth.Auth(request=req)
108 s = auth.get_store(app=app)
109 a = auth.get_auth(request=req)
145 s = auth.get_store(app=app)
153 self.assertRaises(auth.InvalidPasswordError,
155 self.assertRaises(auth.InvalidAuthIdError,
[all …]
/external/dbus/test/
DMakefile.am216 data/auth/anonymous-client-successful.auth-script \
217 data/auth/anonymous-server-successful.auth-script \
218 data/auth/cancel.auth-script \
219 data/auth/client-out-of-mechanisms.auth-script \
220 data/auth/external-failed.auth-script \
221 data/auth/external-root.auth-script \
222 data/auth/external-silly.auth-script \
223 data/auth/external-successful.auth-script \
224 data/auth/extra-bytes.auth-script \
225 data/auth/fail-after-n-attempts.auth-script \
[all …]
/external/jetty/src/java/org/eclipse/jetty/security/
DDefaultAuthenticatorFactory.java59 String auth=configuration.getAuthMethod(); in getAuthenticator() local
62 if (auth==null || Constraint.__BASIC_AUTH.equalsIgnoreCase(auth)) in getAuthenticator()
64 else if (Constraint.__DIGEST_AUTH.equalsIgnoreCase(auth)) in getAuthenticator()
66 else if (Constraint.__FORM_AUTH.equalsIgnoreCase(auth)) in getAuthenticator()
68 else if ( Constraint.__SPNEGO_AUTH.equalsIgnoreCase(auth) ) in getAuthenticator()
70 else if ( Constraint.__NEGOTIATE_AUTH.equalsIgnoreCase(auth) ) // see Bug #377076 in getAuthenticator()
72 … if (Constraint.__CERT_AUTH.equalsIgnoreCase(auth)||Constraint.__CERT_AUTH2.equalsIgnoreCase(auth)) in getAuthenticator()
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dorg.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar ... org/eclipse/core/internal/runtime/auth/ org/eclipse/core/internal/runtime ...
/external/selinux/policycoreutils/newrole/
Dnewrole.pamd3 # auth sufficient pam_rootok.so
4 auth include system-auth
5 account include system-auth
6 password include system-auth
7 session include system-auth
/external/selinux/policycoreutils/run_init/
Drun_init.pamd3 #auth sufficient pam_rootok.so
4 auth include system-auth
5 account include system-auth
6 password include system-auth
7 session include system-auth
/external/wpa_supplicant_8/wpa_supplicant/
Dwpa_priv.c209 struct privsep_cmd_authenticate *auth; in wpa_priv_cmd_authenticate() local
215 if (len < sizeof(*auth)) { in wpa_priv_cmd_authenticate()
220 auth = buf; in wpa_priv_cmd_authenticate()
221 if (sizeof(*auth) + auth->ie_len + auth->sae_data_len > len) { in wpa_priv_cmd_authenticate()
227 params.freq = auth->freq; in wpa_priv_cmd_authenticate()
228 params.bssid = auth->bssid; in wpa_priv_cmd_authenticate()
229 params.ssid = auth->ssid; in wpa_priv_cmd_authenticate()
230 if (auth->ssid_len > SSID_MAX_LEN) in wpa_priv_cmd_authenticate()
232 params.ssid_len = auth->ssid_len; in wpa_priv_cmd_authenticate()
233 params.auth_alg = auth->auth_alg; in wpa_priv_cmd_authenticate()
[all …]
Dibss_rsn.c42 wpa_auth_sta_deinit(peer->auth); in ibss_rsn_free()
351 if (peer->auth && cb(peer->auth, cb_ctx)) in auth_for_each_sta()
448 peer->auth = wpa_auth_sta_init(ibss_rsn->auth_group, peer->addr, NULL); in ibss_rsn_auth_init()
449 if (peer->auth == NULL) { in ibss_rsn_auth_init()
455 if (wpa_validate_wpa_ie(ibss_rsn->auth_group, peer->auth, in ibss_rsn_auth_init()
466 if (wpa_auth_sm_event(peer->auth, WPA_ASSOC)) in ibss_rsn_auth_init()
469 if (wpa_auth_sta_associated(ibss_rsn->auth_group, peer->auth)) in ibss_rsn_auth_init()
478 struct ieee80211_mgmt auth; in ibss_rsn_send_auth() local
479 const size_t auth_length = IEEE80211_HDRLEN + sizeof(auth.u.auth); in ibss_rsn_send_auth()
485 os_memset(&auth, 0, sizeof(auth)); in ibss_rsn_send_auth()
[all …]
/external/apache-http/src/org/apache/http/impl/auth/
DNTLMScheme.java31 package org.apache.http.impl.auth;
35 import org.apache.http.auth.AUTH;
36 import org.apache.http.auth.AuthenticationException;
37 import org.apache.http.auth.Credentials;
38 import org.apache.http.auth.InvalidCredentialsException;
39 import org.apache.http.auth.MalformedChallengeException;
40 import org.apache.http.auth.NTCredentials;
41 import org.apache.http.impl.auth.AuthSchemeBase;
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DAuthenticatorAdapter.java45 PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication( in authenticate() local
48 if (auth == null) continue; in authenticate()
50 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticate()
68 PasswordAuthentication auth = java.net.Authenticator.requestPasswordAuthentication( in authenticateProxy() local
72 if (auth == null) continue; in authenticateProxy()
74 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticateProxy()
/external/libweave/src/privet/
Dauth_manager_unittest.cc53 AuthManager auth{{}, {}, {}, &clock_}; in TEST_F() local
54 EXPECT_EQ(auth.GetAuthSecret().size(), 32u); in TEST_F()
55 EXPECT_EQ(auth.GetAccessSecret().size(), 32u); in TEST_F()
59 AuthManager auth{kSecret2, {}, kSecret1}; in TEST_F() local
60 EXPECT_EQ(auth.GetAuthSecret().size(), 32u); in TEST_F()
61 EXPECT_EQ(auth.GetAccessSecret().size(), 32u); in TEST_F()
62 EXPECT_NE(auth_.GetAccessSecret(), auth.GetAccessSecret()); in TEST_F()
63 EXPECT_NE(auth_.GetAuthSecret(), auth.GetAuthSecret()); in TEST_F()
165 AuthManager auth{{}, {}, {}, &clock_}; in TEST_F() local
168 auth.CreateAccessToken(UserInfo{AuthScope::kUser, TestUserId{"5"}}, in TEST_F()
[all …]
/external/chromium-trace/catapult/third_party/Paste/Paste.egg-info/
Dentry_points.txt31 auth_tkt = paste.auth.auth_tkt:make_auth_tkt_middleware
32 auth_basic = paste.auth.basic:make_basic
33 auth_digest = paste.auth.digest:make_digest
34 auth_form = paste.auth.form:make_form
35 grantip = paste.auth.grantip:make_grantip
36 openid = paste.auth.open_id:make_open_id_middleware [openid]
40 auth_cookie = paste.auth.cookie:make_auth_cookie

12345678910>>...24