Lines Matching refs:SSL
28 static int ssl_undefined_function_1(SSL *ssl, SSL3_RECORD *r, size_t s, int t, in ssl_undefined_function_1()
34 static int ssl_undefined_function_2(SSL *ssl, SSL3_RECORD *r, unsigned char *s, in ssl_undefined_function_2()
40 static int ssl_undefined_function_3(SSL *ssl, unsigned char *r, in ssl_undefined_function_3()
46 static int ssl_undefined_function_4(SSL *ssl, int r) in ssl_undefined_function_4()
51 static size_t ssl_undefined_function_5(SSL *ssl, const char *r, size_t s, in ssl_undefined_function_5()
62 static int ssl_undefined_function_7(SSL *ssl, unsigned char *r, size_t s, in ssl_undefined_function_7()
85 SSL *s;
90 int (*func_read) (SSL *, void *, size_t, size_t *);
91 int (*func_write) (SSL *, const void *, size_t, size_t *);
92 int (*func_other) (SSL *);
188 static int ssl_dane_dup(SSL *to, SSL *from) in ssl_dane_dup()
561 static void clear_ciphers(SSL *s) in clear_ciphers()
569 int SSL_clear(SSL *s) in SSL_clear()
672 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
674 SSL *s; in SSL_new()
857 int SSL_is_dtls(const SSL *s) in SSL_is_dtls()
862 int SSL_up_ref(SSL *s) in SSL_up_ref()
887 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx, in SSL_set_session_id_context()
909 int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb) in SSL_set_generate_session_id()
918 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, in SSL_has_matching_session_id()
949 int SSL_set_purpose(SSL *s, int purpose) in SSL_set_purpose()
959 int SSL_set_trust(SSL *s, int trust) in SSL_set_trust()
964 int SSL_set1_host(SSL *s, const char *hostname) in SSL_set1_host()
974 int SSL_add1_host(SSL *s, const char *hostname) in SSL_add1_host()
1003 void SSL_set_hostflags(SSL *s, unsigned int flags) in SSL_set_hostflags()
1008 const char *SSL_get0_peername(SSL *s) in SSL_get0_peername()
1034 int SSL_dane_enable(SSL *s, const char *basedomain) in SSL_dane_enable()
1077 unsigned long SSL_dane_set_flags(SSL *ssl, unsigned long flags) in SSL_dane_set_flags()
1085 unsigned long SSL_dane_clear_flags(SSL *ssl, unsigned long flags) in SSL_dane_clear_flags()
1093 int SSL_get0_dane_authority(SSL *s, X509 **mcert, EVP_PKEY **mspki) in SSL_get0_dane_authority()
1108 int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector, in SSL_get0_dane_tlsa()
1130 SSL_DANE *SSL_get0_dane(SSL *s) in SSL_get0_dane()
1135 int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector, in SSL_dane_tlsa_add()
1152 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm) in SSL_set1_param()
1162 X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl) in SSL_get0_param()
1167 void SSL_certs_clear(SSL *s) in SSL_certs_clear()
1172 void SSL_free(SSL *s) in SSL_free()
1268 void SSL_set0_rbio(SSL *s, BIO *rbio) in SSL_set0_rbio()
1274 void SSL_set0_wbio(SSL *s, BIO *wbio) in SSL_set0_wbio()
1290 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) in SSL_set_bio()
1330 BIO *SSL_get_rbio(const SSL *s) in SSL_get_rbio()
1335 BIO *SSL_get_wbio(const SSL *s) in SSL_get_wbio()
1347 int SSL_get_fd(const SSL *s) in SSL_get_fd()
1352 int SSL_get_rfd(const SSL *s) in SSL_get_rfd()
1364 int SSL_get_wfd(const SSL *s) in SSL_get_wfd()
1377 int SSL_set_fd(SSL *s, int fd) in SSL_set_fd()
1404 int SSL_set_wfd(SSL *s, int fd) in SSL_set_wfd()
1434 int SSL_set_rfd(SSL *s, int fd) in SSL_set_rfd()
1458 size_t SSL_get_finished(const SSL *s, void *buf, size_t count) in SSL_get_finished()
1470 size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count) in SSL_get_peer_finished()
1481 int SSL_get_verify_mode(const SSL *s) in SSL_get_verify_mode()
1486 int SSL_get_verify_depth(const SSL *s) in SSL_get_verify_depth()
1491 int (*SSL_get_verify_callback(const SSL *s)) (int, X509_STORE_CTX *) { in SSL_get_verify_callback()
1509 void SSL_set_verify(SSL *s, int mode, in SSL_set_verify()
1517 void SSL_set_verify_depth(SSL *s, int depth) in SSL_set_verify_depth()
1522 void SSL_set_read_ahead(SSL *s, int yes) in SSL_set_read_ahead()
1527 int SSL_get_read_ahead(const SSL *s) in SSL_get_read_ahead()
1532 int SSL_pending(const SSL *s) in SSL_pending()
1549 int SSL_has_pending(const SSL *s) in SSL_has_pending()
1565 X509 *SSL_get1_peer_certificate(const SSL *s) in SSL_get1_peer_certificate()
1575 X509 *SSL_get0_peer_certificate(const SSL *s) in SSL_get0_peer_certificate()
1583 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s) in STACK_OF()
1604 int SSL_copy_session_id(SSL *t, const SSL *f) in SSL_copy_session_id()
1648 int SSL_check_private_key(const SSL *ssl) in SSL_check_private_key()
1666 int SSL_waiting_for_async(SSL *s) in SSL_waiting_for_async()
1674 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds()
1683 int SSL_get_changed_async_fds(SSL *s, OSSL_ASYNC_FD *addfd, size_t *numaddfds, in SSL_get_changed_async_fds()
1706 int SSL_set_async_callback(SSL *s, SSL_async_callback_fn callback) in SSL_set_async_callback()
1712 int SSL_set_async_callback_arg(SSL *s, void *arg) in SSL_set_async_callback_arg()
1718 int SSL_get_async_status(SSL *s, int *status) in SSL_get_async_status()
1728 int SSL_accept(SSL *s) in SSL_accept()
1738 int SSL_connect(SSL *s) in SSL_connect()
1748 long SSL_get_default_timeout(const SSL *s) in SSL_get_default_timeout()
1755 SSL *s = (SSL *)arg; in ssl_async_wait_ctx_cb()
1760 static int ssl_start_async_job(SSL *s, struct ssl_async_args *args, in ssl_start_async_job()
1799 SSL *s; in ssl_io_intern()
1818 int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_read_internal()
1859 int SSL_read(SSL *s, void *buf, int num) in SSL_read()
1881 int SSL_read_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_ex()
1890 int SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_early_data()
1944 int SSL_get_early_data_status(const SSL *s) in SSL_get_early_data_status()
1949 static int ssl_peek_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_peek_internal()
1977 int SSL_peek(SSL *s, void *buf, int num) in SSL_peek()
2000 int SSL_peek_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_peek_ex()
2009 int ssl_write_internal(SSL *s, const void *buf, size_t num, size_t *written) in ssl_write_internal()
2049 ossl_ssize_t SSL_sendfile(SSL *s, int fd, off_t offset, size_t size, int flags) in SSL_sendfile()
2113 int SSL_write(SSL *s, const void *buf, int num) in SSL_write()
2135 int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written) in SSL_write_ex()
2144 int SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written) in SSL_write_early_data()
2215 int SSL_shutdown(SSL *s) in SSL_shutdown()
2247 int SSL_key_update(SSL *s, int updatetype) in SSL_key_update()
2275 int SSL_get_key_update_type(const SSL *s) in SSL_get_key_update_type()
2284 static int can_renegotiate(const SSL *s) in can_renegotiate()
2299 int SSL_renegotiate(SSL *s) in SSL_renegotiate()
2309 int SSL_renegotiate_abbreviated(SSL *s) in SSL_renegotiate_abbreviated()
2319 int SSL_renegotiate_pending(const SSL *s) in SSL_renegotiate_pending()
2328 int SSL_new_session_ticket(SSL *s) in SSL_new_session_ticket()
2341 long SSL_ctrl(SSL *s, int cmd, long larg, void *parg) in SSL_ctrl()
2432 long SSL_callback_ctrl(SSL *s, int cmd, void (*fp) (void)) in SSL_callback_ctrl()
2438 const void *buf, size_t len, SSL *ssl, in SSL_callback_ctrl()
2576 const void *buf, size_t len, SSL *ssl, in SSL_CTX_callback_ctrl()
2606 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF()
2618 STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s) in STACK_OF()
2625 STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s) in STACK_OF()
2653 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF()
2666 const char *SSL_get_cipher_list(const SSL *s, int n) in SSL_get_cipher_list()
2736 int SSL_set_cipher_list(SSL *s, const char *str) in SSL_set_cipher_list()
2753 char *SSL_get_shared_ciphers(const SSL *s, char *buf, int size) in SSL_get_shared_ciphers()
2807 const char *SSL_get_servername(const SSL *s, const int type) in SSL_get_servername()
2873 int SSL_get_servername_type(const SSL *s) in SSL_get_servername_type()
2947 void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, in SSL_get0_next_proto_negotiated()
3045 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, in SSL_set_alpn_protos()
3091 void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data, in SSL_get0_alpn_selected()
3101 int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material()
3115 int SSL_export_keying_material_early(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material_early()
3492 void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb) in SSL_set_default_passwd_cb()
3497 void SSL_set_default_passwd_cb_userdata(SSL *s, void *u) in SSL_set_default_passwd_cb_userdata()
3502 pem_password_cb *SSL_get_default_passwd_cb(SSL *s) in SSL_get_default_passwd_cb()
3507 void *SSL_get_default_passwd_cb_userdata(SSL *s) in SSL_get_default_passwd_cb_userdata()
3532 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg), void *arg) in SSL_CTX_set_cert_cb()
3537 void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg) in SSL_set_cert_cb()
3542 void ssl_set_masks(SSL *s) in ssl_set_masks()
3646 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s) in ssl_check_srvr_ecc_cert_and_alg()
3658 int ssl_get_server_cert_serverinfo(SSL *s, const unsigned char **serverinfo, in ssl_get_server_cert_serverinfo()
3672 void ssl_update_cache(SSL *s, int mode) in ssl_update_cache()
3748 const SSL_METHOD *SSL_get_ssl_method(const SSL *s) in SSL_get_ssl_method()
3753 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *meth) in SSL_set_ssl_method()
3759 int (*hf) (SSL *) = s->handshake_func; in SSL_set_ssl_method()
3777 int SSL_get_error(const SSL *s, int i) in SSL_get_error()
3864 SSL *s; in ssl_do_handshake_intern()
3872 int SSL_do_handshake(SSL *s) in SSL_do_handshake()
3899 void SSL_set_accept_state(SSL *s) in SSL_set_accept_state()
3908 void SSL_set_connect_state(SSL *s) in SSL_set_connect_state()
3917 int ssl_undefined_function(SSL *s) in ssl_undefined_function()
3929 int ssl_undefined_const_function(const SSL *s) in ssl_undefined_const_function()
3973 const char *SSL_get_version(const SSL *s) in SSL_get_version()
4008 SSL *SSL_dup(SSL *s) in SSL_dup()
4010 SSL *ret; in SSL_dup()
4112 void ssl_clear_cipher_ctx(SSL *s) in ssl_clear_cipher_ctx()
4130 X509 *SSL_get_certificate(const SSL *s) in SSL_get_certificate()
4138 EVP_PKEY *SSL_get_privatekey(const SSL *s) in SSL_get_privatekey()
4162 const SSL_CIPHER *SSL_get_current_cipher(const SSL *s) in SSL_get_current_cipher()
4169 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s) in SSL_get_pending_cipher()
4174 const COMP_METHOD *SSL_get_current_compression(const SSL *s) in SSL_get_current_compression()
4183 const COMP_METHOD *SSL_get_current_expansion(const SSL *s) in SSL_get_current_expansion()
4192 int ssl_init_wbio_buffer(SSL *s) in ssl_init_wbio_buffer()
4213 int ssl_free_wbio_buffer(SSL *s) in ssl_free_wbio_buffer()
4236 void SSL_set_quiet_shutdown(SSL *s, int mode) in SSL_set_quiet_shutdown()
4241 int SSL_get_quiet_shutdown(const SSL *s) in SSL_get_quiet_shutdown()
4246 void SSL_set_shutdown(SSL *s, int mode) in SSL_set_shutdown()
4251 int SSL_get_shutdown(const SSL *s) in SSL_get_shutdown()
4256 int SSL_version(const SSL *s) in SSL_version()
4261 int SSL_client_version(const SSL *s) in SSL_client_version()
4266 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl) in SSL_get_SSL_CTX()
4271 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) in SSL_set_SSL_CTX()
4408 void SSL_set_info_callback(SSL *ssl, in SSL_set_info_callback()
4409 void (*cb) (const SSL *ssl, int type, int val)) in SSL_set_info_callback()
4418 void (*SSL_get_info_callback(const SSL *ssl)) (const SSL * /* ssl */ , in SSL_get_info_callback()
4424 void SSL_set_verify_result(SSL *ssl, long arg) in SSL_set_verify_result()
4429 long SSL_get_verify_result(const SSL *ssl) in SSL_get_verify_result()
4434 size_t SSL_get_client_random(const SSL *ssl, unsigned char *out, size_t outlen) in SSL_get_client_random()
4444 size_t SSL_get_server_random(const SSL *ssl, unsigned char *out, size_t outlen) in SSL_get_server_random()
4477 int SSL_set_ex_data(SSL *s, int idx, void *arg) in SSL_set_ex_data()
4482 void *SSL_get_ex_data(const SSL *s, int idx) in SSL_get_ex_data()
4515 int SSL_want(const SSL *s) in SSL_want()
4537 int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint) in SSL_use_psk_identity_hint()
4556 const char *SSL_get_psk_identity_hint(const SSL *s) in SSL_get_psk_identity_hint()
4563 const char *SSL_get_psk_identity(const SSL *s) in SSL_get_psk_identity()
4570 void SSL_set_psk_client_callback(SSL *s, SSL_psk_client_cb_func cb) in SSL_set_psk_client_callback()
4580 void SSL_set_psk_server_callback(SSL *s, SSL_psk_server_cb_func cb) in SSL_set_psk_server_callback()
4591 void SSL_set_psk_find_session_callback(SSL *s, SSL_psk_find_session_cb_func cb) in SSL_set_psk_find_session_callback()
4602 void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb) in SSL_set_psk_use_session_callback()
4616 size_t len, SSL *ssl, void *arg)) in SSL_CTX_set_msg_callback()
4621 void SSL_set_msg_callback(SSL *ssl, in SSL_set_msg_callback()
4624 size_t len, SSL *ssl, void *arg)) in SSL_set_msg_callback()
4630 int (*cb) (SSL *ssl, in SSL_CTX_set_not_resumable_session_callback()
4638 void SSL_set_not_resumable_session_callback(SSL *ssl, in SSL_set_not_resumable_session_callback()
4639 int (*cb) (SSL *ssl, in SSL_set_not_resumable_session_callback()
4647 size_t (*cb) (SSL *ssl, int type, in SSL_CTX_set_record_padding_callback()
4675 int SSL_set_record_padding_callback(SSL *ssl, in SSL_set_record_padding_callback()
4676 size_t (*cb) (SSL *ssl, int type, in SSL_set_record_padding_callback()
4689 void SSL_set_record_padding_callback_arg(SSL *ssl, void *arg) in SSL_set_record_padding_callback_arg()
4694 void *SSL_get_record_padding_callback_arg(const SSL *ssl) in SSL_get_record_padding_callback_arg()
4699 int SSL_set_block_padding(SSL *ssl, size_t block_size) in SSL_set_block_padding()
4711 int SSL_set_num_tickets(SSL *s, size_t num_tickets) in SSL_set_num_tickets()
4718 size_t SSL_get_num_tickets(const SSL *s) in SSL_get_num_tickets()
4762 int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen, in ssl_handshake_hash()
4795 int SSL_session_reused(const SSL *s) in SSL_session_reused()
4800 int SSL_is_server(const SSL *s) in SSL_is_server()
4806 void SSL_set_debug(SSL *s, int debug) in SSL_set_debug()
4814 void SSL_set_security_level(SSL *s, int level) in SSL_set_security_level()
4819 int SSL_get_security_level(const SSL *s) in SSL_get_security_level()
4824 void SSL_set_security_callback(SSL *s, in SSL_set_security_callback()
4825 int (*cb) (const SSL *s, const SSL_CTX *ctx, in SSL_set_security_callback()
4832 int (*SSL_get_security_callback(const SSL *s)) (const SSL *s, in SSL_get_security_callback()
4839 void SSL_set0_security_ex_data(SSL *s, void *ex) in SSL_set0_security_ex_data()
4844 void *SSL_get0_security_ex_data(const SSL *s) in SSL_get0_security_ex_data()
4860 int (*cb) (const SSL *s, const SSL_CTX *ctx, in SSL_CTX_set_security_callback()
4867 int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s, in SSL_CTX_get_security_callback()
4891 uint64_t SSL_get_options(const SSL *s) in SSL_get_options()
4901 uint64_t SSL_set_options(SSL *s, uint64_t op) in SSL_set_options()
4911 uint64_t SSL_clear_options(SSL *s, uint64_t op) in SSL_clear_options()
4916 STACK_OF(X509) *SSL_get0_verified_chain(const SSL *s) in STACK_OF()
4966 static int ct_extract_tls_extension_scts(SSL *s) in ct_extract_tls_extension_scts()
4990 static int ct_extract_ocsp_response_scts(SSL *s) in ct_extract_ocsp_response_scts()
5041 static int ct_extract_x509v3_extension_scts(SSL *s) in ct_extract_x509v3_extension_scts()
5064 const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s) in STACK_OF()
5102 int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback, in SSL_set_ct_validation_callback()
5149 int SSL_ct_is_enabled(const SSL *s) in SSL_ct_is_enabled()
5159 int ssl_validate_ct(SSL *s) in ssl_validate_ct()
5271 int SSL_enable_ct(SSL *s, int validation_mode) in SSL_enable_ct()
5314 int SSL_client_hello_isv2(SSL *s) in SSL_client_hello_isv2()
5321 unsigned int SSL_client_hello_get0_legacy_version(SSL *s) in SSL_client_hello_get0_legacy_version()
5328 size_t SSL_client_hello_get0_random(SSL *s, const unsigned char **out) in SSL_client_hello_get0_random()
5337 size_t SSL_client_hello_get0_session_id(SSL *s, const unsigned char **out) in SSL_client_hello_get0_session_id()
5346 size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out) in SSL_client_hello_get0_ciphers()
5355 size_t SSL_client_hello_get0_compression_methods(SSL *s, const unsigned char **out) in SSL_client_hello_get0_compression_methods()
5364 int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen) in SSL_client_hello_get1_extensions_present()
5402 int SSL_client_hello_get0_ext(SSL *s, unsigned int type, const unsigned char **out, in SSL_client_hello_get0_ext()
5423 int SSL_free_buffers(SSL *ssl) in SSL_free_buffers()
5434 int SSL_alloc_buffers(SSL *ssl) in SSL_alloc_buffers()
5450 SSL *ssl, in nss_keylog_int()
5502 int ssl_log_rsa_client_key_exchange(SSL *ssl, in ssl_log_rsa_client_key_exchange()
5522 int ssl_log_secret(SSL *ssl, in ssl_log_secret()
5537 int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format) in ssl_cache_cipherlist()
5602 int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len, in SSL_bytes_to_cipher_list()
5613 int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites, in bytes_to_cipher_list()
5711 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data) in SSL_set_max_early_data()
5718 uint32_t SSL_get_max_early_data(const SSL *s) in SSL_get_max_early_data()
5735 int SSL_set_recv_max_early_data(SSL *s, uint32_t recv_max_early_data) in SSL_set_recv_max_early_data()
5742 uint32_t SSL_get_recv_max_early_data(const SSL *s) in SSL_get_recv_max_early_data()
5747 __owur unsigned int ssl_get_max_send_fragment(const SSL *ssl) in ssl_get_max_send_fragment()
5757 __owur unsigned int ssl_get_split_send_fragment(const SSL *ssl) in ssl_get_split_send_fragment()
5772 int SSL_stateless(SSL *s) in SSL_stateless()
5800 void SSL_set_post_handshake_auth(SSL *ssl, int val) in SSL_set_post_handshake_auth()
5805 int SSL_verify_client_post_handshake(SSL *ssl) in SSL_verify_client_post_handshake()
5871 void SSL_set_allow_early_data_cb(SSL *s, in SSL_set_allow_early_data_cb()
5971 int SSL_set0_tmp_dh_pkey(SSL *s, EVP_PKEY *dhpkey) in SSL_set0_tmp_dh_pkey()