Home
last modified time | relevance | path

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

12345678910>>...14

/freebsd-13.1/crypto/openssl/ssl/
H 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 …]
H A Dssl_conf.c84 SSL *ssl; member
186 if (cctx->ssl) in cmd_SignatureAlgorithms()
198 if (cctx->ssl) in cmd_ClientSignatureAlgorithms()
209 if (cctx->ssl) in cmd_Groups()
263 if (cctx->ssl) in cmd_CipherString()
274 if (cctx->ssl) in cmd_Ciphersuites()
433 if (cctx->ssl) { in cmd_Certificate()
455 if (cctx->ssl) in cmd_PrivateKey()
555 if (cctx->ssl) in cmd_DHParameters()
967 cctx->ssl = ssl; in SSL_CONF_CTX_set_ssl()
[all …]
H A Dssl_rsa.c27 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate() argument
40 return ssl_set_cert(ssl->cert, x); in SSL_use_certificate()
77 ret = SSL_use_certificate(ssl, x); in SSL_use_certificate_file()
95 ret = SSL_use_certificate(ssl, x); in SSL_use_certificate_ASN1()
122 ret = ssl_set_pkey(ssl->cert, pkey); in SSL_use_RSAPrivateKey()
198 ret = SSL_use_RSAPrivateKey(ssl, rsa); in SSL_use_RSAPrivateKey_file()
217 ret = SSL_use_RSAPrivateKey(ssl, rsa); in SSL_use_RSAPrivateKey_ASN1()
231 ret = ssl_set_pkey(ssl->cert, pkey); in SSL_use_PrivateKey()
267 ret = SSL_use_PrivateKey(ssl, pkey); in SSL_use_PrivateKey_file()
287 ret = SSL_use_PrivateKey(ssl, pkey); in SSL_use_PrivateKey_ASN1()
[all …]
H A Dssl_lib.c1140 return ssl->param; in SSL_get0_param()
3030 if (ssl->s3) in SSL_get0_alpn_selected()
4184 return ssl->ctx; in SSL_get_SSL_CTX()
4211 if (!ossl_assert(ssl->sid_ctx_length <= sizeof(ssl->sid_ctx))) in SSL_set_SSL_CTX()
4221 (ssl->sid_ctx_length == ssl->ctx->sid_ctx_length) && in SSL_set_SSL_CTX()
4222 (memcmp(ssl->sid_ctx, ssl->ctx->sid_ctx, ssl->sid_ctx_length) == 0)) { in SSL_set_SSL_CTX()
4224 memcpy(&ssl->sid_ctx, &ctx->sid_ctx, sizeof(ssl->sid_ctx)); in SSL_set_SSL_CTX()
4229 ssl->ctx = ctx; in SSL_set_SSL_CTX()
4231 return ssl->ctx; in SSL_set_SSL_CTX()
5400 ssl->ctx->keylog_callback(ssl, (const char *)out); in nss_keylog_int()
[all …]
H A Dt1_trce.c679 if (SSL_USE_SIGALGS(ssl)) { in ssl_print_signature()
949 if (SSL_IS_DTLS(ssl)) { in ssl_print_client_hello()
1239 if (SSL_IS_TLS13(ssl) in ssl_print_certificates()
1254 if (SSL_IS_TLS13(ssl) in ssl_print_certificates()
1269 if (SSL_IS_TLS13(ssl)) { in ssl_print_cert_request()
1290 if (SSL_USE_SIGALGS(ssl)) { in ssl_print_cert_request()
1344 if (SSL_IS_TLS13(ssl)) { in ssl_print_cert_request()
1372 if (SSL_IS_TLS13(ssl)) { in ssl_print_ticket()
1392 if (SSL_IS_TLS13(ssl) in ssl_print_ticket()
1417 if (SSL_IS_DTLS(ssl)) { in ssl_print_handshake()
[all …]
/freebsd-13.1/contrib/unbound/daemon/
H A Dremote.c248 if(p->ssl) in daemon_remote_clear()
551 if(s->ssl) { in clean_point()
682 send_ok(ssl); in do_stop()
691 send_ok(ssl); in do_reload()
2460 RES* ssl; member
2519 arg.ssl = ssl; in do_dump_infra()
2858 RES* ssl; member
2913 a.ssl = ssl; in do_ratelimit_list()
2932 a.ssl = ssl; in do_ip_ratelimit_list()
3046 if(load_cache(ssl, worker)) send_ok(ssl); in execute_cmd()
[all …]
H A Dcachedump.c69 return ssl_printf(ssl, "BADRR\n"); in dump_rrset_line()
71 return ssl_printf(ssl, "%s", s); in dump_rrset_line()
298 if(!dump_msg_cache(ssl, worker)) in dump_cache()
300 return ssl_printf(ssl, "EOF\n"); in dump_cache()
330 if(!ssl_read_buf(ssl, buf)) in load_rr()
588 if(!ssl_read_buf(ssl, buf)) in load_ref()
782 if(!ssl_printf(ssl, "\n")) in print_dp_details()
803 if(!dump_rrset(ssl, k, d, 0)) in print_dp_main()
843 print_dp_main(ssl, dp, NULL); in print_deleg_lookup()
858 print_dp_main(ssl, dp, msg); in print_deleg_lookup()
[all …]
/freebsd-13.1/lib/libbearssl/
H A DMakefile176 ssl/prf.c \
177 ssl/prf_md5sha1.c \
178 ssl/prf_sha256.c \
179 ssl/prf_sha384.c \
182 ssl/ssl_client.c \
185 ssl/ssl_engine.c \
194 ssl/ssl_hashes.c \
197 ssl/ssl_io.c \
198 ssl/ssl_lru.c \
199 ssl/ssl_rec_cbc.c \
[all …]
/freebsd-13.1/crypto/openssl/doc/man7/
H A Dssl.pod5 ssl - OpenSSL SSL/TLS library
84 =item B<ssl.h>
100 it's already included by ssl.h>.
106 it's already included by ssl.h>.
463 =item int B<SSL_accept>(SSL *ssl);
481 =item void B<SSL_clear>(SSL *ssl);
485 =item int B<SSL_connect>(SSL *ssl);
496 =item SSL *B<SSL_dup>(SSL *ssl);
517 =item void B<SSL_free>(SSL *ssl);
603 =item int B<SSL_in_init>(SSL *ssl);
[all …]
/freebsd-13.1/usr.sbin/rpc.tlsclntd/
H A Drpc.tlsclntd.c307 SSL *ssl; in rpctlscd_connect_1_svc() local
350 newslp->ssl = ssl; in rpctlscd_connect_1_svc()
590 SSL *ssl; in rpctls_connect() local
611 SSL_free(ssl); in rpctls_connect()
624 SSL_free(ssl); in rpctls_connect()
632 SSL_free(ssl); in rpctls_connect()
660 SSL_free(ssl); in rpctls_connect()
668 SSL_free(ssl); in rpctls_connect()
700 SSL_free(ssl); in rpctls_connect()
718 SSL_free(ssl); in rpctls_connect()
[all …]
/freebsd-13.1/crypto/openssl/include/openssl/
H A Dssl.h598 # define SSL_clear_mode(ssl,op) \ argument
600 # define SSL_set_mode(ssl,op) \ argument
602 # define SSL_get_mode(ssl) \ argument
604 # define SSL_set_mtu(ssl, mtu) \ argument
615 # define SSL_heartbeat(ssl) \ argument
1331 # define SSL_set_tmp_dh(ssl,dh) \ argument
1817 void SSL_free(SSL *ssl);
1828 __owur int SSL_accept(SSL *ssl);
1830 __owur int SSL_connect(SSL *ssl);
1968 __owur SSL *SSL_dup(SSL *ssl);
[all …]
H A Dtls1.h264 # define SSL_set_tlsext_debug_arg(ssl, arg) \ argument
267 # define SSL_get_tlsext_status_type(ssl) \ argument
270 # define SSL_set_tlsext_status_type(ssl, type) \ argument
273 # define SSL_get_tlsext_status_exts(ssl, arg) \ argument
276 # define SSL_set_tlsext_status_exts(ssl, arg) \ argument
279 # define SSL_get_tlsext_status_ids(ssl, arg) \ argument
282 # define SSL_set_tlsext_status_ids(ssl, arg) \ argument
308 # define SSL_CTX_get_tlsext_status_cb(ssl, cb) \ argument
310 # define SSL_CTX_set_tlsext_status_cb(ssl, cb) \ argument
322 # define SSL_CTX_get_tlsext_status_type(ssl) \ argument
[all …]
/freebsd-13.1/contrib/wpa/src/crypto/
H A Dtls_openssl.c236 SSL *ssl; member
1043 data->ssl = ssl; in tls_init()
1122 SSL_CTX *ssl = data->ssl; in tls_deinit() local
1540 SSL_CTX *ssl = data->ssl; in tls_connection_init() local
1570 conn->ssl = SSL_new(ssl); in tls_connection_init()
2345 SSL *ssl; in tls_verify_cb() local
2963 SSL *ssl = conn->ssl; in tls_set_conn_flags() local
3486 ssl, in tls_parse_pkcs12()
3769 if (ssl) in tls_use_private_key_file()
4098 ssl = conn->ssl; in tls_connection_get_random()
[all …]
H A Dtls_wolfssl.c68 WOLFSSL *ssl; member
306 if (!conn->ssl) { in tls_connection_init()
334 wolfSSL_free(conn->ssl); in tls_connection_deinit()
956 WOLFSSL *ssl; in tls_verify_cb() local
1881 if (!conn || !conn->ssl) in tls_get_cipher()
1976 WOLFSSL *ssl; in tls_connection_get_random() local
1980 ssl = conn->ssl; in tls_connection_get_random()
1981 if (!ssl) in tls_connection_get_random()
2015 WOLFSSL *ssl; in tls_connection_get_eap_fast_key() local
2028 ssl = conn->ssl; in tls_connection_get_eap_fast_key()
[all …]
/freebsd-13.1/contrib/wpa/src/eap_server/
H A Deap_server_tls.c21 struct eap_ssl_data ssl; member
53 tls_connection_remove_session(data->ssl.conn); in eap_tls_state()
68 tls_connection_set_success_data(data->ssl.conn, buf); in eap_tls_valid_session()
127 if (eap_server_tls_ssl_init(sm, &data->ssl, 0, in eap_wfa_unauth_tls_init()
145 eap_server_tls_ssl_deinit(sm, &data->ssl); in eap_tls_reset()
176 if (data->ssl.state == FRAG_ACK) { in eap_tls_buildReq()
180 if (data->ssl.state == WAIT_FRAG_ACK) { in eap_tls_buildReq()
191 data->ssl.conn)) in eap_tls_buildReq()
265 if (eap_server_tls_phase1(sm, &data->ssl) < 0) { in eap_tls_process_msg()
335 if (data->ssl.tls_v13) { in eap_tls_getKey()
[all …]
H A Deap_server_peap.c33 struct eap_ssl_data ssl; member
333 if (data->ssl.tls_v13) { in eap_peap_derive_cmk()
515 if (!data->ssl.tls_v13 || in eap_peap_build_phase2_term()
518 data->ssl.tls_out_pos = 0; in eap_peap_build_phase2_term()
533 return data->ssl.tls_out; in eap_peap_build_phase2_term()
566 data->ssl.tls_out_pos = 0; in eap_peap_buildReq()
572 data->ssl.tls_out_pos = 0; in eap_peap_buildReq()
578 data->ssl.tls_out_pos = 0; in eap_peap_buildReq()
587 data->ssl.tls_out_pos = 0; in eap_peap_buildReq()
1369 if (data->ssl.tls_v13) { in eap_peap_getKey()
[all …]
/freebsd-13.1/usr.sbin/rpc.tlsservd/
H A Drpc.tlsservd.c360 SSL *ssl; in rpctlssd_connect_1_svc() local
377 if (ssl == NULL) { in rpctlssd_connect_1_svc()
410 newslp->ssl = ssl; in rpctlssd_connect_1_svc()
491 SSL_free(slp->ssl); in rpctlssd_disconnect_1_svc()
652 SSL *ssl; in rpctls_server() local
664 ssl = SSL_new(ctx); in rpctls_server()
665 if (ssl == NULL) { in rpctls_server()
671 SSL_free(ssl); in rpctls_server()
674 ret = SSL_accept(ssl); in rpctls_server()
678 SSL_free(ssl); in rpctls_server()
[all …]
/freebsd-13.1/contrib/unbound/smallapp/
H A Dunbound-control.c730 SSL* ssl; in setup_ssl() local
735 ssl = SSL_new(ctx); in setup_ssl()
736 if(!ssl) in setup_ssl()
740 if(!SSL_set_fd(ssl, fd)) in setup_ssl()
760 return ssl; in setup_ssl()
767 if(ssl) { in remote_read()
796 if(ssl) { in remote_write()
839 send_eof(SSL* ssl, int fd) in send_eof() argument
873 send_eof(ssl, fd); in go_cmd()
898 SSL* ssl; in go() local
[all …]
/freebsd-13.1/sys/rpc/rpcsec_tls/
H A Drpctls_impl.c120 uint64_t ssl[3]; in sys_rpctls_syscall() local
278 ssl[0] = ssl[1] = 0; in sys_rpctls_syscall()
414 *sslp = res.ssl; in rpctls_connect()
461 arg.ssl = ssl; in rpctls_cl_handlerecord()
487 arg.ssl = ssl; in rpctls_srv_handlerecord()
514 arg.ssl = ssl; in rpctls_cl_disconnect()
540 arg.ssl = ssl; in rpctls_srv_disconnect()
582 *sslp = res.ssl; in rpctls_server()
628 uint64_t ssl[3]; in _svcauth_rpcsec_tls() local
687 xprt->xp_sslsec = ssl[0]; in _svcauth_rpcsec_tls()
[all …]
/freebsd-13.1/contrib/wpa/src/eap_peer/
H A Deap_tls.c22 struct eap_ssl_data ssl; member
58 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, EAP_TYPE_TLS)) { in eap_tls_init()
94 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, in eap_unauth_tls_init()
121 if (eap_peer_tls_ssl_init(sm, &data->ssl, config, in eap_wfa_unauth_tls_init()
149 eap_peer_tls_ssl_deinit(sm, &data->ssl); in eap_tls_deinit()
189 if (data->ssl.tls_out) { in eap_tls_success()
194 if (data->ssl.tls_v13) { in eap_tls_success()
211 data->key_data = eap_peer_tls_derive_key(sm, &data->ssl, label, in eap_tls_success()
306 if (res == 2 && data->ssl.tls_v13 && wpabuf_len(resp) == 1 && in eap_tls_process()
309 eap_peer_tls_reset_output(&data->ssl); in eap_tls_process()
[all …]
/freebsd-13.1/crypto/openssl/doc/man3/
H A DSSL_CTX_use_certificate.pod20 #include <openssl/ssl.h>
25 int SSL_use_certificate(SSL *ssl, X509 *x);
30 int SSL_use_certificate_chain_file(SSL *ssl, const char *file);
39 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
42 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
47 int SSL_check_private_key(const SSL *ssl);
67 SSL_use_certificate() loads B<x> into B<ssl>. The rest of the
89 similar except it loads the certificate chain into B<ssl>.
120 key to B<ssl>.
128 RSA key found to B<ssl>.
[all …]
H 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)>
H A DSSL_free.pod9 #include <openssl/ssl.h>
11 void SSL_free(SSL *ssl);
15 SSL_free() decrements the reference count of B<ssl>, and removes the SSL
16 structure pointed to by B<ssl> and frees up the allocated memory if the
18 If B<ssl> is NULL nothing is done.
24 cipher lists specially created for this B<ssl>, the B<SSL_SESSION>.
29 The ssl session has reference counts from two users: the SSL object, for
43 L<ssl(7)>
H A DSSL_CTX_get_verify_mode.pod9 #include <openssl/ssl.h>
12 int SSL_get_verify_mode(const SSL *ssl);
14 int SSL_get_verify_depth(const SSL *ssl);
16 int (*SSL_get_verify_callback(const SSL *ssl))(int, X509_STORE_CTX *);
24 B<ssl>.
31 in B<ssl>. If no limit has been explicitly set, -1 is returned and the
39 callback currently set in B<ssl>. If no callback was explicitly set, the
48 L<ssl(7)>, L<SSL_CTX_set_verify(3)>
/freebsd-13.1/contrib/ldns/
H A Ddane.c607 SSL *ssl = NULL; in ldns_dane_verify_rr() local
652 !(ssl = SSL_new(ssl_ctx))) in ldns_dane_verify_rr()
675 SSL_get0_param(ssl)); in ldns_dane_verify_rr()
677 if (SSL_get_verify_callback(ssl)) in ldns_dane_verify_rr()
691 if (ssl) in ldns_dane_verify_rr()
692 SSL_free(ssl); in ldns_dane_verify_rr()
792 SSL *ssl = NULL; in ldns_dane_verify() local
852 !(ssl = SSL_new(ssl_ctx))) in ldns_dane_verify()
890 SSL_get0_param(ssl)); in ldns_dane_verify()
906 if (ssl) in ldns_dane_verify()
[all …]

12345678910>>...14