Home
last modified time | relevance | path

Searched defs:ssl (Results 1 – 25 of 80) sorted by relevance

1234

/openssl/ssl/quic/
H A Dquic_local.h36 struct ssl_st ssl; member
130 struct ssl_st ssl; member
274 # define QUIC_CONNECTION_FROM_SSL_int(ssl, c) \ argument
300 # define QUIC_XSO_FROM_SSL_int(ssl, c) NULL argument
302 # define IS_QUIC(ssl) 0 argument
307 # define QUIC_CONNECTION_FROM_SSL(ssl) \ argument
309 # define QUIC_CONNECTION_FROM_CONST_SSL(ssl) \ argument
311 # define QUIC_XSO_FROM_SSL(ssl) \ argument
313 # define QUIC_XSO_FROM_CONST_SSL(ssl) \ argument
315 # define SSL_CONNECTION_FROM_QUIC_SSL(ssl) \ argument
[all …]
/openssl/doc/designs/ddd/
H A Dddd-03-fd-blocking.c52 SSL *ssl; in new_conn() local
94 int tx(SSL *ssl, const void *buf, int buf_len) in tx()
103 int rx(SSL *ssl, void *buf, int buf_len) in rx()
112 void teardown(SSL *ssl) in teardown()
142 SSL *ssl = NULL; in main() local
/openssl/ssl/
H A Dd1_lib.c64 int dtls1_new(SSL *ssl) in dtls1_new()
151 void dtls1_free(SSL *ssl) in dtls1_free()
172 int dtls1_clear(SSL *ssl) in dtls1_clear()
229 long dtls1_ctrl(SSL *ssl, int cmd, long larg, void *parg) in dtls1_ctrl()
281 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_start_timer() local
369 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_check_timeout_num() local
418 int DTLSv1_listen(SSL *ssl, BIO_ADDR *client) in DTLSv1_listen()
889 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_query_mtu() local
927 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_min_mtu() local
932 size_t DTLS_get_data_mtu(const SSL *ssl) in DTLS_get_data_mtu()
[all …]
H A Dbio_ssl.c27 SSL *ssl; /* The ssl handle :-) */ member
97 SSL *ssl; in ssl_read() local
167 SSL *ssl; in ssl_write() local
227 SSL **sslp, *ssl; in ssl_ctrl() local
410 SSL *ssl; in ssl_callback_ctrl() local
439 BIO *ret = NULL, *buf = NULL, *ssl = NULL; in BIO_new_buffer_ssl_connect() local
464 BIO *ret = NULL, *con = NULL, *ssl = NULL; in BIO_new_ssl_connect() local
490 SSL *ssl; in BIO_new_ssl() local
H A Ds3_msg.c15 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl3_do_change_cipher_spec() local
46 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl3_send_alert() local
H A Dssl_cert_comp.c194 static size_t ssl_get_cert_to_compress(SSL *ssl, CERT_PKEY *cpk, unsigned char **data) in ssl_get_cert_to_compress()
232 static int ssl_compress_one_cert(SSL *ssl, CERT_PKEY *cpk, int alg) in ssl_compress_one_cert()
256 static int ssl_compress_certs(SSL *ssl, CERT_PKEY *cpks, int alg_in) in ssl_compress_certs()
300 static size_t ssl_get_compressed_cert(SSL *ssl, CERT_PKEY *cpk, int alg, unsigned char **data, in ssl_get_compressed_cert()
369 int SSL_set1_cert_comp_preference(SSL *ssl, int *algs, size_t len) in SSL_set1_cert_comp_preference()
382 int SSL_compress_certs(SSL *ssl, int alg) in SSL_compress_certs()
410 size_t SSL_get1_compressed_cert(SSL *ssl, int alg, unsigned char **data, size_t *orig_len) in SSL_get1_compressed_cert()
451 int SSL_set1_compressed_cert(SSL *ssl, int algorithm, unsigned char *comp_data, in SSL_set1_compressed_cert()
H A Dssl_rsa_legacy.c17 int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa) in SSL_use_RSAPrivateKey()
43 int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file, int type) in SSL_use_RSAPrivateKey_file()
87 int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const unsigned char *d, long len) in SSL_use_RSAPrivateKey_ASN1()
H A Dtls_depr.c70 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in tls_engine_load_ssl_client_cert() local
198 void SSL_CTX_set_tmp_dh_callback(SSL_CTX *ctx, in SSL_CTX_set_tmp_dh_callback()
205 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh) (SSL *ssl, int is_export, in SSL_set_tmp_dh_callback()
H A Dssl_sess.c61 SSL_SESSION *SSL_get_session(const SSL *ssl) in SSL_get_session()
72 SSL_SESSION *SSL_get1_session(SSL *ssl) in SSL_get1_session()
354 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl_generate_session_id() local
1344 void SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, in SSL_CTX_sess_set_new_cb()
1365 void SSL_CTX_sess_set_get_cb(SSL_CTX *ctx, in SSL_CTX_sess_set_get_cb()
1380 void SSL_CTX_set_info_callback(SSL_CTX *ctx, in SSL_CTX_set_info_callback()
1391 void SSL_CTX_set_client_cert_cb(SSL_CTX *ctx, in SSL_CTX_set_client_cert_cb()
1403 void SSL_CTX_set_cookie_generate_cb(SSL_CTX *ctx, in SSL_CTX_set_cookie_generate_cb()
1411 void SSL_CTX_set_cookie_verify_cb(SSL_CTX *ctx, in SSL_CTX_set_cookie_verify_cb()
1442 void SSL_CTX_set_stateless_cookie_generate_cb( in SSL_CTX_set_stateless_cookie_generate_cb()
[all …]
H A Dssl_rsa.c31 int SSL_use_certificate(SSL *ssl, X509 *x) in SSL_use_certificate()
53 int SSL_use_certificate_file(SSL *ssl, const char *file, int type) in SSL_use_certificate_file()
110 int SSL_use_certificate_ASN1(SSL *ssl, const unsigned char *d, int len) in SSL_use_certificate_ASN1()
152 int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey) in SSL_use_PrivateKey()
168 int SSL_use_PrivateKey_file(SSL *ssl, const char *file, int type) in SSL_use_PrivateKey_file()
220 int SSL_use_PrivateKey_ASN1(int type, SSL *ssl, const unsigned char *d, in SSL_use_PrivateKey_ASN1()
457 static int use_certificate_chain_file(SSL_CTX *ctx, SSL *ssl, const char *file) in use_certificate_chain_file()
586 int SSL_use_certificate_chain_file(SSL *ssl, const char *file) in SSL_use_certificate_chain_file()
970 static int ssl_set_cert_and_key(SSL *ssl, SSL_CTX *ctx, X509 *x509, EVP_PKEY *privatekey, in ssl_set_cert_and_key()
1074 int SSL_use_cert_and_key(SSL *ssl, X509 *x509, EVP_PKEY *privatekey, in SSL_use_cert_and_key()
H A Dd1_msg.c39 int dtls1_dispatch_alert(SSL *ssl) in dtls1_dispatch_alert()
/openssl/demos/guide/
H A Dquic-hq-interop.c211 static void wait_for_activity(SSL *ssl) in wait_for_activity()
285 static int handle_io_failure(SSL *ssl, int res) in handle_io_failure()
366 static int cache_new_session(struct ssl_st *ssl, SSL_SESSION *sess) in cache_new_session()
400 static int setup_session_cache(SSL *ssl, SSL_CTX *ctx, const char *filename) in setup_session_cache()
526 static size_t build_request_set(SSL *ssl) in build_request_set()
686 SSL_CTX **ctx, SSL **ssl) in setup_connection()
843 SSL *ssl = NULL; in main() local
H A Dtls-client-non-block.c103 static void wait_for_activity(SSL *ssl, int write) in wait_for_activity()
138 static int handle_io_failure(SSL *ssl, int res) in handle_io_failure()
180 SSL *ssl = NULL; in main() local
H A Dquic-client-non-block.c112 static void wait_for_activity(SSL *ssl) in wait_for_activity()
165 static int handle_io_failure(SSL *ssl, int res) in handle_io_failure()
227 SSL *ssl = NULL; in main() local
/openssl/test/
H A Ddtlsv1listentest.c262 static int cookie_gen(SSL *ssl, unsigned char *cookie, unsigned int *cookie_len) in cookie_gen()
273 static int cookie_verify(SSL *ssl, const unsigned char *cookie, in cookie_verify()
292 SSL *ssl = NULL; in dtls_listen_test() local
H A Ddanetest.c55 static int verify_chain(SSL *ssl, STACK_OF(X509) *chain) in verify_chain()
243 static int tlsa_import_rr(SSL *ssl, const char *rrdata) in tlsa_import_rr()
296 SSL *ssl; in test_tlsafile() local
427 static void store_ctx_dane_init(X509_STORE_CTX *store_ctx, SSL *ssl) in store_ctx_dane_init()
H A Ddtls_mtu_test.c25 static unsigned int clnt_psk_callback(SSL *ssl, const char *hint, in clnt_psk_callback()
39 static unsigned int srvr_psk_callback(SSL *ssl, const char *identity, in srvr_psk_callback()
H A Dcert_comp_test.c40 static int client_cert_cb(SSL *ssl, X509 **x509, EVP_PKEY **pkey) in client_cert_cb()
88 static int ssl_comp_cert(SSL *ssl, int alg) in ssl_comp_cert()
/openssl/ssl/statem/
H A Dstatem_lib.c65 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl3_do_write() local
142 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in tls_setup_handshake() local
614 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in tls_construct_finished() local
755 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl3_take_mac() local
836 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in tls_process_finished() local
1538 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in tls_get_message_header() local
1647 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in tls_get_message_body() local
2017 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl_check_version_downgrade() local
2152 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl_choose_server_version() local
2302 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl_choose_client_version() local
[all …]
H A Dstatem_dtls.c116 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_do_write() local
603 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_reassemble_fragment() local
713 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_process_out_of_seq_message() local
811 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls_get_reassembled_message() local
1019 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls_wait_for_dry() local
1053 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in dtls1_read_failed() local
H A Dstatem.c73 OSSL_HANDSHAKE_STATE SSL_get_state(const SSL *ssl) in SSL_get_state()
361 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in state_machine() local
596 SSL *ssl = SSL_CONNECTION_GET_USER_SSL(s); in read_state_machine() local
819 SSL *ssl = SSL_CONNECTION_GET_USER_SSL(s); in write_state_machine() local
/openssl/include/openssl/
H A Dssl.h.in611 # define SSL_clear_mode(ssl,op) \ argument
613 # define SSL_set_mode(ssl,op) \ argument
615 # define SSL_get_mode(ssl) \ argument
617 # define SSL_set_mtu(ssl, mtu) \ argument
619 # define DTLS_set_link_mtu(ssl, mtu) \ argument
621 # define DTLS_get_link_min_mtu(ssl) \ argument
1344 # define DTLSv1_handle_timeout(ssl) \ argument
1346 # define SSL_num_renegotiations(ssl) \ argument
1361 # define SSL_set_tmp_dh(ssl,dh) \ argument
2182 # define SSL_get_max_cert_list(ssl) \ argument
[all …]
/openssl/demos/bio/
H A Dclient-arg.c21 SSL *ssl; in main() local
H A Dclient-conf.c22 SSL *ssl = NULL; in main() local
/openssl/ssl/record/
H A Drec_layer_s3.c270 int ssl3_write_bytes(SSL *ssl, uint8_t type, const void *buf_, size_t len, in ssl3_write_bytes()
492 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ossl_tls_handle_rlayer_return() local
614 int ssl3_read_bytes(SSL *ssl, uint8_t type, uint8_t *recvd_type, in ssl3_read_bytes()
1134 SSL *ssl = SSL_CONNECTION_GET_USER_SSL(s); in rlayer_msg_callback_wrapper() local
1154 SSL *ssl = SSL_CONNECTION_GET_USER_SSL(s); in rlayer_padding_wrapper() local
1218 SSL *ssl = SSL_CONNECTION_GET_SSL(s); in ssl_post_record_layer_select() local

Completed in 61 milliseconds

1234