Home
last modified time | relevance | path

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

12345678910>>...29

/netbsd/crypto/external/bsd/openssl.old/dist/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 …]
/netbsd/crypto/external/bsd/openssl/dist/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 …]
/netbsd/crypto/external/bsd/openssl.old/dist/test/ossl_shim/
H A Dossl_shim.cc186 if (GetTestConfig(ssl)->async && !GetTestState(ssl)->cert_ready) { in ClientCertCallback()
321 if (!SSL_is_server(ssl) && in CertCallback()
344 if (!InstallCertificate(ssl)) { in CertCallback()
679 assert(GetTestConfig(ssl)->async); in RetryAsync()
698 switch (SSL_get_error(ssl, ret)) { in RetryAsync()
773 static int DoShutdown(SSL *ssl) { in DoShutdown() argument
777 ret = SSL_shutdown(ssl); in DoShutdown()
784 if (!SSL_is_dtls(ssl)) { in GetProtocolVersion()
903 if (!ssl) { in DoExchange()
1201 ret = DoShutdown(ssl.get()); in DoExchange()
[all …]
/netbsd/external/bsd/unbound/dist/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()
2462 RES* ssl; member
2521 arg.ssl = ssl; in do_dump_infra()
2860 RES* ssl; member
2915 a.ssl = ssl; in do_ratelimit_list()
2934 a.ssl = ssl; in do_ip_ratelimit_list()
3048 if(load_cache(ssl, worker)) send_ok(ssl); in execute_cmd()
[all …]
H A Dcachedump.c71 return ssl_printf(ssl, "BADRR\n"); in dump_rrset_line()
73 return ssl_printf(ssl, "%s", s); in dump_rrset_line()
300 if(!dump_msg_cache(ssl, worker)) in dump_cache()
302 return ssl_printf(ssl, "EOF\n"); in dump_cache()
332 if(!ssl_read_buf(ssl, buf)) in load_rr()
590 if(!ssl_read_buf(ssl, buf)) in load_ref()
785 if(!ssl_printf(ssl, "\n")) in print_dp_details()
806 if(!dump_rrset(ssl, k, d, 0)) in print_dp_main()
846 print_dp_main(ssl, dp, NULL); in print_deleg_lookup()
863 print_dp_main(ssl, dp, msg); in print_deleg_lookup()
[all …]
/netbsd/external/bsd/nsd/dist/
H A Dremote.c125 SSL* ssl; member
177 SSL* ssl; member
331 if(p->ssl) in daemon_remote_close()
720 if(s->ssl) { in clean_point()
878 send_ok(ssl); in do_stop()
886 send_ok(ssl); in do_log_reopen()
899 send_ok(ssl); in do_reload()
912 send_ok(ssl); in do_write()
2507 if(s->ssl) { in remote_control_callback()
2540 res.ssl = s->ssl; in remote_control_callback()
[all …]
H A Dnsd-control.c362 SSL* ssl; in setup_ssl() local
367 ssl = SSL_new(ctx); in setup_ssl()
368 if(!ssl) in setup_ssl()
370 SSL_set_connect_state(ssl); in setup_ssl()
372 if(!SSL_set_fd(ssl, fd)) in setup_ssl()
391 return ssl; in setup_ssl()
398 if(ssl) { in remote_read()
429 if(ssl) { in remote_write()
496 SSL* ssl; in go() local
515 ssl = setup_ssl(ctx, fd); in go()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/test/ssl-tests/
H A D02-protocol-version.conf688 [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 …]
H A D07-dtls-protocol-version.conf74 [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 …]
H A D14-curves.conf40 [0-curve-sect163k1-ssl]
68 [1-curve-sect163r1-ssl]
96 [2-curve-sect163r2-ssl]
124 [3-curve-sect193r1-ssl]
152 [4-curve-sect193r2-ssl]
180 [5-curve-sect233k1-ssl]
208 [6-curve-sect233r1-ssl]
236 [7-curve-sect239k1-ssl]
264 [8-curve-sect283k1-ssl]
824 [28-curve-X25519-ssl]
[all …]
/netbsd/crypto/external/bsd/openssl/dist/test/ssl-tests/
H 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 …]
H 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 …]
H A D14-curves.cnf90 [0-curve-prime256v1-ssl]
119 [1-curve-secp384r1-ssl]
148 [2-curve-secp521r1-ssl]
177 [3-curve-X25519-ssl]
206 [4-curve-X448-ssl]
235 [5-curve-sect233k1-ssl]
264 [6-curve-sect233r1-ssl]
293 [7-curve-sect283k1-ssl]
322 [8-curve-sect283r1-ssl]
351 [9-curve-sect409k1-ssl]
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/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 …]
/netbsd/external/bsd/wpa/dist/src/crypto/
H A Dtls_openssl.c236 SSL *ssl; member
1038 data->ssl = ssl; in tls_init()
1115 SSL_CTX *ssl = data->ssl; in tls_deinit() local
1533 SSL_CTX *ssl = data->ssl; in tls_connection_init() local
1563 conn->ssl = SSL_new(ssl); in tls_connection_init()
2302 SSL *ssl; in tls_verify_cb() local
2913 SSL *ssl = conn->ssl; in tls_set_conn_flags() local
3386 ssl, in tls_parse_pkcs12()
3669 if (ssl) in tls_use_private_key_file()
3964 ssl = conn->ssl; in tls_connection_get_random()
[all …]
H A Dtls_wolfssl.c67 WOLFSSL *ssl; member
305 if (!conn->ssl) { in tls_connection_init()
333 wolfSSL_free(conn->ssl); in tls_connection_deinit()
949 WOLFSSL *ssl; in tls_verify_cb() local
1874 if (!conn || !conn->ssl) in tls_get_cipher()
1969 WOLFSSL *ssl; in tls_connection_get_random() local
1973 ssl = conn->ssl; in tls_connection_get_random()
1974 if (!ssl) in tls_connection_get_random()
2008 WOLFSSL *ssl; in tls_connection_get_eap_fast_key() local
2021 ssl = conn->ssl; in tls_connection_get_eap_fast_key()
[all …]
/netbsd/crypto/external/bsd/openssl.old/dist/test/
H A Ddanetest.c76 SSL_get0_param(ssl)); in verify_chain()
77 store_ctx_dane_init(store_ctx, ssl); in verify_chain()
299 SSL *ssl; in test_tlsafile() local
327 SSL_set_connect_state(ssl); in test_tlsafile()
329 SSL_free(ssl); in test_tlsafile()
337 SSL_free(ssl); in test_tlsafile()
345 SSL_free(ssl); in test_tlsafile()
349 ok = verify_chain(ssl, chain); in test_tlsafile()
351 err = SSL_get_verify_result(ssl); in test_tlsafile()
360 SSL_set_verify_result(ssl, err); in test_tlsafile()
[all …]
H A Dhandshake_helper.c749 SSL *ssl; member
763 SSL *ssl = NULL; in create_peer() local
766 if (!TEST_ptr(ssl = SSL_new(ctx)) in create_peer()
771 peer->ssl = ssl; in create_peer()
777 SSL_free(ssl); in create_peer()
785 SSL_free(peer->ssl); in peer_free_data()
973 if (SSL_is_server(peer->ssl) in do_reneg_setup_step()
1034 if (!SSL_in_init(peer->ssl)) in do_reneg_setup_step()
1065 ret = SSL_shutdown(peer->ssl); in do_shutdown_step()
1486 configure_handshake_ssl(server.ssl, client.ssl, extra); in do_handshake_internal()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/test/
H 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 …]
/netbsd/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dssl.h596 # define SSL_clear_mode(ssl,op) \ argument
598 # define SSL_set_mode(ssl,op) \ argument
600 # define SSL_get_mode(ssl) \ argument
602 # define SSL_set_mtu(ssl, mtu) \ argument
613 # define SSL_heartbeat(ssl) \ argument
1331 # define SSL_set_tmp_dh(ssl,dh) \ argument
1825 void SSL_free(SSL *ssl);
1836 __owur int SSL_accept(SSL *ssl);
1838 __owur int SSL_connect(SSL *ssl);
1974 __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 …]
/netbsd/external/bsd/wpa/dist/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()
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()
264 if (eap_server_tls_phase1(sm, &data->ssl) < 0) { in eap_tls_process_msg()
269 if (data->ssl.tls_v13 && in eap_tls_process_msg()
296 wpabuf_put_buf(data->ssl.tls_out, encr); in eap_tls_process_msg()
367 if (data->ssl.tls_v13) { in eap_tls_getKey()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/test/helpers/
H A Dhandshake.c309 SSL *ssl; in verify_retry_cb() local
319 return SSL_set_retry_verify(ssl); in verify_retry_cb()
721 SSL *ssl; member
735 SSL *ssl = NULL; in create_peer() local
743 peer->ssl = ssl; in create_peer()
749 SSL_free(ssl); in create_peer()
757 SSL_free(peer->ssl); in peer_free_data()
955 if (SSL_is_server(peer->ssl) in do_reneg_setup_step()
1016 if (!SSL_in_init(peer->ssl)) in do_reneg_setup_step()
1047 ret = SSL_shutdown(peer->ssl); in do_shutdown_step()
[all …]
/netbsd/external/bsd/unbound/dist/testcode/
H A Dstreamtcp.c159 if(ssl) { in write_q()
177 if(ssl) { in write_q()
207 if(ssl) { in recv_one()
236 if(ssl) { in recv_one()
314 recv_one(fd, udp, ssl, buf); in print_any_answers()
336 SSL* ssl = NULL; in send_em() local
341 ssl = outgoing_ssl_fd(ctx, fd); in send_em()
348 r = SSL_get_error(ssl, r); in send_em()
380 recv_one(fd, udp, ssl, buf); in send_em()
387 SSL_shutdown(ssl); in send_em()
[all …]
/netbsd/crypto/external/bsd/openssl/dist/include/openssl/
H 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 …]

12345678910>>...29