Home
last modified time | relevance | path

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

1234567891011

/openssl-master/ssl/
A Dbio_ssl.c95 SSL *ssl; in ssl_read() local
102 ssl = sb->ssl; in ssl_read()
165 SSL *ssl; in ssl_write() local
171 ssl = bs->ssl; in ssl_write()
233 ssl = bs->ssl; in ssl_ctrl()
290 bs->ssl = ssl; in ssl_ctrl()
372 dbs->ssl = SSL_dup(ssl); in ssl_ctrl()
395 SSL *ssl; in ssl_callback_ctrl() local
400 ssl = bs->ssl; in ssl_callback_ctrl()
488 if ((tdata->ssl == NULL) || (fdata->ssl == NULL)) in BIO_ssl_copy_session_id()
[all …]
A Dssl_rsa.c28 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate() argument
42 return ssl_set_cert(ssl->cert, x); in SSL_use_certificate()
67 x = X509_new_ex(ssl->ctx->libctx, ssl->ctx->propq); in SSL_use_certificate_file()
89 ret = SSL_use_certificate(ssl, x); in SSL_use_certificate_file()
101 x = X509_new_ex(ssl->ctx->libctx, ssl->ctx->propq); in SSL_use_certificate_ASN1()
113 ret = SSL_use_certificate(ssl, x); in SSL_use_certificate_ASN1()
146 ret = ssl_set_pkey(ssl->cert, pkey); in SSL_use_PrivateKey()
185 ret = SSL_use_PrivateKey(ssl, pkey); in SSL_use_PrivateKey_file()
425 SSL_CTX *real_ctx = (ssl == NULL) ? ctx : ssl->ctx; in use_certificate_chain_file()
427 if (ctx == NULL && ssl == NULL) in use_certificate_chain_file()
[all …]
A Dssl_conf.c85 SSL *ssl; member
191 if (cctx->ssl) in cmd_SignatureAlgorithms()
203 if (cctx->ssl) in cmd_ClientSignatureAlgorithms()
214 if (cctx->ssl) in cmd_Groups()
260 if (cctx->ssl) in cmd_CipherString()
271 if (cctx->ssl) in cmd_Ciphersuites()
434 if (cctx->ssl) { in cmd_Certificate()
456 if (cctx->ssl) in cmd_PrivateKey()
586 SSL_CTX *sslctx = (cctx->ssl != NULL) ? cctx->ssl->ctx : cctx->ctx; in cmd_DHParameters()
1040 cctx->ssl = ssl; in SSL_CONF_CTX_set_ssl()
[all …]
A Dt1_trce.c693 if (SSL_USE_SIGALGS(ssl)) { in ssl_print_signature()
960 if (SSL_IS_DTLS(ssl)) { in ssl_print_client_hello()
1260 if (SSL_IS_TLS13(ssl) in ssl_print_certificates()
1275 if (SSL_IS_TLS13(ssl) in ssl_print_certificates()
1290 if (SSL_IS_TLS13(ssl)) { in ssl_print_cert_request()
1311 if (SSL_USE_SIGALGS(ssl)) { in ssl_print_cert_request()
1365 if (SSL_IS_TLS13(ssl)) { in ssl_print_cert_request()
1393 if (SSL_IS_TLS13(ssl)) { in ssl_print_ticket()
1413 if (SSL_IS_TLS13(ssl) in ssl_print_ticket()
1438 if (SSL_IS_DTLS(ssl)) { in ssl_print_handshake()
[all …]
A Dssl_lib.c1164 return ssl->param; in SSL_get0_param()
1650 if (ssl == NULL) { in SSL_check_private_key()
4268 return ssl->ctx; in SSL_get_SSL_CTX()
4295 if (!ossl_assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx))) in SSL_set_SSL_CTX()
4305 (ssl->sid_ctx_length == ssl->ctx->sid_ctx_length) && in SSL_set_SSL_CTX()
4306 (memcmp(ssl->sid_ctx, ssl->ctx->sid_ctx, ssl->sid_ctx_length) == 0)) { in SSL_set_SSL_CTX()
4308 memcpy(&ssl->sid_ctx, &ctx->sid_ctx, sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
4313 ssl->ctx = ctx; in SSL_set_SSL_CTX()
4315 return ssl->ctx; in SSL_set_SSL_CTX()
5496 ssl->ctx->keylog_callback(ssl, (const char *)out); in nss_keylog_int()
[all …]
/openssl-master/test/
A Ddanetest.c75 store_ctx_dane_init(store_ctx, ssl); in verify_chain()
296 SSL *ssl; in test_tlsafile() local
322 if (!TEST_ptr(ssl = SSL_new(ctx))) in test_tlsafile()
324 SSL_set_connect_state(ssl); in test_tlsafile()
326 SSL_free(ssl); in test_tlsafile()
334 SSL_free(ssl); in test_tlsafile()
342 SSL_free(ssl); in test_tlsafile()
346 ok = verify_chain(ssl, chain); in test_tlsafile()
348 err = SSL_get_verify_result(ssl); in test_tlsafile()
357 SSL_set_verify_result(ssl, err); in test_tlsafile()
[all …]
A Dssl_ctx_test.c34 SSL *ssl = NULL; in test_set_min_max_version() local
42 ssl = SSL_new(ctx); in test_set_min_max_version()
43 if (ssl == NULL) in test_set_min_max_version()
55 if (!TEST_int_eq(SSL_set_min_proto_version(ssl, t.min_version), t.min_ok)) in test_set_min_max_version()
57 if (!TEST_int_eq(SSL_set_max_proto_version(ssl, t.max_version), t.max_ok)) in test_set_min_max_version()
59 if (!TEST_int_eq(SSL_get_min_proto_version(ssl), t.expected_min)) in test_set_min_max_version()
61 if (!TEST_int_eq(SSL_get_max_proto_version(ssl), t.expected_max)) in test_set_min_max_version()
67 SSL_free(ssl); in test_set_min_max_version()
A Ddtlsv1listentest.c262 static int cookie_gen(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len) in cookie_gen() argument
273 static int cookie_verify(SSL *ssl, const unsigned char *cookie, in cookie_verify() argument
292 SSL *ssl = NULL; in dtls_listen_test() local
308 if (!TEST_ptr(ssl = SSL_new(ctx)) in dtls_listen_test()
311 SSL_set0_wbio(ssl, outbio); in dtls_listen_test()
317 SSL_set0_rbio(ssl, inbio); in dtls_listen_test()
320 if (!TEST_int_ge(ret = DTLSv1_listen(ssl, peer), 0)) in dtls_listen_test()
338 SSL_set0_rbio(ssl, NULL); in dtls_listen_test()
343 SSL_free(ssl); in dtls_listen_test()
/openssl-master/test/ssl-tests/
A D02-protocol-version.cnf688 [0-version-negotiation-ssl]
713 [1-version-negotiation-ssl]
738 [2-version-negotiation-ssl]
763 [3-version-negotiation-ssl]
788 [4-version-negotiation-ssl]
813 [5-version-negotiation-ssl]
837 [6-version-negotiation-ssl]
863 [7-version-negotiation-ssl]
889 [8-version-negotiation-ssl]
915 [9-version-negotiation-ssl]
[all …]
A D07-dtls-protocol-version.cnf74 [0-version-negotiation-ssl]
101 [1-version-negotiation-ssl]
128 [2-version-negotiation-ssl]
154 [3-version-negotiation-ssl]
182 [4-version-negotiation-ssl]
210 [5-version-negotiation-ssl]
237 [6-version-negotiation-ssl]
264 [7-version-negotiation-ssl]
290 [8-version-negotiation-ssl]
317 [9-version-negotiation-ssl]
[all …]
A D14-curves.cnf65 [0-curve-prime256v1-ssl]
94 [1-curve-secp384r1-ssl]
123 [2-curve-secp521r1-ssl]
152 [3-curve-X25519-ssl]
181 [4-curve-X448-ssl]
210 [5-curve-sect233k1-ssl]
239 [6-curve-sect233r1-ssl]
268 [7-curve-sect283k1-ssl]
297 [8-curve-sect283r1-ssl]
326 [9-curve-sect409k1-ssl]
[all …]
A D10-resumption.cnf75 [0-resumption-ssl]
112 [1-resumption-ssl]
149 [2-resumption-ssl]
186 [3-resumption-ssl]
223 [4-resumption-ssl]
260 [5-resumption-ssl]
297 [6-resumption-ssl]
334 [7-resumption-ssl]
371 [8-resumption-ssl]
408 [9-resumption-ssl]
[all …]
A D03-custom_verify.cnf18 ssl_conf = 0-verify-success-ssl
20 [0-verify-success-ssl]
41 ssl_conf = 1-verify-custom-reject-ssl
43 [1-verify-custom-reject-ssl]
69 ssl_conf = 2-verify-custom-allow-ssl
71 [2-verify-custom-allow-ssl]
98 [3-verify-custom-retry-ssl]
123 ssl_conf = 4-noverify-success-ssl
125 [4-noverify-success-ssl]
196 [7-verify-fail-no-root-ssl]
[all …]
A D22-compression.cnf16 ssl_conf = 0-tlsv1_3-both-compress-ssl
18 [0-tlsv1_3-both-compress-ssl]
42 ssl_conf = 1-tlsv1_3-client-compress-ssl
44 [1-tlsv1_3-client-compress-ssl]
69 [2-tlsv1_3-server-compress-ssl]
94 [3-tlsv1_3-neither-compress-ssl]
116 ssl_conf = 4-tlsv1_2-both-compress-ssl
118 [4-tlsv1_2-both-compress-ssl]
145 [5-tlsv1_2-client-compress-ssl]
171 [6-tlsv1_2-server-compress-ssl]
[all …]
A D13-fragmentation.cnf32 [0-one-fragment-minus-app-data-ssl]
53 ssl_conf = 1-one-fragment-app-data-ssl
55 [1-one-fragment-app-data-ssl]
78 [2-one-fragment-plus-app-data-ssl]
99 ssl_conf = 3-small-app-data-ssl
101 [3-small-app-data-ssl]
146 ssl_conf = 5-medium-app-data-ssl
148 [5-medium-app-data-ssl]
171 [6-medium-plus-app-data-ssl]
192 ssl_conf = 7-large-app-data-ssl
[all …]
A D11-dtls_resumption.cnf26 [0-resumption-ssl]
64 [1-resumption-ssl]
102 [2-resumption-ssl]
140 [3-resumption-ssl]
178 [4-resumption-ssl]
216 [5-resumption-ssl]
254 [6-resumption-ssl]
292 [7-resumption-ssl]
330 [8-resumption-ssl]
367 [9-resumption-ssl]
[all …]
A D17-renegotiate.cnf27 [0-renegotiate-client-no-resume-ssl]
55 [1-renegotiate-client-resume-ssl]
82 [2-renegotiate-server-no-resume-ssl]
110 [3-renegotiate-server-resume-ssl]
169 [5-renegotiate-client-auth-once-ssl]
201 [6-renegotiate-aead-to-non-aead-ssl]
233 [7-renegotiate-non-aead-to-aead-ssl]
297 [9-renegotiate-aead-to-aead-ssl]
441 [14-no-extms-on-renegotiation-ssl]
473 [15-allow-client-renegotiation-ssl]
[all …]
A D04-client_auth.cnf44 ssl_conf = 0-server-auth-flex-ssl
46 [0-server-auth-flex-ssl]
69 [1-client-auth-flex-request-ssl]
119 [3-client-auth-flex-require-ssl]
178 [5-client-auth-flex-noroot-ssl]
205 [6-server-auth-TLSv1-ssl]
232 [7-client-auth-TLSv1-request-ssl]
388 [12-server-auth-TLSv1.1-ssl]
571 [18-server-auth-TLSv1.2-ssl]
760 [24-server-auth-DTLSv1-ssl]
[all …]
A D25-cipher.cnf17 ssl_conf = 0-cipher-server-1-ssl
19 [0-cipher-server-1-ssl]
42 ssl_conf = 1-cipher-server-2-ssl
44 [1-cipher-server-2-ssl]
69 [2-cipher-server-client-list-ssl]
92 ssl_conf = 3-cipher-server-pref-1-ssl
94 [3-cipher-server-pref-1-ssl]
118 ssl_conf = 4-cipher-server-pref-2-ssl
120 [4-cipher-server-pref-2-ssl]
198 [7-cipher-server-pref-mobile-ssl]
[all …]
A D29-dtls-sctp-label-bug.cnf12 ssl_conf = 0-SCTPLabelBug-good1-ssl
14 [0-SCTPLabelBug-good1-ssl]
39 ssl_conf = 1-SCTPLabelBug-good2-ssl
41 [1-SCTPLabelBug-good2-ssl]
66 ssl_conf = 2-SCTPLabelBug-bad1-ssl
68 [2-SCTPLabelBug-bad1-ssl]
93 ssl_conf = 3-SCTPLabelBug-bad2-ssl
95 [3-SCTPLabelBug-bad2-ssl]
A D18-dtls-renegotiate.cnf17 ssl_conf = 0-renegotiate-client-no-resume-ssl
19 [0-renegotiate-client-no-resume-ssl]
45 ssl_conf = 1-renegotiate-client-resume-ssl
47 [1-renegotiate-client-resume-ssl]
72 ssl_conf = 2-renegotiate-server-resume-ssl
74 [2-renegotiate-server-resume-ssl]
101 [3-renegotiate-client-auth-require-ssl]
132 [4-renegotiate-client-auth-once-ssl]
163 [5-renegotiate-aead-to-non-aead-ssl]
195 [6-renegotiate-non-aead-to-aead-ssl]
[all …]
A D19-mac-then-encrypt.cnf17 ssl_conf = 0-disable-encrypt-then-mac-server-sha-ssl
19 [0-disable-encrypt-then-mac-server-sha-ssl]
44 [1-disable-encrypt-then-mac-client-sha-ssl]
67 ssl_conf = 2-disable-encrypt-then-mac-both-sha-ssl
69 [2-disable-encrypt-then-mac-both-sha-ssl]
95 [3-disable-encrypt-then-mac-server-sha2-ssl]
120 [4-disable-encrypt-then-mac-client-sha2-ssl]
145 [5-disable-encrypt-then-mac-both-sha2-ssl]
171 [6-disable-encrypt-then-mac-server-sha-tls1-ssl]
197 [7-disable-encrypt-then-mac-client-sha-tls1-ssl]
[all …]
/openssl-master/include/openssl/
A Dtls1.h263 # define SSL_set_tlsext_debug_callback(ssl, cb) \ argument
267 # define SSL_set_tlsext_debug_arg(ssl, arg) \ argument
270 # define SSL_get_tlsext_status_type(ssl) \ argument
273 # define SSL_set_tlsext_status_type(ssl, type) \ argument
276 # define SSL_get_tlsext_status_exts(ssl, arg) \ argument
279 # define SSL_set_tlsext_status_exts(ssl, arg) \ argument
282 # define SSL_get_tlsext_status_ids(ssl, arg) \ argument
285 # define SSL_set_tlsext_status_ids(ssl, arg) \ argument
311 # define SSL_CTX_get_tlsext_status_cb(ssl, cb) \ argument
313 # define SSL_CTX_set_tlsext_status_cb(ssl, cb) \ argument
[all …]
/openssl-master/test/helpers/
A Dhandshake.c713 SSL *ssl; member
727 SSL *ssl = NULL; in create_peer() local
730 if (!TEST_ptr(ssl = SSL_new(ctx)) in create_peer()
735 peer->ssl = ssl; in create_peer()
741 SSL_free(ssl); in create_peer()
749 SSL_free(peer->ssl); in peer_free_data()
947 if (SSL_is_server(peer->ssl) in do_reneg_setup_step()
1008 if (!SSL_in_init(peer->ssl)) in do_reneg_setup_step()
1039 ret = SSL_shutdown(peer->ssl); in do_shutdown_step()
1450 configure_handshake_ssl(server.ssl, client.ssl, extra); in do_handshake_internal()
[all …]
/openssl-master/doc/man3/
A DSSL_get_fd.pod9 #include <openssl/ssl.h>
11 int SSL_get_fd(const SSL *ssl);
12 int SSL_get_rfd(const SSL *ssl);
13 int SSL_get_wfd(const SSL *ssl);
17 SSL_get_fd() returns the file descriptor which is linked to B<ssl>.
36 The file descriptor linked to B<ssl>.
42 L<SSL_set_fd(3)>, L<ssl(7)> , L<bio(7)>

Completed in 98 milliseconds

1234567891011