Home
last modified time | relevance | path

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

1234567

/external/dbus/dbus/
Ddbus-auth.c68 typedef dbus_bool_t (* DBusInitialResponseFunction) (DBusAuth *auth,
75 typedef dbus_bool_t (* DBusAuthDataFunction) (DBusAuth *auth,
81 typedef dbus_bool_t (* DBusAuthEncodeFunction) (DBusAuth *auth,
88 typedef dbus_bool_t (* DBusAuthDecodeFunction) (DBusAuth *auth,
95 typedef void (* DBusAuthShutdownFunction) (DBusAuth *auth);
133 typedef dbus_bool_t (* DBusAuthStateFunction) (DBusAuth *auth,
217 static void goto_state (DBusAuth *auth,
219 static dbus_bool_t send_auth (DBusAuth *auth,
221 static dbus_bool_t send_data (DBusAuth *auth,
223 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.c230 DBusAuth *auth; in _dbus_auth_script_run() local
237 auth = NULL; in _dbus_auth_script_run()
275 if (auth != NULL) in _dbus_auth_script_run()
277 while ((state = _dbus_auth_do_work (auth)) == in _dbus_auth_script_run()
281 if (_dbus_auth_get_bytes_to_send (auth, &tmp)) in _dbus_auth_script_run()
287 _dbus_auth_bytes_sent (auth, count); in _dbus_auth_script_run()
308 if (auth != NULL) in _dbus_auth_script_run()
314 auth = _dbus_auth_client_new (); in _dbus_auth_script_run()
315 if (auth == NULL) in _dbus_auth_script_run()
322 _dbus_auth_ref (auth); in _dbus_auth_script_run()
[all …]
Ddbus-transport.c98 DBusAuth *auth; in _dbus_transport_init_base() local
107 auth = _dbus_auth_server_new (server_guid); in _dbus_transport_init_base()
109 auth = _dbus_auth_client_new (); in _dbus_transport_init_base()
110 if (auth == NULL) in _dbus_transport_init_base()
119 _dbus_auth_unref (auth); in _dbus_transport_init_base()
136 _dbus_auth_unref (auth); in _dbus_transport_init_base()
145 transport->auth = auth; in _dbus_transport_init_base()
196 _dbus_auth_unref (transport->auth); in _dbus_transport_finalize_base()
521 switch (_dbus_auth_do_work (transport->auth)) in _dbus_transport_get_is_authenticated()
535 server_guid = _dbus_auth_get_guid_from_server (transport->auth); in _dbus_transport_get_is_authenticated()
[all …]
/external/webkit/WebCore/platform/sql/
DSQLiteDatabase.cpp257 DatabaseAuthorizer* auth = static_cast<DatabaseAuthorizer*>(userData); in authorizerFunction() local
258 ASSERT(auth); in authorizerFunction()
262 return auth->createIndex(parameter1, parameter2); in authorizerFunction()
264 return auth->createTable(parameter1); in authorizerFunction()
266 return auth->createTempIndex(parameter1, parameter2); in authorizerFunction()
268 return auth->createTempTable(parameter1); in authorizerFunction()
270 return auth->createTempTrigger(parameter1, parameter2); in authorizerFunction()
272 return auth->createTempView(parameter1); in authorizerFunction()
274 return auth->createTrigger(parameter1, parameter2); in authorizerFunction()
276 return auth->createView(parameter1); in authorizerFunction()
[all …]
/external/bluetooth/bluez/plugins/
Dservice.c296 struct pending_auth *auth = l->data; in next_pending() local
297 return auth; in next_pending()
310 struct pending_auth *auth = l->data; in find_pending_by_sender() local
311 if (g_str_equal(auth->sender, sender)) in find_pending_by_sender()
312 return auth; in find_pending_by_sender()
322 struct pending_auth *auth; in exit_callback() local
329 auth = find_pending_by_sender(serv_adapter, user_record->sender); in exit_callback()
330 if (auth) { in exit_callback()
332 auth); in exit_callback()
333 g_free(auth); in exit_callback()
[all …]
/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/wpa_gui/
Dnetworkconfig.ui.h41 int auth, encr = 0; in paramsFromScanResults() local
43 auth = AUTH_WPA2_EAP; in paramsFromScanResults()
45 auth = AUTH_WPA_EAP; in paramsFromScanResults()
47 auth = AUTH_WPA2_PSK; in paramsFromScanResults()
49 auth = AUTH_WPA_PSK; in paramsFromScanResults()
51 auth = AUTH_NONE; in paramsFromScanResults()
62 authSelect->setCurrentItem(auth); in paramsFromScanResults()
63 authChanged(auth); in paramsFromScanResults()
104 int auth = authSelect->currentItem(); in addNetwork() local
106 if (auth == AUTH_WPA_PSK || auth == AUTH_WPA2_PSK) { in addNetwork()
[all …]
/external/wpa_supplicant/wpa_gui-qt4/
Dnetworkconfig.cpp71 int auth, encr = 0; in paramsFromScanResults() local
73 auth = AUTH_WPA2_EAP; in paramsFromScanResults()
75 auth = AUTH_WPA_EAP; in paramsFromScanResults()
77 auth = AUTH_WPA2_PSK; in paramsFromScanResults()
79 auth = AUTH_WPA_PSK; in paramsFromScanResults()
81 auth = AUTH_NONE; in paramsFromScanResults()
92 authSelect->setCurrentItem(auth); in paramsFromScanResults()
93 authChanged(auth); in paramsFromScanResults()
134 int auth = authSelect->currentItem(); in addNetwork() local
136 if (auth == AUTH_WPA_PSK || auth == AUTH_WPA2_PSK) { in addNetwork()
[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;
DBasicScheme.java31 package org.apache.http.impl.auth;
36 import org.apache.http.auth.AuthenticationException;
37 import org.apache.http.auth.Credentials;
38 import org.apache.http.auth.AUTH;
39 import org.apache.http.auth.MalformedChallengeException;
40 import org.apache.http.auth.params.AuthParams;
DDigestSchemeFactory.java32 package org.apache.http.impl.auth;
34 import org.apache.http.auth.AuthScheme;
35 import org.apache.http.auth.AuthSchemeFactory;
DBasicSchemeFactory.java32 package org.apache.http.impl.auth;
34 import org.apache.http.auth.AuthScheme;
35 import org.apache.http.auth.AuthSchemeFactory;
DAuthSchemeBase.java31 package org.apache.http.impl.auth;
35 import org.apache.http.auth.AUTH;
36 import org.apache.http.auth.AuthScheme;
37 import org.apache.http.auth.MalformedChallengeException;
/external/bluetooth/bluez/src/
Ddevice.c128 uint8_t auth; member
935 device->auth = 0xff; in device_create()
1620 void device_set_auth(struct btd_device *device, uint8_t auth) in device_set_auth() argument
1625 device->auth = auth; in device_set_auth()
1630 return device->auth; in device_get_auth()
1986 struct authentication_req *auth = device->authr; in device_simple_pairing_complete() local
1988 if (auth && auth->type == AUTH_TYPE_NOTIFY && auth->agent) in device_simple_pairing_complete()
1989 agent_cancel(auth->agent); in device_simple_pairing_complete()
1995 struct authentication_req *auth = device->authr; in device_bonding_complete() local
1997 if (auth && auth->type == AUTH_TYPE_NOTIFY && auth->agent) in device_bonding_complete()
[all …]
Ddbus-hci.c305 uint8_t *auth) in get_auth_requirements() argument
334 if (auth) in get_auth_requirements()
335 *auth = req.type; in get_auth_requirements()
896 uint8_t *cap, uint8_t *auth) in hcid_dbus_get_io_cap() argument
905 if (get_auth_requirements(local, remote, auth) < 0) in hcid_dbus_get_io_cap()
908 debug("initial authentication requirement is 0x%02x", *auth); in hcid_dbus_get_io_cap()
910 if (*auth == 0xff) in hcid_dbus_get_io_cap()
911 *auth = device_get_auth(device); in hcid_dbus_get_io_cap()
917 if (*auth < 0x02 && device_get_auth(device) < 0x02) { in hcid_dbus_get_io_cap()
939 if (*auth == 0x00) { in hcid_dbus_get_io_cap()
[all …]
/external/ipsec-tools/
Dsetup.c138 static void add_proposal(int auth, int hash, int encryption, int length) in add_proposal() argument
145 p->authmethod = auth; in add_proposal()
234 int auth; in setup() local
262 auth = OAKLEY_ATTR_AUTH_METHOD_PSKEY; in setup()
267 auth = OAKLEY_ATTR_AUTH_METHOD_RSASIG; in setup()
271 add_proposal(auth, OAKLEY_ATTR_HASH_ALG_SHA, OAKLEY_ATTR_ENC_ALG_3DES, 0); in setup()
272 add_proposal(auth, OAKLEY_ATTR_HASH_ALG_MD5, OAKLEY_ATTR_ENC_ALG_3DES, 0); in setup()
273 add_proposal(auth, OAKLEY_ATTR_HASH_ALG_SHA, OAKLEY_ATTR_ENC_ALG_DES, 0); in setup()
274 add_proposal(auth, OAKLEY_ATTR_HASH_ALG_MD5, OAKLEY_ATTR_ENC_ALG_DES, 0); in setup()
275 add_proposal(auth, OAKLEY_ATTR_HASH_ALG_SHA, OAKLEY_ATTR_ENC_ALG_AES, 128); in setup()
[all …]
/external/bluetooth/bluez/audio/
Ddevice.c685 struct service_auth *auth = priv->auths->data; in auth_cb() local
687 auth->cb(derr, auth->user_data); in auth_cb()
688 priv->auths = g_slist_remove(priv->auths, auth); in auth_cb()
689 g_free(auth); in auth_cb()
740 struct service_auth *auth; in audio_device_request_authorization() local
743 auth = g_try_new0(struct service_auth, 1); in audio_device_request_authorization()
744 if (!auth) in audio_device_request_authorization()
747 auth->cb = cb; in audio_device_request_authorization()
748 auth->user_data = user_data; in audio_device_request_authorization()
750 priv->auths = g_slist_append(priv->auths, auth); in audio_device_request_authorization()
[all …]
/external/apache-http/src/org/apache/http/client/protocol/
DRequestTargetAuthentication.java41 import org.apache.http.auth.AUTH;
42 import org.apache.http.auth.AuthScheme;
43 import org.apache.http.auth.AuthState;
44 import org.apache.http.auth.AuthenticationException;
45 import org.apache.http.auth.Credentials;
DRequestProxyAuthentication.java41 import org.apache.http.auth.AUTH;
42 import org.apache.http.auth.AuthScheme;
43 import org.apache.http.auth.AuthState;
44 import org.apache.http.auth.AuthenticationException;
45 import org.apache.http.auth.Credentials;
/external/netcat/data/
Dshowmount.d43 000 # auth trash
48 000 # auth trash
53 000 # auth trash
58 000 # extra auth trash? probably not needed
/external/webkit/WebKit/gtk/webkit/
Dwebkitsoupauthdialog.c86 SoupAuth* auth; member
119 soup_auth_get_realm(authData->auth), in save_password_callback()
123 soup_auth_get_scheme_name(authData->auth), in save_password_callback()
140 soup_auth_authenticate(authData->auth, authData->username, authData->password); in response_callback()
318 static void session_authenticate(SoupSession* session, SoupMessage* msg, SoupAuth* auth, gboolean r… in session_authenticate() argument
331 authData->auth = auth; in session_authenticate()
341 soup_auth_get_realm(auth), in session_authenticate()
345 soup_auth_get_scheme_name(auth), in session_authenticate()
/external/dropbear/
Dfilelist.txt33 auth.c General auth handling, including user checking etc,
34 passes different auth types to auth{passwd,pubkey}
36 authpasswd.c Handles /etc/passwd or /etc/shadow auth
38 authpubkey.c Handles ~/.ssh/authorized_keys auth
57 agentfwd.c Handles auth-agent forwarding requests
/external/dbus/test/data/valid-config-files/
Ddebug-allow-all-sha1.conf1 <!-- Bus that listens on a debug pipe and requires SHA1 auth, used to test SHA1 -->
9 <auth>DBUS_COOKIE_SHA1</auth>
/external/apache-http/src/org/apache/http/client/
DAuthenticationHandler.java38 import org.apache.http.auth.AuthScheme;
39 import org.apache.http.auth.AuthenticationException;
40 import org.apache.http.auth.MalformedChallengeException;

1234567