Home
last modified time | relevance | path

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

12

/external/boringssl/src/include/openssl/
Dssl.h195 OPENSSL_EXPORT SSL_CTX *SSL_CTX_new(const SSL_METHOD *method);
198 OPENSSL_EXPORT void SSL_CTX_free(SSL_CTX *ctx);
213 OPENSSL_EXPORT SSL *SSL_new(SSL_CTX *ctx);
221 OPENSSL_EXPORT SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
369 OPENSSL_EXPORT void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode);
373 OPENSSL_EXPORT int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
521 OPENSSL_EXPORT void SSL_CTX_set_min_version(SSL_CTX *ctx, uint16_t version);
525 OPENSSL_EXPORT void SSL_CTX_set_max_version(SSL_CTX *ctx, uint16_t version);
565 OPENSSL_EXPORT uint32_t SSL_CTX_set_options(SSL_CTX *ctx, uint32_t options);
570 OPENSSL_EXPORT uint32_t SSL_CTX_clear_options(SSL_CTX *ctx, uint32_t options);
[all …]
/external/boringssl/src/ssl/
Dssl_session.c159 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
160 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
161 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock);
500 int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *session) { in SSL_CTX_add_session()
542 int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *session) { in SSL_CTX_remove_session()
546 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock) { in remove_session_lock()
592 long SSL_CTX_set_timeout(SSL_CTX *ctx, long timeout) { in SSL_CTX_set_timeout()
602 long SSL_CTX_get_timeout(const SSL_CTX *ctx) { in SSL_CTX_get_timeout()
611 SSL_CTX *ctx;
634 void SSL_CTX_flush_sessions(SSL_CTX *ctx, long time) { in SSL_CTX_flush_sessions()
[all …]
Dssl_lib.c211 SSL_CTX *SSL_CTX_new(const SSL_METHOD *method) { in SSL_CTX_new()
212 SSL_CTX *ret = NULL; in SSL_CTX_new()
224 ret = (SSL_CTX *)OPENSSL_malloc(sizeof(SSL_CTX)); in SSL_CTX_new()
229 memset(ret, 0, sizeof(SSL_CTX)); in SSL_CTX_new()
304 void SSL_CTX_free(SSL_CTX *ctx) { in SSL_CTX_free()
346 SSL *SSL_new(SSL_CTX *ctx) { in SSL_new()
802 void SSL_CTX_set_min_version(SSL_CTX *ctx, uint16_t version) { in SSL_CTX_set_min_version()
806 void SSL_CTX_set_max_version(SSL_CTX *ctx, uint16_t version) { in SSL_CTX_set_max_version()
818 uint32_t SSL_CTX_set_options(SSL_CTX *ctx, uint32_t options) { in SSL_CTX_set_options()
823 uint32_t SSL_CTX_clear_options(SSL_CTX *ctx, uint32_t options) { in SSL_CTX_clear_options()
[all …]
Dssl_cert.c348 void SSL_CTX_set_client_CA_list(SSL_CTX *ctx, STACK_OF(X509_NAME) *name_list) { in SSL_CTX_set_client_CA_list()
352 STACK_OF(X509_NAME) *SSL_CTX_get_client_CA_list(const SSL_CTX *ctx) { in STACK_OF()
402 int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x509) { in SSL_CTX_add_client_CA()
478 int SSL_CTX_set0_chain(SSL_CTX *ctx, STACK_OF(X509) *chain) { in SSL_CTX_set0_chain()
482 int SSL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *chain) { in SSL_CTX_set1_chain()
494 int SSL_CTX_add0_chain_cert(SSL_CTX *ctx, X509 *x509) { in SSL_CTX_add0_chain_cert()
498 int SSL_CTX_add1_chain_cert(SSL_CTX *ctx, X509 *x509) { in SSL_CTX_add1_chain_cert()
502 int SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x509) { in SSL_CTX_add_extra_chain_cert()
514 int SSL_CTX_clear_chain_certs(SSL_CTX *ctx) { in SSL_CTX_clear_chain_certs()
518 int SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx) { in SSL_CTX_clear_extra_chain_certs()
[all …]
Ds3_lib.c261 int SSL_CTX_need_tmp_RSA(const SSL_CTX *ctx) { in SSL_CTX_need_tmp_RSA()
269 int SSL_CTX_set_tmp_rsa(SSL_CTX *ctx, const RSA *rsa) { in SSL_CTX_set_tmp_rsa()
277 int SSL_CTX_set_tmp_dh(SSL_CTX *ctx, const DH *dh) { in SSL_CTX_set_tmp_dh()
297 int SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, const EC_KEY *ec_key) { in SSL_CTX_set_tmp_ecdh()
315 int SSL_CTX_enable_tls_channel_id(SSL_CTX *ctx) { in SSL_CTX_enable_tls_channel_id()
325 int SSL_CTX_set1_tls_channel_id(SSL_CTX *ctx, EVP_PKEY *private_key) { in SSL_CTX_set1_tls_channel_id()
389 int SSL_CTX_set1_curves(SSL_CTX *ctx, const int *curves, size_t curves_len) { in SSL_CTX_set1_curves()
402 SSL_CTX *ctx, int (*callback)(SSL *ssl, int *out_alert, void *arg)) { in SSL_CTX_set_tlsext_servername_callback()
407 int SSL_CTX_set_tlsext_servername_arg(SSL_CTX *ctx, void *arg) { in SSL_CTX_set_tlsext_servername_arg()
412 int SSL_CTX_get_tlsext_ticket_keys(SSL_CTX *ctx, void *out, size_t len) { in SSL_CTX_get_tlsext_ticket_keys()
[all …]
Dssl_rsa.c194 int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x) { in SSL_CTX_use_certificate()
239 int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, size_t der_len, in SSL_CTX_use_certificate_ASN1()
259 int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa) { in SSL_CTX_use_RSAPrivateKey()
282 int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx, const uint8_t *der, in SSL_CTX_use_RSAPrivateKey_ASN1()
295 int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey) { in SSL_CTX_use_PrivateKey()
304 int SSL_CTX_use_PrivateKey_ASN1(int type, SSL_CTX *ctx, const uint8_t *der, in SSL_CTX_use_PrivateKey_ASN1()
Dssl_file.c421 int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file, int type) { in SSL_CTX_use_certificate_file()
463 int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx, const char *file, int type) { in SSL_CTX_use_RSAPrivateKey_file()
503 int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file, int type) { in SSL_CTX_use_PrivateKey_file()
546 int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx, const char *file) { in SSL_CTX_use_certificate_chain_file()
616 void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx, pem_password_cb *cb) { in SSL_CTX_set_default_passwd_cb()
620 void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx, void *data) { in SSL_CTX_set_default_passwd_cb_userdata()
Dd1_srtp.c198 int SSL_CTX_set_srtp_profiles(SSL_CTX *ctx, const char *profiles) { in SSL_CTX_set_srtp_profiles()
226 int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx, const char *profiles) { in SSL_CTX_set_tlsext_use_srtp()
Dcustom_extensions.c239 int SSL_CTX_add_client_custom_ext(SSL_CTX *ctx, unsigned extension_value, in SSL_CTX_add_client_custom_ext()
249 int SSL_CTX_add_server_custom_ext(SSL_CTX *ctx, unsigned extension_value, in SSL_CTX_add_server_custom_ext()
/external/webrtc/webrtc/base/
Dopenssladapter.h20 typedef struct ssl_ctx_st SSL_CTX; typedef
77 static bool ConfigureTrustedRootCertificates(SSL_CTX* ctx);
78 SSL_CTX* SetupSSLContext();
87 SSL_CTX* ssl_ctx_;
Dopensslstreamadapter.h22 typedef struct ssl_ctx_st SSL_CTX; typedef
163 SSL_CTX* SetupSSLContext();
183 SSL_CTX* ssl_ctx_;
Dopensslidentity.h23 typedef struct ssl_ctx_st SSL_CTX; typedef
115 bool ConfigureIdentity(SSL_CTX* ctx);
/external/libweave/examples/provider/
Dssl_stream.h45 void operator()(SSL_CTX* ctx) const;
63 std::unique_ptr<SSL_CTX, SslDeleter> ctx_;
/external/boringssl/src/tool/
Dserver.cc46 static bool LoadOCSPResponse(SSL_CTX *ctx, const char *filename) { in LoadOCSPResponse()
98 SSL_CTX *ctx = SSL_CTX_new(SSLv23_server_method()); in Server()
/external/curl/docs/examples/
Dusercertinmem.c133 ret = SSL_CTX_use_certificate((SSL_CTX*)sslctx, cert); in sslctx_function()
151 ret = SSL_CTX_use_RSAPrivateKey((SSL_CTX*)sslctx, rsa); in sslctx_function()
Dcacertinmem.c100 store=SSL_CTX_get_cert_store((SSL_CTX *)sslctx); in sslctx_function()
Dcurlx.c225 SSL_CTX * ctx = (SSL_CTX *) sslctx ; in sslctxfun()
/external/boringssl/src/ssl/test/
Dscoped_types.h24 using ScopedSSL_CTX = ScopedOpenSSLType<SSL_CTX, SSL_CTX_free>;
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.h16 enum ocsp_result check_ocsp_resp(SSL_CTX *ssl_ctx, SSL *ssl, X509 *cert,
Dtls_openssl.c185 SSL_CTX *ssl;
191 SSL_CTX *ssl_ctx;
574 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) in tls_cryptoapi_ca_cert()
846 static void remove_session_cb(SSL_CTX *ctx, SSL_SESSION *sess) in remove_session_cb()
867 SSL_CTX *ssl; in tls_init()
1017 SSL_CTX *ssl = data->ssl; in tls_deinit()
1312 SSL_CTX *ssl = data->ssl; in tls_connection_init()
1937 SSL_CTX *ssl_ctx = data->ssl; in tls_load_ca_der()
1972 SSL_CTX *ssl_ctx = data->ssl; in tls_connection_ca_cert()
2145 SSL_CTX *ssl_ctx = data->ssl; in tls_global_ca_cert()
[all …]
/external/google-breakpad/src/third_party/curl/
Dtypecheck-gcc.h517 typedef CURLcode (_curl_ssl_ctx_callback5)(CURL *, SSL_CTX, void *);
518 typedef CURLcode (_curl_ssl_ctx_callback6)(CURL *, SSL_CTX, const void *);
519 typedef CURLcode (_curl_ssl_ctx_callback7)(CURL *, const SSL_CTX, void *);
520 typedef CURLcode (_curl_ssl_ctx_callback8)(CURL *, const SSL_CTX, const void *);
/external/curl/include/curl/
Dtypecheck-gcc.h577 typedef CURLcode (_curl_ssl_ctx_callback5)(CURL *, SSL_CTX, void *);
578 typedef CURLcode (_curl_ssl_ctx_callback6)(CURL *, SSL_CTX, const void *);
579 typedef CURLcode (_curl_ssl_ctx_callback7)(CURL *, const SSL_CTX, void *);
580 typedef CURLcode (_curl_ssl_ctx_callback8)(CURL *, const SSL_CTX,
/external/libmicrohttpd/src/examples/
Dmhd2spdy_spdy.h64 spdy_ssl_init_ssl_ctx(SSL_CTX *ssl_ctx,
Dmhd2spdy_structures.h156 SSL_CTX *ssl_ctx;
/external/libvncserver/libvncserver/
Drfbssl_openssl.c29 SSL_CTX *ssl_ctx;

12