/external/chromium/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 | 39 state->ssl_ctx = SSL_CTX_new(state->ssl_method); 40 if (!state->ssl_ctx) { 45 SSL_CTX_set_options(state->ssl_ctx, 47 if (SSL_CTX_use_certificate_chain_file(state->ssl_ctx, 52 if (SSL_CTX_use_PrivateKey_file(state->ssl_ctx, 58 if (!SSL_CTX_check_private_key(state->ssl_ctx)) { 63 SSL_CTX_set_next_protos_advertised_cb(state->ssl_ctx, 67 SSL_CTX_set_cipher_list(state->ssl_ctx, SSL_CIPHER_LIST); 71 SSL_CTX_set_timeout(state->ssl_ctx, session_expiration_time); 75 SSL_CTX_set_mode(state->ssl_ctx, SSL_MODE_RELEASE_BUFFERS) [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/wpa_supplicant_8/src/crypto/ |
tls_openssl.c | 435 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) 481 if (!X509_STORE_add_cert(ssl_ctx->cert_store, cert)) { 706 SSL_CTX *ssl; 793 void tls_deinit(void *ssl_ctx) 795 SSL_CTX *ssl = ssl_ctx; 920 int tls_get_errors(void *ssl_ctx) 934 struct tls_connection * tls_connection_init(void *ssl_ctx) 936 SSL_CTX *ssl = ssl_ctx 1318 SSL_CTX *ssl_ctx = _ssl_ctx; local 1352 SSL_CTX *ssl_ctx = _ssl_ctx; local 1909 SSL_CTX *ssl_ctx = _ssl_ctx; local 1981 SSL_CTX *ssl_ctx = _ssl_ctx; local 2808 SSL_CTX *ssl_ctx = tls_ctx; local [all...] |
tls_gnutls.c | 182 void tls_deinit(void *ssl_ctx) 184 struct tls_global *global = ssl_ctx; 198 int tls_get_errors(void *ssl_ctx) 303 struct tls_connection * tls_connection_init(void *ssl_ctx) 305 struct tls_global *global = ssl_ctx; 339 void tls_connection_deinit(void *ssl_ctx, struct tls_connection *conn) 355 int tls_connection_established(void *ssl_ctx, struct tls_connection *conn) 361 int tls_connection_shutdown(void *ssl_ctx, struct tls_connection *conn) 363 struct tls_global *global = ssl_ctx; 730 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...] |
tls_none.c | 20 void tls_deinit(void *ssl_ctx)
|
/external/chromium/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_;
|
opensslidentity.h | 40 typedef struct ssl_ctx_st SSL_CTX; 119 bool ConfigureIdentity(SSL_CTX* ctx);
|
opensslstreamadapter.h | 36 typedef struct ssl_ctx_st SSL_CTX; 133 SSL_CTX* SetupSSLContext(); 153 SSL_CTX* ssl_ctx_;
|
/external/wpa_supplicant_8/src/ap/ |
authsrv.c | 97 srv.ssl_ctx = hapd->ssl_ctx; 138 hapd->ssl_ctx = tls_init(NULL); 139 if (hapd->ssl_ctx == NULL) { 152 if (tls_global_set_params(hapd->ssl_ctx, ¶ms)) { 158 if (tls_global_set_verify(hapd->ssl_ctx, 199 if (hapd->ssl_ctx) { 200 tls_deinit(hapd->ssl_ctx); 201 hapd->ssl_ctx = NULL;
|
/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)); 688 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)); 721 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 723 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); 739 /* 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)); 688 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)); 721 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx); 723 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx); 739 /* 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); 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_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...] |
ssl_lib.c | 258 int SSL_CTX_set_ssl_version(SSL_CTX *ctx,const SSL_METHOD *meth) 275 SSL *SSL_new(SSL_CTX *ctx) 307 * called (and the direct reference to the per-SSL_CTX 311 * Now we don't look at the SSL_CTX's CERT after having 398 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, 426 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb) 476 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose) 486 int SSL_CTX_set_trust(SSL_CTX *s, int trust) 496 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm) 781 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx [all...] |
/external/wpa_supplicant_8/src/eap_server/ |
eap_server_tls_common.c | 39 data->conn = tls_connection_init(sm->ssl_ctx); 46 if (tls_connection_set_verify(sm->ssl_ctx, data->conn, verify_peer)) { 49 tls_connection_deinit(sm->ssl_ctx, data->conn); 68 tls_connection_deinit(sm->ssl_ctx, data->conn); 85 if (tls_connection_prf(sm->ssl_ctx, data->conn, label, 0, out, len) == 89 if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys)) 265 data->tls_out = tls_connection_server_handshake(sm->ssl_ctx, 272 if (tls_connection_get_failed(sm->ssl_ctx, data->conn)) { 364 buf = tls_connection_encrypt(sm->ssl_ctx, data->conn, 415 if (tls_connection_get_write_alerts(sm->ssl_ctx, data->conn) > 1) [all...] |
eap.h | 85 void *ssl_ctx; member in struct:eap_config
|
/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; 216 if (tls_connection_established(data->ssl_ctx, data->ssl.conn)) 231 return tls_connection_established(data->ssl_ctx, data->ssl.conn);
|
eap_tls_common.c | 167 data->conn = tls_connection_init(data->ssl_ctx); 174 res = tls_connection_set_params(data->ssl_ctx, data->conn, params); 193 tls_connection_deinit(data->ssl_ctx, data->conn); 199 tls_connection_deinit(data->ssl_ctx, data->conn); 230 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 : 231 sm->ssl_ctx; 269 tls_connection_deinit(data->ssl_ctx, data->conn); 302 if (tls_connection_prf(data->ssl_ctx, data->conn, label, 0, out, len) 312 if (tls_connection_get_keys(data->ssl_ctx, data->conn, &keys)) 366 if (tls_connection_get_keys(sm->ssl_ctx, data->conn, &keys) [all...] |
eap_tls_common.h | 68 * ssl_ctx - TLS library context to use for the connection 70 void *ssl_ctx; member in struct:eap_ssl_data
|
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
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
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_fast_common.c | 96 u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn, 103 block_size = tls_connection_get_keyblock_size(ssl_ctx, conn); 111 if (tls_connection_prf(ssl_ctx, conn, label, 1, out, block_size + len) 117 if (tls_connection_get_keys(ssl_ctx, conn, &keys))
|
eap_fast_common.h | 100 u8 * eap_fast_derive_key(void *ssl_ctx, struct tls_connection *conn,
|
/external/wpa_supplicant_8/src/eapol_auth/ |
eapol_auth_sm.h | 22 void *ssl_ctx; member in struct:eapol_auth_config
|