Home
last modified time | relevance | path

Searched refs:ssl (Results 1 – 25 of 448) sorted by relevance

12345678910>>...18

/external/openssl/
DSsl-config-host.mk21 ssl/bio_ssl.c \
22 ssl/d1_both.c \
23 ssl/d1_enc.c \
24 ssl/d1_lib.c \
25 ssl/d1_pkt.c \
26 ssl/d1_srtp.c \
27 ssl/kssl.c \
28 ssl/s23_clnt.c \
29 ssl/s23_lib.c \
30 ssl/s23_meth.c \
[all …]
DSsl-config-target.mk21 ssl/bio_ssl.c \
22 ssl/d1_both.c \
23 ssl/d1_enc.c \
24 ssl/d1_lib.c \
25 ssl/d1_pkt.c \
26 ssl/d1_srtp.c \
27 ssl/kssl.c \
28 ssl/s23_clnt.c \
29 ssl/s23_lib.c \
30 ssl/s23_meth.c \
[all …]
/external/chromium_org/net/third_party/nss/
Dssl.gyp28 'ssl/authcert.c',
29 'ssl/cmpcert.c',
30 'ssl/derive.c',
31 'ssl/dtlscon.c',
32 'ssl/os2_err.c',
33 'ssl/os2_err.h',
34 'ssl/preenc.h',
35 'ssl/prelib.c',
36 'ssl/ssl.h',
37 'ssl/ssl3con.c',
[all …]
/external/openssl/ssl/
Dbio_ssl.c77 SSL *ssl; /* The ssl handle :-) */ member
127 if (bs->ssl != NULL) SSL_shutdown(bs->ssl); in ssl_free()
130 if (a->init && (bs->ssl != NULL)) in ssl_free()
131 SSL_free(bs->ssl); in ssl_free()
144 SSL *ssl; in ssl_read() local
150 ssl=sb->ssl; in ssl_read()
155 if (!SSL_is_init_finished(ssl)) in ssl_read()
168 ret=SSL_read(ssl,out,outl); in ssl_read()
170 switch (SSL_get_error(ssl,ret)) in ssl_read()
181 SSL_renegotiate(ssl); in ssl_read()
[all …]
Dssl.h693 #define SSL_set_options(ssl,op) \ argument
694 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
695 #define SSL_clear_options(ssl,op) \ argument
696 SSL_ctrl((ssl),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
697 #define SSL_get_options(ssl) \ argument
698 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL)
706 #define SSL_clear_mode(ssl,op) \ argument
707 SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)
708 #define SSL_set_mode(ssl,op) \ argument
709 SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
[all …]
Dtls1.h314 #define SSL_set_tlsext_debug_callback(ssl, cb) \ argument
315 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
317 #define SSL_set_tlsext_debug_arg(ssl, arg) \ argument
318 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg)
320 #define SSL_set_tlsext_status_type(ssl, type) \ argument
321 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL)
323 #define SSL_get_tlsext_status_exts(ssl, arg) \ argument
324 SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
326 #define SSL_set_tlsext_status_exts(ssl, arg) \ argument
327 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
[all …]
Dssl_rsa.c69 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate() argument
76 if (!ssl_cert_inst(&ssl->cert)) in SSL_use_certificate()
81 return(ssl_set_cert(ssl->cert,x)); in SSL_use_certificate()
85 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) in SSL_use_certificate_file() argument
112 …x=PEM_read_bio_X509(in,NULL,ssl->ctx->default_passwd_callback,ssl->ctx->default_passwd_callback_us… in SSL_use_certificate_file()
126 ret=SSL_use_certificate(ssl,x); in SSL_use_certificate_file()
134 int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len) in SSL_use_certificate_ASN1() argument
146 ret=SSL_use_certificate(ssl,x); in SSL_use_certificate_ASN1()
152 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) in SSL_use_RSAPrivateKey() argument
162 if (!ssl_cert_inst(&ssl->cert)) in SSL_use_RSAPrivateKey()
[all …]
/external/chromium_org/net/socket/
Dssl_session_cache_openssl_unittest.cc42 static std::string Get(const SSL* ssl) { in Get() argument
43 return GetInstance()->GetValue(ssl); in Get()
47 static void Set(SSL* ssl, const std::string& value) { in Set() argument
48 GetInstance()->SetValue(ssl, value); in Set()
62 std::string GetValue(const SSL* ssl) { in GetValue() argument
64 reinterpret_cast<std::string*>(SSL_get_ex_data(ssl, ex_index_)); in GetValue()
70 void SetValue(SSL* ssl, const std::string& value) { in SetValue() argument
71 int ret = SSL_set_ex_data(ssl, ex_index_, new std::string(value)); in SetValue()
126 SSL* ssl = SSL_new(ctx_.get()); in NewSSL() local
127 if (!ssl) in NewSSL()
[all …]
/external/chromium_org/third_party/boringssl/src/ssl/test/
Dbssl_shim.cc43 static void SetConfigPtr(SSL *ssl, const TestConfig *config) { in SetConfigPtr() argument
44 SSL_set_ex_data(ssl, g_ex_data_index, (void *)config); in SetConfigPtr()
47 static const TestConfig *GetConfigPtr(SSL *ssl) { in GetConfigPtr() argument
48 return (const TestConfig *)SSL_get_ex_data(ssl, g_ex_data_index); in GetConfigPtr()
70 const TestConfig *config = GetConfigPtr(ctx->ssl); in select_certificate_callback()
112 static int next_protos_advertised_callback(SSL *ssl, in next_protos_advertised_callback() argument
116 const TestConfig *config = GetConfigPtr(ssl); in next_protos_advertised_callback()
127 static int next_proto_select_callback(SSL* ssl, in next_proto_select_callback() argument
133 const TestConfig *config = GetConfigPtr(ssl); in next_proto_select_callback()
142 static int alpn_select_callback(SSL* ssl, in alpn_select_callback() argument
[all …]
/external/chromium_org/net/third_party/nss/patches/
Dfallbackscsv.patch1 diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
2 --- a/nss/lib/ssl/ssl3con.c 2014-01-17 18:46:51.999581198 -0800
3 +++ b/nss/lib/ssl/ssl3con.c 2014-01-17 18:47:05.509804656 -0800
83 diff -pu a/nss/lib/ssl/ssl3prot.h b/nss/lib/ssl/ssl3prot.h
84 --- a/nss/lib/ssl/ssl3prot.h 2014-01-17 17:59:03.242109996 -0800
85 +++ b/nss/lib/ssl/ssl3prot.h 2014-01-17 18:47:05.509804656 -0800
94 diff -pu a/nss/lib/ssl/sslerr.h b/nss/lib/ssl/sslerr.h
95 --- a/nss/lib/ssl/sslerr.h 2014-01-17 17:59:03.242109996 -0800
96 +++ b/nss/lib/ssl/sslerr.h 2014-01-17 18:47:05.509804656 -0800
105 diff -pu a/nss/lib/ssl/SSLerrs.h b/nss/lib/ssl/SSLerrs.h
[all …]
Dgetrequestedclientcerttypes.patch1 diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
2 --- a/nss/lib/ssl/ssl3con.c 2014-01-17 17:52:46.705854118 -0800
3 +++ b/nss/lib/ssl/ssl3con.c 2014-01-17 17:54:27.087523439 -0800
22 diff -pu a/nss/lib/ssl/ssl.h b/nss/lib/ssl/ssl.h
23 --- a/nss/lib/ssl/ssl.h 2014-01-17 17:53:39.726735852 -0800
24 +++ b/nss/lib/ssl/ssl.h 2014-01-17 17:54:27.087523439 -0800
42 diff -pu a/nss/lib/ssl/sslimpl.h b/nss/lib/ssl/sslimpl.h
43 --- a/nss/lib/ssl/sslimpl.h 2014-01-17 17:52:46.715854283 -0800
44 +++ b/nss/lib/ssl/sslimpl.h 2014-01-17 17:54:27.087523439 -0800
56 diff -pu a/nss/lib/ssl/sslsock.c b/nss/lib/ssl/sslsock.c
[all …]
Ddidhandshakeresume.patch1 diff -pu a/nss/lib/ssl/ssl.h b/nss/lib/ssl/ssl.h
2 --- a/nss/lib/ssl/ssl.h 2014-01-17 17:52:46.715854283 -0800
3 +++ b/nss/lib/ssl/ssl.h 2014-01-17 17:53:20.876422375 -0800
14 diff -pu a/nss/lib/ssl/sslsock.c b/nss/lib/ssl/sslsock.c
15 --- a/nss/lib/ssl/sslsock.c 2014-01-17 17:52:46.715854283 -0800
16 +++ b/nss/lib/ssl/sslsock.c 2014-01-17 17:53:20.876422375 -0800
Dsessioncache.patch1 diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
2 --- a/nss/lib/ssl/ssl3con.c 2014-01-17 19:00:52.843413560 -0800
3 +++ b/nss/lib/ssl/ssl3con.c 2014-01-17 19:01:36.374129696 -0800
13 diff -pu a/nss/lib/ssl/ssl.h b/nss/lib/ssl/ssl.h
14 --- a/nss/lib/ssl/ssl.h 2014-01-17 19:00:52.843413560 -0800
15 +++ b/nss/lib/ssl/ssl.h 2014-01-17 19:01:36.374129696 -0800
35 diff -pu a/nss/lib/ssl/sslsecur.c b/nss/lib/ssl/sslsecur.c
36 --- a/nss/lib/ssl/sslsecur.c 2014-01-17 17:59:03.242109996 -0800
37 +++ b/nss/lib/ssl/sslsecur.c 2014-01-17 19:01:36.374129696 -0800
Dcipherorder.patch1 diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
2 --- a/nss/lib/ssl/ssl3con.c 2014-01-17 18:45:24.378132013 -0800
3 +++ b/nss/lib/ssl/ssl3con.c 2014-01-17 18:46:29.929216162 -0800
51 diff -pu a/nss/lib/ssl/ssl.h b/nss/lib/ssl/ssl.h
52 --- a/nss/lib/ssl/ssl.h 2014-01-17 18:45:24.378132013 -0800
53 +++ b/nss/lib/ssl/ssl.h 2014-01-17 18:46:29.929216162 -0800
68 diff -pu a/nss/lib/ssl/sslimpl.h b/nss/lib/ssl/sslimpl.h
69 --- a/nss/lib/ssl/sslimpl.h 2014-01-17 18:45:24.378132013 -0800
70 +++ b/nss/lib/ssl/sslimpl.h 2014-01-17 18:46:29.929216162 -0800
80 diff -pu a/nss/lib/ssl/sslsock.c b/nss/lib/ssl/sslsock.c
[all …]
Drestartclientauth.patch1 diff -pu a/nss/lib/ssl/ssl3con.c b/nss/lib/ssl/ssl3con.c
2 --- a/nss/lib/ssl/ssl3con.c 2014-01-17 17:55:01.518095989 -0800
3 +++ b/nss/lib/ssl/ssl3con.c 2014-01-17 17:55:19.158389328 -0800
14 + * Note: ssl takes this reference, and does not bump the
24 + * Note: ssl takes this reference, and does not copy the chain.
90 diff -pu a/nss/lib/ssl/ssl.h b/nss/lib/ssl/ssl.h
91 --- a/nss/lib/ssl/ssl.h 2014-01-17 17:55:01.538096321 -0800
92 +++ b/nss/lib/ssl/ssl.h 2014-01-17 17:55:19.158389328 -0800
105 diff -pu a/nss/lib/ssl/sslimpl.h b/nss/lib/ssl/sslimpl.h
106 --- a/nss/lib/ssl/sslimpl.h 2014-01-17 17:55:01.538096321 -0800
[all …]
/external/openssl/include/openssl/
Dssl.h693 #define SSL_set_options(ssl,op) \ argument
694 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
695 #define SSL_clear_options(ssl,op) \ argument
696 SSL_ctrl((ssl),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
697 #define SSL_get_options(ssl) \ argument
698 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL)
706 #define SSL_clear_mode(ssl,op) \ argument
707 SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)
708 #define SSL_set_mode(ssl,op) \ argument
709 SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
[all …]
Dtls1.h314 #define SSL_set_tlsext_debug_callback(ssl, cb) \ argument
315 SSL_callback_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_CB,(void (*)(void))cb)
317 #define SSL_set_tlsext_debug_arg(ssl, arg) \ argument
318 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0, (void *)arg)
320 #define SSL_set_tlsext_status_type(ssl, type) \ argument
321 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_TYPE,type, NULL)
323 #define SSL_get_tlsext_status_exts(ssl, arg) \ argument
324 SSL_ctrl(ssl,SSL_CTRL_GET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
326 #define SSL_set_tlsext_status_exts(ssl, arg) \ argument
327 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_STATUS_REQ_EXTS,0, (void *)arg)
[all …]
/external/openssl/patches/
D0003-jsse.patch1 --- openssl-1.0.0b.orig/ssl/ssl.h 2010-11-30 00:03:46.000000000 +0000
2 +++ openssl-1.0.0b/ssl/ssl.h 2010-11-30 00:03:47.000000000 +0000
37 @@ -1580,6 +1586,8 @@ int SSL_use_PrivateKey(SSL *ssl, EVP_PKE
38 int SSL_use_PrivateKey_ASN1(int pk,SSL *ssl, const unsigned char *d, long len);
39 int SSL_use_certificate(SSL *ssl, X509 *x);
40 int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len);
41 +int SSL_use_certificate_chain(SSL *ssl, STACK_OF(X509) *cert_chain);
42 +STACK_OF(X509) * SSL_get_certificate_chain(SSL *ssl, X509 *x);
45 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type);
78 --- openssl-1.0.0b.orig/ssl/d1_clnt.c 2010-01-26 19:46:29.000000000 +0000
[all …]
D0002-handshake_cutthrough.patch12 ssl/s3_clnt.c | 54 ++++++++++++++++++++++++++++++++++++++++++++++++------
13 ssl/s3_lib.c | 15 ++++++++++++++-
14 ssl/ssl.h | 10 +++++++++-
15 ssl/ssl3.h | 1 +
16 ssl/ssl_lib.c | 42 ++++++++++++++++++++++++++++++++++++++++++
17 ssl/ssl_locl.h | 2 ++
18 ssl/ssltest.c | 12 ++++++++++++
67 diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
69 --- a/ssl/s3_clnt.c
70 +++ b/ssl/s3_clnt.c
[all …]
D0007-tls12_digests.patch9 ssl/s3_clnt.c | 26 +++++++++++++--
10 ssl/ssl3.h | 11 +++++-
11 ssl/ssl_cert.c | 20 -----------
12 ssl/ssl_lib.c | 35 +++++++++++--------
13 ssl/ssl_locl.h | 4 +--
14 ssl/t1_lib.c | 104 ++++++++++++++++++++-------------------------------------
17 diff --git a/ssl/s3_clnt.c b/ssl/s3_clnt.c
19 --- a/ssl/s3_clnt.c
20 +++ b/ssl/s3_clnt.c
66 diff --git a/ssl/ssl3.h b/ssl/ssl3.h
[all …]
/external/chromium_org/third_party/boringssl/src/include/openssl/
Dssl.h641 #define SSL_set_options(ssl,op) \ argument
642 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,(op),NULL)
643 #define SSL_clear_options(ssl,op) \ argument
644 SSL_ctrl((ssl),SSL_CTRL_CLEAR_OPTIONS,(op),NULL)
645 #define SSL_get_options(ssl) \ argument
646 SSL_ctrl((ssl),SSL_CTRL_OPTIONS,0,NULL)
654 #define SSL_clear_mode(ssl,op) \ argument
655 SSL_ctrl((ssl),SSL_CTRL_CLEAR_MODE,(op),NULL)
656 #define SSL_set_mode(ssl,op) \ argument
657 SSL_ctrl((ssl),SSL_CTRL_MODE,(op),NULL)
[all …]
/external/conscrypt/src/main/native/
Dorg_conscrypt_NativeCrypto.cpp374 OpenSslError(SSL* ssl, int returnCode) : sslError_(SSL_ERROR_NONE), released_(false) { in OpenSslError() argument
375 reset(ssl, returnCode); in OpenSslError()
388 void reset(SSL* ssl, int returnCode) { in reset() argument
390 sslError_ = SSL_get_error(ssl, returnCode); in reset()
631 static void throwSSLExceptionWithSslErrors(JNIEnv* env, SSL* ssl, int sslErrorCode, in throwSSLExceptionWithSslErrors() argument
678 if (asprintf(&str, "%s: ssl=%p: %s", message, ssl, sslErrorStr) <= 0) { in throwSSLExceptionWithSslErrors()
681 ALOGV("%s: ssl=%p: %s", message, ssl, sslErrorStr); in throwSSLExceptionWithSslErrors()
767 SSL* ssl = reinterpret_cast<SSL*>(static_cast<uintptr_t>(ssl_address)); in to_SSL() local
768 if ((ssl == NULL) && throwIfNull) { in to_SSL()
772 return ssl; in to_SSL()
[all …]
/external/chromium_org/chrome/browser/ui/website_settings/
Dwebsite_settings.cc170 const content::SSLStatus& ssl, in WebsiteSettings() argument
186 Init(profile, url, ssl); in WebsiteSettings()
339 const content::SSLStatus& ssl) { in Init() argument
357 cert_id_ = ssl.cert_id; in Init()
359 if (ssl.cert_id && !ssl.signed_certificate_timestamp_ids.empty()) { in Init()
361 ssl.signed_certificate_timestamp_ids.begin(), in Init()
362 ssl.signed_certificate_timestamp_ids.end()); in Init()
365 if (ssl.cert_id && in Init()
366 cert_store_->RetrieveCert(ssl.cert_id, &cert) && in Init()
367 (!net::IsCertStatusError(ssl.cert_status) || in Init()
[all …]
/external/chromium_org/third_party/boringssl/src/tool/
Dclient.cc119 static void PrintConnectionInfo(const SSL *ssl) { in PrintConnectionInfo() argument
120 const SSL_CIPHER *cipher = SSL_get_current_cipher(ssl); in PrintConnectionInfo()
122 fprintf(stderr, " Version: %s\n", SSL_get_version(ssl)); in PrintConnectionInfo()
125 SSL_get_secure_renegotiation_support(ssl) ? "yes" : "no"); in PrintConnectionInfo()
159 bool TransferData(SSL *ssl, int sock) { in TransferData() argument
202 int ssl_ret = SSL_write(ssl, buffer, n); in TransferData()
208 int ssl_err = SSL_get_error(ssl, ssl_ret); in TransferData()
220 int ssl_ret = SSL_read(ssl, buffer, sizeof(buffer)); in TransferData()
223 int ssl_err = SSL_get_error(ssl, ssl_ret); in TransferData()
273 SSL *ssl = SSL_new(ctx); in Client() local
[all …]
/external/wpa_supplicant_8/src/crypto/
Dtls_openssl.c101 SSL *ssl; member
378 static int tls_cryptoapi_cert(SSL *ssl, const char *name) in tls_cryptoapi_cert() argument
445 if (!SSL_use_certificate(ssl, cert)) { in tls_cryptoapi_cert()
459 if (!SSL_use_RSAPrivateKey(ssl, rsa)) in tls_cryptoapi_cert()
478 static int tls_cryptoapi_ca_cert(SSL_CTX *ssl_ctx, SSL *ssl, const char *name) in tls_cryptoapi_ca_cert() argument
545 static int tls_cryptoapi_cert(SSL *ssl, const char *name) in tls_cryptoapi_cert() argument
553 static void ssl_info_cb(const SSL *ssl, int where, int ret) in ssl_info_cb() argument
569 str, SSL_state_string_long(ssl)); in ssl_info_cb()
571 struct tls_connection *conn = SSL_get_app_data((SSL *) ssl); in ssl_info_cb()
596 SSL_state_string_long(ssl)); in ssl_info_cb()
[all …]

12345678910>>...18