Home
last modified time | relevance | path

Searched refs:SSL_CTX (Results 1 – 25 of 43) sorted by relevance

12

/external/openssl/ssl/
Dssl.h430 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, …
721 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
723 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
1006 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1036 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *se…
1037 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1038 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_…
1039 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
[all …]
Dssl_sess.c146 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) in SSL_CTX_add_session()
705 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *c) in SSL_CTX_remove_session()
710 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *c, int lck) in remove_session_lock()
898 long SSL_CTX_set_timeout(SSL_CTX *s, long t) in SSL_CTX_set_timeout()
907 long SSL_CTX_get_timeout(const SSL_CTX *s) in SSL_CTX_get_timeout()
970 SSL_CTX *ctx;
992 void SSL_CTX_flush_sessions(SSL_CTX *s, long t) in IMPLEMENT_LHASH_DOALL_ARG_FN()
[all …]
Dssl_lib.c258 int SSL_CTX_set_ssl_version(SSL_CTX *ctx,const SSL_METHOD *meth) in SSL_CTX_set_ssl_version()
275 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
398 int SSL_CTX_set_session_id_context(SSL_CTX *ctx,const unsigned char *sid_ctx, in SSL_CTX_set_session_id_context()
426 int SSL_CTX_set_generate_session_id(SSL_CTX *ctx, GEN_SESSION_CB cb) in SSL_CTX_set_generate_session_id()
476 int SSL_CTX_set_purpose(SSL_CTX *s, int purpose) in SSL_CTX_set_purpose()
486 int SSL_CTX_set_trust(SSL_CTX *s, int trust) in SSL_CTX_set_trust()
496 int SSL_CTX_set1_param(SSL_CTX *ctx, X509_VERIFY_PARAM *vpm) in SSL_CTX_set1_param()
781 int SSL_CTX_get_verify_mode(const SSL_CTX *ctx) in SSL_CTX_get_verify_mode()
786 int SSL_CTX_get_verify_depth(const SSL_CTX *ctx) in SSL_CTX_get_verify_depth()
791 int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(int,X509_STORE_CTX *) in SSL_CTX_get_verify_callback()
[all …]
Dssl_rsa.c379 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) in SSL_CTX_use_certificate()
454 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_certificate_file()
503 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, int len, const unsigned char *d) in SSL_CTX_use_certificate_ASN1()
521 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) in SSL_CTX_use_RSAPrivateKey()
551 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_RSAPrivateKey_file()
598 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const unsigned char *d, long len) in SSL_CTX_use_RSAPrivateKey_ASN1()
617 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) in SSL_CTX_use_PrivateKey()
633 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) in SSL_CTX_use_PrivateKey_file()
680 int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, const unsigned char *d, in SSL_CTX_use_PrivateKey_ASN1()
741 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file) in SSL_CTX_use_certificate_chain_file()
Dtls_srp.c132 SSL_CTX *ctx; in SSL_SRP_CTX_init()
467 int SSL_CTX_set_srp_username(SSL_CTX *ctx,char *name) in SSL_CTX_set_srp_username()
472 int SSL_CTX_set_srp_password(SSL_CTX *ctx,char *password) in SSL_CTX_set_srp_password()
477 int SSL_CTX_set_srp_strength(SSL_CTX *ctx, int strength) in SSL_CTX_set_srp_strength()
483 int SSL_CTX_set_srp_verify_param_callback(SSL_CTX *ctx, int (*cb)(SSL *,void *)) in SSL_CTX_set_srp_verify_param_callback()
489 int SSL_CTX_set_srp_cb_arg(SSL_CTX *ctx, void *arg) in SSL_CTX_set_srp_cb_arg()
494 int SSL_CTX_set_srp_username_callback(SSL_CTX *ctx, in SSL_CTX_set_srp_username_callback()
501 int SSL_CTX_set_srp_client_pwd_callback(SSL_CTX *ctx, char *(*cb)(SSL *,void *)) in SSL_CTX_set_srp_client_pwd_callback()
Dsrtp.h133 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
Ds2_lib.c405 long ssl2_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) in ssl2_ctx_ctrl()
410 long ssl2_ctx_callback_ctrl(SSL_CTX *ctx, int cmd, void (*fp)(void)) in ssl2_ctx_callback_ctrl()
Dbio_ssl.c520 BIO *BIO_new_buffer_ssl_connect(SSL_CTX *ctx) in BIO_new_buffer_ssl_connect()
539 BIO *BIO_new_ssl_connect(SSL_CTX *ctx) in BIO_new_ssl_connect()
557 BIO *BIO_new_ssl(SSL_CTX *ctx, int client) in BIO_new_ssl()
Dssl_cert.c600 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx,STACK_OF(X509_NAME) *name_list) in SSL_CTX_set_client_CA_list()
605 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) in STACK_OF()
653 int SSL_CTX_add_client_CA(SSL_CTX *ctx,X509 *x) in SSL_CTX_add_client_CA()
/external/openssl/include/openssl/
Dssl.h430 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, …
721 int SSL_CTX_SRP_CTX_init(SSL_CTX *ctx);
723 int SSL_CTX_SRP_CTX_free(SSL_CTX *ctx);
1006 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
1036 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*new_session_cb)(struct ssl_st *ssl,SSL_SESSION *se…
1037 int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(struct ssl_st *ssl, SSL_SESSION *sess);
1038 void SSL_CTX_sess_set_remove_cb(SSL_CTX *ctx, void (*remove_session_cb)(struct ssl_ctx_st *ctx,SSL_…
1039 void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(struct ssl_ctx_st *ctx, SSL_SESSION *sess);
[all …]
Dsrtp.h133 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles);
Dossl_typ.h173 typedef struct ssl_ctx_st SSL_CTX; typedef
/external/openssl/crypto/threads/
Dmttest.c113 void do_threads(SSL_CTX *s_ctx,SSL_CTX *c_ctx);
151 static void print_stats(FILE *fp, SSL_CTX *ctx) in print_stats()
193 SSL_CTX *s_ctx=NULL; in main()
194 SSL_CTX *c_ctx=NULL; in main()
370 int ndoit(SSL_CTX *ssl_ctx[2]) in ndoit()
421 SSL_CTX *s_ctx,*c_ctx; in doit()
436 s_ctx=(SSL_CTX *)ctx[0]; in doit()
437 c_ctx=(SSL_CTX *)ctx[1]; in doit()
762 void do_threads(SSL_CTX *s_ctx, SSL_CTX *c_ctx) in do_threads()
765 SSL_CTX *ssl_ctx[2]; in do_threads()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dopenssladapter.h35 typedef struct ssl_ctx_st SSL_CTX; typedef
85 static bool ConfigureTrustedRootCertificates(SSL_CTX* ctx);
86 static SSL_CTX* SetupSSLContext();
95 SSL_CTX* ssl_ctx_;
Dopensslstreamadapter.h36 typedef struct ssl_ctx_st SSL_CTX; typedef
133 SSL_CTX* SetupSSLContext();
153 SSL_CTX* ssl_ctx_;
Dopensslidentity.h40 typedef struct ssl_ctx_st SSL_CTX; typedef
119 bool ConfigureIdentity(SSL_CTX* ctx);
Dopenssladapter.cc824 bool OpenSSLAdapter::ConfigureTrustedRootCertificates(SSL_CTX* ctx) { in ConfigureTrustedRootCertificates()
842 SSL_CTX*
844 SSL_CTX* ctx = SSL_CTX_new(TLSv1_client_method()); in SetupSSLContext()
/external/chromium/net/tools/flip_server/
Dspdy_ssl.h16 SSL_CTX* ssl_ctx;
25 SSL* CreateSSLContext(SSL_CTX* ssl_ctx);
Dspdy_ssl.cc90 SSL* CreateSSLContext(SSL_CTX* ssl_ctx) { in CreateSSLContext()
/external/openssl/apps/
Ds_apps.h156 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file);
157 int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key);
Dciphers.c91 SSL_CTX *ctx=NULL; in MAIN()
Ds_cb.c198 int set_cert_stuff(SSL_CTX *ctx, char *cert_file, char *key_file) in set_cert_stuff()
253 int set_cert_key_stuff(SSL_CTX *ctx, X509 *cert, EVP_PKEY *key) in set_cert_key_stuff()
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c435 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) in tls_cryptoapi_ca_cert()
706 SSL_CTX *ssl; in tls_init()
795 SSL_CTX *ssl = ssl_ctx; in tls_deinit()
936 SSL_CTX *ssl = ssl_ctx; in tls_connection_init()
1318 SSL_CTX *ssl_ctx = _ssl_ctx; in tls_load_ca_der()
1352 SSL_CTX *ssl_ctx = _ssl_ctx; in tls_connection_ca_cert()
1510 static int tls_global_ca_cert(SSL_CTX *ssl_ctx, const char *ca_cert) in tls_global_ca_cert()
1682 static int tls_global_client_cert(SSL_CTX *ssl_ctx, const char *client_cert) in tls_global_client_cert()
1718 static int tls_parse_pkcs12(SSL_CTX *ssl_ctx, SSL *ssl, PKCS12 *p12, in tls_parse_pkcs12()
1793 static int tls_read_pkcs12(SSL_CTX *ssl_ctx, SSL *ssl, const char *private_key, in tls_read_pkcs12()
[all …]
/external/openssl/patches/
Djsse.patch51 int SSL_CTX_add_session(SSL_CTX *s, SSL_SESSION *c);
52 int SSL_CTX_remove_session(SSL_CTX *,SSL_SESSION *c);
53 int SSL_CTX_set_generate_session_id(SSL_CTX *, GEN_SESSION_CB);
250 @@ -326,6 +326,7 @@ SSL *SSL_new(SSL_CTX *ctx)
/external/openssl/crypto/
Dossl_typ.h173 typedef struct ssl_ctx_st SSL_CTX; typedef

12