/external/chromium_org/net/tools/flip_server/ |
D | spdy_ssl.cc | 47 state->ssl_ctx = SSL_CTX_new(const_cast<SSL_METHOD*>(state->ssl_method)); in InitSSL() 48 if (!state->ssl_ctx) { in InitSSL() 53 SSL_CTX_set_options(state->ssl_ctx, in InitSSL() 55 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, in InitSSL() 61 state->ssl_ctx, ssl_key_name.c_str(), SSL_FILETYPE_PEM) <= 0) { in InitSSL() 65 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { in InitSSL() 71 state->ssl_ctx, ssl_set_npn_callback, NULL); in InitSSL() 74 SSL_CTX_set_cipher_list(state->ssl_ctx, SSL_CIPHER_LIST); in InitSSL() 78 SSL_CTX_set_timeout(state->ssl_ctx, session_expiration_time); in InitSSL() 82 SSL_CTX_set_mode(state->ssl_ctx, SSL_MODE_RELEASE_BUFFERS); in InitSSL() [all …]
|
D | spdy_ssl.h | 16 SSL_CTX* ssl_ctx; member 25 SSL* CreateSSLContext(SSL_CTX* ssl_ctx);
|
/external/chromium/net/tools/flip_server/ |
D | spdy_ssl.cc | 39 state->ssl_ctx = SSL_CTX_new(state->ssl_method); in InitSSL() 40 if (!state->ssl_ctx) { in InitSSL() 45 SSL_CTX_set_options(state->ssl_ctx, in InitSSL() 47 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, in InitSSL() 52 if (SSL_CTX_use_PrivateKey_file(state->ssl_ctx, in InitSSL() 58 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { in InitSSL() 63 SSL_CTX_set_next_protos_advertised_cb(state->ssl_ctx, in InitSSL() 67 SSL_CTX_set_cipher_list(state->ssl_ctx, SSL_CIPHER_LIST); in InitSSL() 71 SSL_CTX_set_timeout(state->ssl_ctx, session_expiration_time); in InitSSL() 75 SSL_CTX_set_mode(state->ssl_ctx, SSL_MODE_RELEASE_BUFFERS); in InitSSL() [all …]
|
D | spdy_ssl.h | 16 SSL_CTX* ssl_ctx; member 25 SSL* CreateSSLContext(SSL_CTX* ssl_ctx);
|
/external/wpa_supplicant_8/src/crypto/ |
D | tls_openssl.c | 465 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) in tls_cryptoapi_ca_cert() argument 511 if (!X509_STORE_add_cert(ssl_ctx->cert_store, cert)) { in tls_cryptoapi_ca_cert() 836 void tls_deinit(void *ssl_ctx) in tls_deinit() argument 838 SSL_CTX *ssl = ssl_ctx; in tls_deinit() 970 int tls_get_errors(void *ssl_ctx) in tls_get_errors() argument 984 struct tls_connection * tls_connection_init(void *ssl_ctx) in tls_connection_init() argument 986 SSL_CTX *ssl = ssl_ctx; in tls_connection_init() 1044 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) in tls_connection_deinit() argument 1057 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) in tls_connection_established() argument 1063 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument [all …]
|
D | tls_schannel.c | 99 void tls_deinit(void *ssl_ctx) in tls_deinit() argument 101 struct tls_global *global = ssl_ctx; in tls_deinit() 110 int tls_get_errors(void *ssl_ctx) in tls_get_errors() argument 116 struct tls_connection * tls_connection_init(void *ssl_ctx) in tls_connection_init() argument 129 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) in tls_connection_deinit() argument 138 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) in tls_connection_established() argument 144 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument 146 struct tls_global *global = ssl_ctx; in tls_connection_shutdown() 167 int tls_global_set_verify(void *ssl_ctx, int check_crl) in tls_global_set_verify() argument 173 int tls_connection_set_verify(void *ssl_ctx, struct tls_connection *conn, in tls_connection_set_verify() argument [all …]
|
D | tls_gnutls.c | 182 void tls_deinit(void *ssl_ctx) in tls_deinit() argument 184 struct tls_global *global = ssl_ctx; in tls_deinit() 198 int tls_get_errors(void *ssl_ctx) in tls_get_errors() argument 303 struct tls_connection * tls_connection_init(void *ssl_ctx) in tls_connection_init() argument 305 struct tls_global *global = ssl_ctx; in tls_connection_init() 339 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) in tls_connection_deinit() argument 355 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) in tls_connection_established() argument 361 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) in tls_connection_shutdown() argument 363 struct tls_global *global = ssl_ctx; in tls_connection_shutdown() 730 int tls_global_set_verify(void *ssl_ctx, int check_crl) in tls_global_set_verify() argument [all …]
|
D | tls_none.c | 20 void tls_deinit(void *ssl_ctx) in tls_deinit() argument
|
/external/wpa_supplicant_8/src/ap/ |
D | authsrv.c | 97 srv.ssl_ctx = hapd->ssl_ctx; in hostapd_setup_radius_srv() 139 hapd->ssl_ctx = tls_init(NULL); in authsrv_init() 140 if (hapd->ssl_ctx == NULL) { in authsrv_init() 155 if (tls_global_set_params(hapd->ssl_ctx, ¶ms)) { in authsrv_init() 161 if (tls_global_set_verify(hapd->ssl_ctx, in authsrv_init() 202 if (hapd->ssl_ctx) { in authsrv_deinit() 203 tls_deinit(hapd->ssl_ctx); in authsrv_deinit() 204 hapd->ssl_ctx = NULL; in authsrv_deinit()
|
/external/chromium_org/third_party/openssl/openssl/crypto/threads/ |
D | mttest.c | 370 int ndoit(SSL_CTX *ssl_ctx[2]) in ndoit() 376 ctx[0]=(char *)ssl_ctx[0]; in ndoit() 377 ctx[1]=(char *)ssl_ctx[1]; in ndoit() 381 ctx[2]=(char *)SSL_new(ssl_ctx[0]); in ndoit() 382 ctx[3]=(char *)SSL_new(ssl_ctx[1]); in ndoit() 765 SSL_CTX *ssl_ctx[2]; in do_threads() local 771 ssl_ctx[0]=s_ctx; in do_threads() 772 ssl_ctx[1]=c_ctx; in do_threads() 780 (void *)ssl_ctx, in do_threads() 893 SSL_CTX *ssl_ctx[2]; in do_threads() local [all …]
|
/external/openssl/crypto/threads/ |
D | mttest.c | 370 int ndoit(SSL_CTX *ssl_ctx[2]) in ndoit() 376 ctx[0]=(char *)ssl_ctx[0]; in ndoit() 377 ctx[1]=(char *)ssl_ctx[1]; in ndoit() 381 ctx[2]=(char *)SSL_new(ssl_ctx[0]); in ndoit() 382 ctx[3]=(char *)SSL_new(ssl_ctx[1]); in ndoit() 765 SSL_CTX *ssl_ctx[2]; in do_threads() local 771 ssl_ctx[0]=s_ctx; in do_threads() 772 ssl_ctx[1]=c_ctx; in do_threads() 780 (void *)ssl_ctx, in do_threads() 893 SSL_CTX *ssl_ctx[2]; in do_threads() local [all …]
|
/external/wpa_supplicant_8/src/eap_peer/ |
D | eap_tls_common.c | 171 data->conn = tls_connection_init(data->ssl_ctx); in eap_tls_init_connection() 178 res = tls_connection_set_params(data->ssl_ctx, data->conn, params); in eap_tls_init_connection() 197 tls_connection_deinit(data->ssl_ctx, data->conn); in eap_tls_init_connection() 203 tls_connection_deinit(data->ssl_ctx, data->conn); in eap_tls_init_connection() 234 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : in eap_peer_tls_ssl_init() 235 sm->ssl_ctx; in eap_peer_tls_ssl_init() 273 tls_connection_deinit(data->ssl_ctx, data->conn); in eap_peer_tls_ssl_deinit() 306 if (tls_connection_prf(data->ssl_ctx, data->conn, label, 0, out, len) in eap_peer_tls_derive_key() 316 if (tls_connection_get_keys(data->ssl_ctx, data->conn, &keys)) in eap_peer_tls_derive_key() 370 if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys)) in eap_peer_tls_derive_session_id() [all …]
|
D | eap_tls.c | 26 void *ssl_ctx; member 47 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : in eap_tls_init() 48 sm->ssl_ctx; in eap_tls_init() 84 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : in eap_unauth_tls_init() 85 sm->ssl_ctx; in eap_unauth_tls_init() 216 if (tls_connection_established(data->ssl_ctx, data->ssl.conn)) in eap_tls_process() 231 return tls_connection_established(data->ssl_ctx, data->ssl.conn); in eap_tls_has_reauth_data()
|
D | eap_fast.c | 180 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn, in eap_fast_init() 194 if (tls_connection_enable_workaround(sm->ssl_ctx, data->ssl.conn)) { in eap_fast_init() 267 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion", in eap_fast_derive_key_auth() 293 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, in eap_fast_derive_key_provisioning() 1396 tls_connection_client_hello_ext(sm->ssl_ctx, data->ssl.conn, in eap_fast_use_pac_opaque() 1413 if (tls_connection_client_hello_ext(sm->ssl_ctx, data->ssl.conn, in eap_fast_clear_pac_opaque_ext() 1445 if (tls_connection_set_cipher_list(sm->ssl_ctx, data->ssl.conn, in eap_fast_set_provisioning_ciphers() 1533 if (tls_connection_established(sm->ssl_ctx, data->ssl.conn) && in eap_fast_process() 1555 if (tls_connection_established(sm->ssl_ctx, data->ssl.conn)) { in eap_fast_process() 1562 tls_get_cipher(sm->ssl_ctx, data->ssl.conn, in eap_fast_process() [all …]
|
D | eap_tls_common.h | 70 void *ssl_ctx; member
|
/external/wpa_supplicant_8/src/eap_server/ |
D | eap_server_tls_common.c | 39 data->conn = tls_connection_init(sm->ssl_ctx); in eap_server_tls_ssl_init() 46 if (tls_connection_set_verify(sm->ssl_ctx, data->conn, verify_peer)) { in eap_server_tls_ssl_init() 49 tls_connection_deinit(sm->ssl_ctx, data->conn); in eap_server_tls_ssl_init() 68 tls_connection_deinit(sm->ssl_ctx, data->conn); in eap_server_tls_ssl_deinit() 85 if (tls_connection_prf(sm->ssl_ctx, data->conn, label, 0, out, len) == in eap_server_tls_derive_key() 89 if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys)) in eap_server_tls_derive_key() 265 data->tls_out = tls_connection_server_handshake(sm->ssl_ctx, in eap_server_tls_phase1() 272 if (tls_connection_get_failed(sm->ssl_ctx, data->conn)) { in eap_server_tls_phase1() 364 buf = tls_connection_encrypt(sm->ssl_ctx, data->conn, in eap_server_tls_encrypt() 415 if (tls_connection_get_write_alerts(sm->ssl_ctx, data->conn) > 1) { in eap_server_tls_process()
|
D | eap_server_fast.c | 276 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, "key expansion", in eap_fast_derive_key_auth() 302 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn, in eap_fast_derive_key_provisioning() 437 if (tls_connection_set_cipher_list(sm->ssl_ctx, data->ssl.conn, in eap_fast_init() 445 if (tls_connection_set_session_ticket_cb(sm->ssl_ctx, data->ssl.conn, in eap_fast_init() 550 if (tls_get_cipher(sm->ssl_ctx, data->ssl.conn, cipher, sizeof(cipher)) in eap_fast_phase1_done() 867 if (tls_connection_established(sm->ssl_ctx, data->ssl.conn)) { in eap_fast_buildReq() 1390 in_decrypted = tls_connection_decrypt(sm->ssl_ctx, data->ssl.conn, in eap_fast_process_phase2() 1450 if (!tls_connection_established(sm->ssl_ctx, data->ssl.conn) || in eap_fast_process_phase1()
|
D | eap.h | 85 void *ssl_ctx; member
|
D | eap_i.h | 153 void *ssl_ctx; member
|
/external/wpa_supplicant_8/src/eap_common/ |
D | eap_fast_common.c | 96 u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn, in eap_fast_derive_key() argument 103 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); in eap_fast_derive_key() 111 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) in eap_fast_derive_key() 117 if (tls_connection_get_keys(ssl_ctx, conn, &keys)) in eap_fast_derive_key()
|
D | eap_fast_common.h | 100 u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn,
|
/external/wpa_supplicant_8/src/radius/ |
D | radius_server.h | 58 void *ssl_ctx; member
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
D | s_server.c | 1927 static void print_stats(BIO *bio, SSL_CTX *ssl_ctx) in print_stats() argument 1930 SSL_CTX_sess_number(ssl_ctx)); in print_stats() 1932 SSL_CTX_sess_connect(ssl_ctx)); in print_stats() 1934 SSL_CTX_sess_connect_renegotiate(ssl_ctx)); in print_stats() 1936 SSL_CTX_sess_connect_good(ssl_ctx)); in print_stats() 1938 SSL_CTX_sess_accept(ssl_ctx)); in print_stats() 1940 SSL_CTX_sess_accept_renegotiate(ssl_ctx)); in print_stats() 1942 SSL_CTX_sess_accept_good(ssl_ctx)); in print_stats() 1943 BIO_printf(bio,"%4ld session cache hits\n",SSL_CTX_sess_hits(ssl_ctx)); in print_stats() 1944 BIO_printf(bio,"%4ld session cache misses\n",SSL_CTX_sess_misses(ssl_ctx)); in print_stats() [all …]
|
/external/openssl/apps/ |
D | s_server.c | 1927 static void print_stats(BIO *bio, SSL_CTX *ssl_ctx) in print_stats() argument 1930 SSL_CTX_sess_number(ssl_ctx)); in print_stats() 1932 SSL_CTX_sess_connect(ssl_ctx)); in print_stats() 1934 SSL_CTX_sess_connect_renegotiate(ssl_ctx)); in print_stats() 1936 SSL_CTX_sess_connect_good(ssl_ctx)); in print_stats() 1938 SSL_CTX_sess_accept(ssl_ctx)); in print_stats() 1940 SSL_CTX_sess_accept_renegotiate(ssl_ctx)); in print_stats() 1942 SSL_CTX_sess_accept_good(ssl_ctx)); in print_stats() 1943 BIO_printf(bio,"%4ld session cache hits\n",SSL_CTX_sess_hits(ssl_ctx)); in print_stats() 1944 BIO_printf(bio,"%4ld session cache misses\n",SSL_CTX_sess_misses(ssl_ctx)); in print_stats() [all …]
|
/external/wpa_supplicant_8/src/eapol_auth/ |
D | eapol_auth_sm.h | 22 void *ssl_ctx; member
|