HomeSort by relevance Sort by last modified time
    Searched full:conn (Results 1 - 25 of 548) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/wpa_supplicant_8/src/tls/
tlsv1_client.h 19 void tlsv1_client_deinit(struct tlsv1_client *conn);
20 int tlsv1_client_established(struct tlsv1_client *conn);
21 int tlsv1_client_prf(struct tlsv1_client *conn, const char *label,
23 u8 * tlsv1_client_handshake(struct tlsv1_client *conn,
27 int tlsv1_client_encrypt(struct tlsv1_client *conn,
30 struct wpabuf * tlsv1_client_decrypt(struct tlsv1_client *conn,
33 int tlsv1_client_get_cipher(struct tlsv1_client *conn, char *buf,
35 int tlsv1_client_shutdown(struct tlsv1_client *conn);
36 int tlsv1_client_resumed(struct tlsv1_client *conn);
37 int tlsv1_client_hello_ext(struct tlsv1_client *conn, int ext_type
    [all...]
tlsv1_server.h 19 void tlsv1_server_deinit(struct tlsv1_server *conn);
20 int tlsv1_server_established(struct tlsv1_server *conn);
21 int tlsv1_server_prf(struct tlsv1_server *conn, const char *label,
23 u8 * tlsv1_server_handshake(struct tlsv1_server *conn,
25 int tlsv1_server_encrypt(struct tlsv1_server *conn,
28 int tlsv1_server_decrypt(struct tlsv1_server *conn,
31 int tlsv1_server_get_cipher(struct tlsv1_server *conn, char *buf,
33 int tlsv1_server_shutdown(struct tlsv1_server *conn);
34 int tlsv1_server_resumed(struct tlsv1_server *conn);
35 int tlsv1_server_get_keys(struct tlsv1_server *conn, struct tls_keys *keys)
    [all...]
tlsv1_server.c 24 void tlsv1_server_alert(struct tlsv1_server *conn, u8 level, u8 description)
26 conn->alert_level = level;
27 conn->alert_description = description;
31 int tlsv1_server_derive_keys(struct tlsv1_server *conn,
43 os_memcpy(seed, conn->client_random, TLS_RANDOM_LEN);
44 os_memcpy(seed + TLS_RANDOM_LEN, conn->server_random,
46 if (tls_prf(conn->rl.tls_version,
49 conn->master_secret, TLS_MASTER_SECRET_LEN)) {
55 conn->master_secret, TLS_MASTER_SECRET_LEN);
58 os_memcpy(seed, conn->server_random, TLS_RANDOM_LEN)
343 struct tlsv1_server *conn; local
    [all...]
tlsv1_client_read.c 22 static int tls_process_server_key_exchange(struct tlsv1_client *conn, u8 ct,
24 static int tls_process_certificate_request(struct tlsv1_client *conn, u8 ct,
26 static int tls_process_server_hello_done(struct tlsv1_client *conn, u8 ct,
30 static int tls_process_server_hello(struct tlsv1_client *conn, u8 ct,
41 tls_alert(conn, TLS_ALERT_LEVEL_FATAL,
56 tls_alert(conn, TLS_ALERT_LEVEL_FATAL,
82 tls_alert(conn, TLS_ALERT_LEVEL_FATAL,
90 conn->rl.tls_version = tls_version;
96 os_memcpy(conn->server_random, pos, TLS_RANDOM_LEN);
99 conn->server_random, TLS_RANDOM_LEN)
    [all...]
tlsv1_server_read.c 23 static int tls_process_client_key_exchange(struct tlsv1_server *conn, u8 ct,
25 static int tls_process_change_cipher_spec(struct tlsv1_server *conn,
30 static int tls_process_client_hello(struct tlsv1_server *conn, u8 ct,
43 tlsv1_server_alert(conn, TLS_ALERT_LEVEL_FATAL,
58 tlsv1_server_alert(conn, TLS_ALERT_LEVEL_FATAL,
80 conn->client_version = WPA_GET_BE16(pos);
82 conn->client_version >> 8, conn->client_version & 0xff);
83 if (conn->client_version < TLS_VERSION_1) {
86 conn->client_version >> 8
    [all...]
tlsv1_client.c 24 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description)
26 conn->alert_level = level;
27 conn->alert_description = description;
31 void tlsv1_client_free_dh(struct tlsv1_client *conn)
33 os_free(conn->dh_p);
34 os_free(conn->dh_g);
35 os_free(conn->dh_ys);
36 conn->dh_p = conn->dh_g = conn->dh_ys = NULL
443 struct tlsv1_client *conn; local
    [all...]
tlsv1_server_write.c 24 static size_t tls_server_cert_chain_der_len(struct tlsv1_server *conn)
29 cert = conn->cred->cert;
34 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
42 static int tls_write_server_hello(struct tlsv1_server *conn,
56 WPA_PUT_BE32(conn->server_random, now.sec);
57 if (random_get_bytes(conn->server_random + 4, TLS_RANDOM_LEN - 4)) {
63 conn->server_random, TLS_RANDOM_LEN);
65 conn->session_id_len = TLS_SESSION_ID_MAX_LEN;
66 if (random_get_bytes(conn->session_id, conn->session_id_len))
    [all...]
tlsv1_client_write.c 24 static size_t tls_client_cert_chain_der_len(struct tlsv1_client *conn)
29 if (conn->cred == NULL)
32 cert = conn->cred->cert;
37 cert = x509_certificate_get_subject(conn->cred->trusted_certs,
45 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len)
55 WPA_PUT_BE32(conn->client_random, now.sec);
56 if (random_get_bytes(conn->client_random + 4, TLS_RANDOM_LEN - 4)) {
62 conn->client_random, TLS_RANDOM_LEN);
64 len = 100 + conn->num_cipher_suites * 2 + conn->client_hello_ext_len
    [all...]
tlsv1_client_i.h 70 void tls_alert(struct tlsv1_client *conn, u8 level, u8 description);
71 void tlsv1_client_free_dh(struct tlsv1_client *conn);
73 int tls_derive_keys(struct tlsv1_client *conn,
75 u8 * tls_send_client_hello(struct tlsv1_client *conn, size_t *out_len);
76 u8 * tlsv1_client_send_alert(struct tlsv1_client *conn, u8 level,
78 u8 * tlsv1_client_handshake_write(struct tlsv1_client *conn, size_t *out_len,
80 int tlsv1_client_process_handshake(struct tlsv1_client *conn, u8 ct,
  /external/wpa_supplicant_8/src/crypto/
tls_internal.c 82 struct tls_connection *conn; local
85 conn = os_zalloc(sizeof(*conn));
86 if (conn == NULL)
91 conn->client = tlsv1_client_init();
92 if (conn->client == NULL) {
93 os_free(conn);
100 conn->server = tlsv1_server_init(global->server_cred);
101 if (conn->server == NULL) {
102 os_free(conn);
    [all...]
tls_none.c 37 void tls_connection_deinit(void *tls_ctx, struct tls_connection *conn)
42 int tls_connection_established(void *tls_ctx, struct tls_connection *conn)
48 int tls_connection_shutdown(void *tls_ctx, struct tls_connection *conn)
54 int tls_connection_set_params(void *tls_ctx, struct tls_connection *conn,
74 int tls_connection_set_verify(void *tls_ctx, struct tls_connection *conn,
81 int tls_connection_get_keys(void *tls_ctx, struct tls_connection *conn,
88 int tls_connection_prf(void *tls_ctx, struct tls_connection *conn,
97 struct tls_connection *conn,
106 struct tls_connection *conn,
115 struct tls_connection *conn,
    [all...]
tls_nss.c 75 struct tls_connection *conn = (struct tls_connection *) fd->secret; local
80 if (conn->pull_buf == NULL) {
85 end = conn->pull_buf + conn->pull_buf_len;
86 if (end - conn->pull_buf_offset < amount)
87 amount = end - conn->pull_buf_offset;
88 os_memcpy(buf, conn->pull_buf_offset, amount);
89 conn->pull_buf_offset += amount;
90 if (conn->pull_buf_offset == end) {
92 os_free(conn->pull_buf)
107 struct tls_connection *conn = (struct tls_connection *) fd->secret; local
288 struct tls_connection *conn = arg; local
318 struct tls_connection *conn = client_data; local
326 struct tls_connection *conn; local
    [all...]
tls_gnutls.c 207 struct tls_connection *conn = (struct tls_connection *) ptr; local
209 if (conn->pull_buf == NULL) {
214 end = wpabuf_head_u8(conn->pull_buf) + wpabuf_len(conn->pull_buf);
215 if ((size_t) (end - conn->pull_buf_offset) < len)
216 len = end - conn->pull_buf_offset;
217 os_memcpy(buf, conn->pull_buf_offset, len);
218 conn->pull_buf_offset += len;
219 if (conn->pull_buf_offset == end) {
221 wpabuf_free(conn->pull_buf)
236 struct tls_connection *conn = (struct tls_connection *) ptr; local
306 struct tls_connection *conn; local
    [all...]
tls_openssl.c 535 struct tls_connection *conn = local
538 conn->read_alerts++;
540 conn->write_alerts++;
813 static int tls_engine_init(struct tls_connection *conn, const char *engine_id,
838 conn->engine = ENGINE_by_id(engine_id);
839 if (!conn->engine) {
844 if (ENGINE_init(conn->engine) != 1) {
853 if (ENGINE_ctrl_cmd_string(conn->engine, "PIN", pin, 0) == 0) {
860 conn->private_key = ENGINE_load_private_key(conn->engine
937 struct tls_connection *conn; local
1211 struct tls_connection *conn; local
2895 struct tls_connection *conn = arg; local
2921 struct tls_connection *conn = arg; local
2948 struct tls_connection *conn = arg; local
2973 struct tls_connection *conn = arg; local
    [all...]
  /external/qemu/proxy/
proxy_http_rewriter.c 370 RewriteConnection* conn = (RewriteConnection*)root; local
372 if (conn->slirp_fd >= 0) {
373 socket_close(conn->slirp_fd);
374 conn->slirp_fd = -1;
376 http_request_free(conn->request);
378 qemu_free(conn);
383 rewrite_connection_init( RewriteConnection* conn )
385 HttpService* service = (HttpService*) conn->root->service;
386 ProxyConnection* root = conn->root;
388 conn->slirp_fd = -1
943 RewriteConnection* conn = (RewriteConnection*)root; local
996 RewriteConnection* conn = (RewriteConnection*)root; local
1154 RewriteConnection* conn; local
    [all...]
proxy_common.c 60 proxy_connection_init( ProxyConnection* conn,
68 conn->socket = socket;
69 conn->address = address[0];
70 conn->service = service;
71 conn->next = NULL;
73 conn->conn_free = conn_free;
74 conn->conn_select = conn_select;
75 conn->conn_poll = conn_poll;
82 snprintf( conn->name, sizeof(conn->name)
286 ProxyConnection* conn = s_connections->next; local
342 ProxyConnection* conn = service->serv_connect( service->opaque, local
363 ProxyConnection* conn = s_connections->next; local
422 ProxyConnection* conn; local
445 ProxyConnection* conn = s_connections->next; local
    [all...]
  /libcore/luni/src/test/java/libcore/java/sql/
OldConnectionTest.java 33 Statement statement = conn.createStatement();
40 conn.close();
48 // Scrolling on a forward only RS not allowed. conn.close() does not wrap up
55 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY,
75 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY,
96 st = conn.createStatement(ResultSet.TYPE_FORWARD_ONLY,
118 st = conn.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
141 st = conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,
163 conn.close();
167 conn.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE, -1)
    [all...]
  /prebuilts/tools/common/m2/repository/org/apache/httpcomponents/httpclient/4.1.1/
httpclient-4.1.1-sources.jar 
  /external/ppp/pppd/plugins/rp-pppoe/
pppoe-discovery.c 31 PPPoEConnection *conn; local
33 conn = malloc(sizeof(PPPoEConnection));
34 if (!conn)
37 memset(conn, 0, sizeof(PPPoEConnection));
42 conn->serviceName = xstrdup(optarg);
45 conn->acName = xstrdup(optarg);
48 conn->useHostUniq = 1;
51 conn->debugFile = fopen(optarg, "w");
52 if (!conn->debugFile) {
57 fprintf(conn->debugFile, "pppoe-discovery %s\n", VERSION)
    [all...]
discovery.c 72 * conn -- PPPoE connection info
81 packetIsForMe(PPPoEConnection *conn, PPPoEPacket *packet)
86 if (memcmp(packet->ethHdr.h_dest, conn->myEth, ETH_ALEN)) return 0;
89 if (!conn->useHostUniq) return 1;
114 PPPoEConnection *conn = pc->conn; local
120 if (conn->printACNames) {
123 if (conn->acName && len == strlen(conn->acName) &&
124 !strncmp((char *) data, conn->acName, len))
209 PPPoEConnection *conn = (PPPoEConnection *) extra; local
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/
FileURLConnectionTest.java 57 FileURLConnection conn = new FileURLConnection(anchorUrl); local
58 assertNotNull(conn.getInputStream());
63 conn = new FileURLConnection(localURL);
64 assertNotNull(conn.getInputStream());
65 assertEquals("file",conn.getURL().getProtocol());
71 FileURLConnection conn = new FileURLConnection(url); local
72 assertNotNull(conn.getInputStream());
73 assertEquals(conn.getContentType(), conn.getHeaderField("content-type")) ;
77 conn = new FileURLConnection(url)
    [all...]
  /external/apache-http/src/org/apache/http/impl/conn/
AbstractClientConnAdapter.java 2 * $HeadURL: http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/module-client/src/main/java/org/apache/http/impl/conn/AbstractClientConnAdapter.java $
31 package org.apache.http.impl.conn;
48 import org.apache.http.conn.OperatedClientConnection;
49 import org.apache.http.conn.ManagedClientConnection;
50 import org.apache.http.conn.ClientConnectionManager;
111 * @param conn the connection to wrap, or <code>null</code>
114 OperatedClientConnection conn) {
118 wrappedConnection = conn;
169 OperatedClientConnection conn = getWrappedConnection(); local
170 if (conn == null
191 OperatedClientConnection conn = getWrappedConnection(); local
199 OperatedClientConnection conn = getWrappedConnection(); local
207 OperatedClientConnection conn = getWrappedConnection(); local
218 OperatedClientConnection conn = getWrappedConnection(); local
230 OperatedClientConnection conn = getWrappedConnection(); local
242 OperatedClientConnection conn = getWrappedConnection(); local
255 OperatedClientConnection conn = getWrappedConnection(); local
268 OperatedClientConnection conn = getWrappedConnection(); local
281 OperatedClientConnection conn = getWrappedConnection(); local
291 OperatedClientConnection conn = getWrappedConnection(); local
298 OperatedClientConnection conn = getWrappedConnection(); local
306 OperatedClientConnection conn = getWrappedConnection(); local
313 OperatedClientConnection conn = getWrappedConnection(); local
320 OperatedClientConnection conn = getWrappedConnection(); local
327 OperatedClientConnection conn = getWrappedConnection(); local
    [all...]
  /external/bluetooth/bluedroid/btif/co/
bta_pan_co.c 79 btpan_conn_t* conn = btpan_find_conn_addr(peer_addr); local
80 if(conn == NULL)
81 conn = btpan_new_conn(handle, peer_addr, local_role, peer_role);
82 if(conn)
85 "conn->handle:%d should = handle:%d, local_role:%d, remote_role:%d",
86 btpan_cb.tap_fd, btpan_cb.open_count, conn->handle, handle,
87 conn->local_role, conn->remote_role);
91 conn->handle = handle;
92 //bdcpy(conn->peer, peer_addr)
121 btpan_conn_t* conn = btpan_find_conn_handle(handle); local
173 btpan_conn_t* conn = btpan_find_conn_handle(handle); local
    [all...]
  /external/jmonkeyengine/engine/src/core-plugins/com/jme3/asset/plugins/
UrlAssetInfo.java 25 URLConnection conn = url.openConnection(); local
26 conn.setUseCaches(false);
27 InputStream in = conn.getInputStream();
57 URLConnection conn = url.openConnection(); local
58 conn.setUseCaches(false);
59 return conn.getInputStream();
  /external/javasqlite/src/main/java/SQLite/JDBC2z/
JDBCStatement.java 8 protected JDBCConnection conn; field in class:JDBCStatement
14 public JDBCStatement(JDBCConnection conn) {
15 this.conn = conn;
70 conn.timeout = 5000;
72 conn.timeout = seconds * 1000;
78 return conn.timeout / 1000; // android-changed: should return seconds
93 if (conn == null || conn.db == null) {
97 boolean starttrans = !conn.autocommit && !conn.intrans
    [all...]

Completed in 1974 milliseconds

1 2 3 4 5 6 7 8 91011>>