/external/chromium_org/net/tools/flip_server/ |
spdy_ssl.h | 16 SSL_CTX* ssl_ctx; member in struct:net::SSLState 25 SSL* CreateSSLContext(SSL_CTX* ssl_ctx);
|
spdy_ssl.cc | 45 state->ssl_ctx = SSL_CTX_new(state->ssl_method); 46 if (!state->ssl_ctx) { 51 SSL_CTX_set_options(state->ssl_ctx, 53 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, 59 state->ssl_ctx, ssl_key_name.c_str(), SSL_FILETYPE_PEM) <= 0) { 63 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { 69 state->ssl_ctx, ssl_set_npn_callback, NULL); 72 SSL_CTX_set_cipher_list(state->ssl_ctx, SSL_CIPHER_LIST); 76 SSL_CTX_set_timeout(state->ssl_ctx, session_expiration_time); 80 SSL_CTX_set_mode(state->ssl_ctx, SSL_MODE_RELEASE_BUFFERS) [all...] |
/external/chromium_org/third_party/webrtc/base/ |
openssladapter.h | 18 typedef struct ssl_ctx_st SSL_CTX; 68 static bool ConfigureTrustedRootCertificates(SSL_CTX* ctx); 69 static SSL_CTX* SetupSSLContext(); 78 SSL_CTX* ssl_ctx_;
|
/external/chromium_org/third_party/openssl/openssl/crypto/threads/ |
mttest.c | 113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx); 151 static void print_stats(FILE *fp, SSL_CTX *ctx) 193 SSL_CTX *s_ctx=NULL; 194 SSL_CTX *c_ctx=NULL; 340 fprintf(stderr,"Client SSL_CTX stats then free it\n"); 346 fprintf(stderr,"Server SSL_CTX stats then free it\n"); 370 int ndoit(SSL_CTX *ssl_ctx[2]) 376 ctx[0]=(char *)ssl_ctx[0] 765 SSL_CTX *ssl_ctx[2]; local 893 SSL_CTX *ssl_ctx[2]; local 992 SSL_CTX *ssl_ctx[2]; local 1091 SSL_CTX *ssl_ctx[2]; local 1183 SSL_CTX *ssl_ctx[2]; local 1277 SSL_CTX *ssl_ctx[2]; local [all...] |
/external/openssl/crypto/threads/ |
mttest.c | 113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx); 151 static void print_stats(FILE *fp, SSL_CTX *ctx) 193 SSL_CTX *s_ctx=NULL; 194 SSL_CTX *c_ctx=NULL; 340 fprintf(stderr,"Client SSL_CTX stats then free it\n"); 346 fprintf(stderr,"Server SSL_CTX stats then free it\n"); 370 int ndoit(SSL_CTX *ssl_ctx[2]) 376 ctx[0]=(char *)ssl_ctx[0] 765 SSL_CTX *ssl_ctx[2]; local 893 SSL_CTX *ssl_ctx[2]; local 992 SSL_CTX *ssl_ctx[2]; local 1091 SSL_CTX *ssl_ctx[2]; local 1183 SSL_CTX *ssl_ctx[2]; local 1277 SSL_CTX *ssl_ctx[2]; local [all...] |
/external/chromium_org/third_party/libjingle/source/talk/base/ |
openssladapter.h | 35 typedef struct ssl_ctx_st SSL_CTX; 85 static bool ConfigureTrustedRootCertificates(SSL_CTX* ctx); 86 static SSL_CTX* SetupSSLContext(); 95 SSL_CTX* ssl_ctx_;
|
/external/wpa_supplicant_8/src/ap/ |
authsrv.c | 101 srv.ssl_ctx = hapd->ssl_ctx; 148 hapd->ssl_ctx = tls_init(NULL); 149 if (hapd->ssl_ctx == NULL) { 164 if (tls_global_set_params(hapd->ssl_ctx, ¶ms)) { 170 if (tls_global_set_verify(hapd->ssl_ctx, 211 if (hapd->ssl_ctx) { 212 tls_deinit(hapd->ssl_ctx); 213 hapd->ssl_ctx = NULL;
|
/external/chromium_org/third_party/openssl/openssl/patches/ |
channelidchromium.patch | 41 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val); 42 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)); 43 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey); 44 +void SSL_CTX_set_channel_id_cb(SSL_CTX *ctx, void (*channel_id_cb)(SSL *ssl, EVP_PKEY **pkey)); 45 +void (*SSL_CTX_get_channel_id_cb(SSL_CTX *ctx))(SSL *ssl, EVP_PKEY **pkey); 47 int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); 183 void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val); 184 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)); 185 int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey); 186 +void SSL_CTX_set_channel_id_cb(SSL_CTX *ctx, void (*channel_id_cb)(SSL *ssl, EVP_PKEY **pkey)) [all...] |
/external/chromium_org/third_party/openssl/patches.chromium/ |
0015-export_certificate_types.patch | 5 @@ -1982,6 +1982,9 @@ STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s); 7 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); 32 @@ -1982,6 +1982,9 @@ STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *s); 34 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x); 59 @@ -655,6 +655,21 @@ int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x)
|
0001-channelid.patch | 56 + void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val); 57 + void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)); 58 + int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey); 59 ++void SSL_CTX_set_channel_id_cb(SSL_CTX *ctx, void (*channel_id_cb)(SSL *ssl, EVP_PKEY **pkey)); 60 ++void (*SSL_CTX_get_channel_id_cb(SSL_CTX *ctx))(SSL *ssl, EVP_PKEY **pkey); 62 + int SSL_CTX_set_client_cert_engine(SSL_CTX *ctx, ENGINE *e); 198 + void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,int type,int val); 199 + void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, int (*client_cert_cb)(SSL *ssl, X509 **x509, EVP_PKEY **pkey)); 200 + int (*SSL_CTX_get_client_cert_cb(SSL_CTX *ctx))(SSL *ssl, X509 **x509, EVP_PKEY **pkey); 201 ++void SSL_CTX_set_channel_id_cb(SSL_CTX *ctx, void (*channel_id_cb)(SSL *ssl, EVP_PKEY **pkey)) [all...] |
/external/wpa_supplicant_8/src/crypto/ |
tls_openssl.c | 466 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) 512 if (!X509_STORE_add_cert(ssl_ctx->cert_store, cert)) { 736 SSL_CTX *ssl; 840 void tls_deinit(void *ssl_ctx) 842 SSL_CTX *ssl = ssl_ctx; 974 int tls_get_errors(void *ssl_ctx) 1008 struct tls_connection * tls_connection_init(void *ssl_ctx) 1010 SSL_CTX *ssl = ssl_ctx 1518 SSL_CTX *ssl_ctx = _ssl_ctx; local 1552 SSL_CTX *ssl_ctx = _ssl_ctx; local 2118 SSL_CTX *ssl_ctx = _ssl_ctx; local 2190 SSL_CTX *ssl_ctx = _ssl_ctx; local 3275 SSL_CTX *ssl_ctx = tls_ctx; local 3293 SSL_CTX *ssl_ctx = tls_ctx; local [all...] |
tls_gnutls.c | 180 void tls_deinit(void *ssl_ctx) 182 struct tls_global *global = ssl_ctx; 196 int tls_get_errors(void *ssl_ctx) 301 struct tls_connection * tls_connection_init(void *ssl_ctx) 303 struct tls_global *global = ssl_ctx; 337 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) 353 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) 359 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) 361 struct tls_global *global = ssl_ctx; 728 int tls_global_set_verify(void *ssl_ctx, int check_crl [all...] |
tls_schannel.c | 99 void tls_deinit(void *ssl_ctx) 101 struct tls_global *global = ssl_ctx; 110 int tls_get_errors(void *ssl_ctx) 116 struct tls_connection * tls_connection_init(void *ssl_ctx) 129 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) 138 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) 144 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) 146 struct tls_global *global = ssl_ctx; 167 int tls_global_set_verify(void *ssl_ctx, int check_crl) 173 int tls_connection_set_verify(void *ssl_ctx, struct tls_connection *conn [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tls_common.c | 49 if (sm->ssl_ctx == NULL) { 57 data->conn = tls_connection_init(sm->ssl_ctx); 71 if (tls_connection_set_verify(sm->ssl_ctx, data->conn, verify_peer)) { 74 tls_connection_deinit(sm->ssl_ctx, data->conn); 93 tls_connection_deinit(sm->ssl_ctx, data->conn); 110 if (tls_connection_prf(sm->ssl_ctx, data->conn, label, 0, out, len) == 114 if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys)) 290 data->tls_out = tls_connection_server_handshake(sm->ssl_ctx, 297 if (tls_connection_get_failed(sm->ssl_ctx, data->conn)) { 389 buf = tls_connection_encrypt(sm->ssl_ctx, data->conn [all...] |
/external/chromium_org/net/socket/ |
ssl_session_cache_openssl.h | 14 typedef struct ssl_ctx_st SSL_CTX; 25 // associating it with a given SSL_CTX object. 72 // |ctx| is a SSL_CTX context handle that will be associated with this cache. 79 SSLSessionCacheOpenSSL(SSL_CTX* ctx, const Config& config) : impl_(NULL) { 83 // Destroy this instance. This must be called before the SSL_CTX handle 88 void Reset(SSL_CTX* ctx, const Config& config);
|
/external/openssl/include/openssl/ |
ssl.h | 363 * in SSL_CTX. */ 430 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg); 441 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void)); 723 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); 756 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 758 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); 774 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set [all...] |
/external/openssl/ssl/ |
ssl.h | 363 * in SSL_CTX. */ 430 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg); 441 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void)); 723 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); 756 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 758 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); 774 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set [all...] |
ssl_sess.c | 146 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s); 147 static void SSL_SESSION_list_add(SSL_CTX *ctx,SSL_SESSION *s); 148 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck); 652 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c) 657 /* add just 1 reference count for the SSL_CTX's session cache 717 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c) 722 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) 910 long SSL_CTX_set_timeout(SSL_CTX *s, long t) 919 long SSL_CTX_get_timeout(const SSL_CTX *s) 982 SSL_CTX *ctx [all...] |
ssl_rsa.c | 379 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) 454 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) 503 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d) 521 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) 551 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) 598 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len) 617 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) 633 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) 680 int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, const unsigned char *d, 743 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file [all...] |
/external/chromium_org/third_party/openssl/openssl/ssl/ |
ssl_sess.c | 146 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *s); 147 static void SSL_SESSION_list_add(SSL_CTX *ctx,SSL_SESSION *s); 148 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck); 640 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *c) 645 /* add just 1 reference count for the SSL_CTX's session cache 705 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c) 710 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) 898 long SSL_CTX_set_timeout(SSL_CTX *s, long t) 907 long SSL_CTX_get_timeout(const SSL_CTX *s) 970 SSL_CTX *ctx [all...] |
ssl.h | 364 * in SSL_CTX. */ 433 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg); 444 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void)); 703 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); 736 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 738 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); 757 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set [all...] |
ssl_rsa.c | 379 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) 454 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) 503 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d) 521 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) 551 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) 598 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len) 617 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) 633 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) 680 int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, const unsigned char *d, 741 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file [all...] |
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
ssl.h | 364 * in SSL_CTX. */ 433 long (*ssl_ctx_ctrl)(SSL_CTX *ctx,int cmd,long larg,void *parg); 444 long (*ssl_ctx_callback_ctrl)(SSL_CTX *s, int cb_id, void (*fp)(void)); 703 void SSL_CTX_set_msg_callback(SSL_CTX *ctx, void (*cb)(int write_p, int version, int content_type, const void *buf, size_t len, SSL *ssl, void *arg)); 736 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 738 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); 757 /* This callback type is used inside SSL_CTX, SSL, and in the functions that set [all...] |
/external/wpa_supplicant_8/src/eap_peer/ |
eap_tls.c | 26 void *ssl_ctx; member in struct:eap_tls_data 47 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : 48 sm->ssl_ctx; 84 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : 85 sm->ssl_ctx; 111 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : 112 sm->ssl_ctx; 252 if (tls_connection_established(data->ssl_ctx, data->ssl.conn)) 267 return tls_connection_established(data->ssl_ctx, data->ssl.conn);
|
/external/conscrypt/src/main/java/org/conscrypt/ |
ServerSessionContext.java | 32 // TODO make sure SSL_CTX does not automaticaly clear sessions we want it to cache 35 // TODO remove SSL_CTX session cache limit so we can manage it
|