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()
36 static int ssl_undefined_function_2(SSL *ssl, SSL3_RECORD *r, unsigned char *s, in ssl_undefined_function_2()
45 static int ssl_undefined_function_3(SSL *ssl, unsigned char *r, in ssl_undefined_function_3()
55 static int ssl_undefined_function_4(SSL *ssl, int r) in ssl_undefined_function_4()
61 static size_t ssl_undefined_function_5(SSL *ssl, const char *r, size_t s, in ssl_undefined_function_5()
76 static int ssl_undefined_function_7(SSL *ssl, unsigned char *r, size_t s, in ssl_undefined_function_7()
106 SSL *s;
111 int (*func_read) (SSL *, void *, size_t, size_t *);
112 int (*func_write) (SSL *, const void *, size_t, size_t *);
113 int (*func_other) (SSL *);
209 static int ssl_dane_dup(SSL *to, SSL *from) in ssl_dane_dup()
569 static void clear_ciphers(SSL *s) in clear_ciphers()
577 int SSL_clear(SSL *s) in SSL_clear()
678 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
680 SSL *s; in SSL_new()
861 int SSL_is_dtls(const SSL *s) in SSL_is_dtls()
866 int SSL_up_ref(SSL *s) in SSL_up_ref()
892 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx, in SSL_set_session_id_context()
914 int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb) in SSL_set_generate_session_id()
922 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, in SSL_has_matching_session_id()
952 int SSL_set_purpose(SSL *s, int purpose) in SSL_set_purpose()
962 int SSL_set_trust(SSL *s, int trust) in SSL_set_trust()
967 int SSL_set1_host(SSL *s, const char *hostname) in SSL_set1_host()
972 int SSL_add1_host(SSL *s, const char *hostname) in SSL_add1_host()
977 void SSL_set_hostflags(SSL *s, unsigned int flags) in SSL_set_hostflags()
982 const char *SSL_get0_peername(SSL *s) in SSL_get0_peername()
1008 int SSL_dane_enable(SSL *s, const char *basedomain) in SSL_dane_enable()
1051 unsigned long SSL_dane_set_flags(SSL *ssl, unsigned long flags) in SSL_dane_set_flags()
1059 unsigned long SSL_dane_clear_flags(SSL *ssl, unsigned long flags) in SSL_dane_clear_flags()
1067 int SSL_get0_dane_authority(SSL *s, X509 **mcert, EVP_PKEY **mspki) in SSL_get0_dane_authority()
1082 int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector, in SSL_get0_dane_tlsa()
1104 SSL_DANE *SSL_get0_dane(SSL *s) in SSL_get0_dane()
1109 int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector, in SSL_dane_tlsa_add()
1126 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm) in SSL_set1_param()
1136 X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl) in SSL_get0_param()
1141 void SSL_certs_clear(SSL *s) in SSL_certs_clear()
1146 void SSL_free(SSL *s) in SSL_free()
1242 void SSL_set0_rbio(SSL *s, BIO *rbio) in SSL_set0_rbio()
1248 void SSL_set0_wbio(SSL *s, BIO *wbio) in SSL_set0_wbio()
1264 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) in SSL_set_bio()
1304 BIO *SSL_get_rbio(const SSL *s) in SSL_get_rbio()
1309 BIO *SSL_get_wbio(const SSL *s) in SSL_get_wbio()
1321 int SSL_get_fd(const SSL *s) in SSL_get_fd()
1326 int SSL_get_rfd(const SSL *s) in SSL_get_rfd()
1338 int SSL_get_wfd(const SSL *s) in SSL_get_wfd()
1351 int SSL_set_fd(SSL *s, int fd) in SSL_set_fd()
1369 int SSL_set_wfd(SSL *s, int fd) in SSL_set_wfd()
1390 int SSL_set_rfd(SSL *s, int fd) in SSL_set_rfd()
1414 size_t SSL_get_finished(const SSL *s, void *buf, size_t count) in SSL_get_finished()
1428 size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count) in SSL_get_peer_finished()
1441 int SSL_get_verify_mode(const SSL *s) in SSL_get_verify_mode()
1446 int SSL_get_verify_depth(const SSL *s) in SSL_get_verify_depth()
1451 int (*SSL_get_verify_callback(const SSL *s)) (int, X509_STORE_CTX *) { in SSL_get_verify_callback()
1469 void SSL_set_verify(SSL *s, int mode, in SSL_set_verify()
1477 void SSL_set_verify_depth(SSL *s, int depth) in SSL_set_verify_depth()
1482 void SSL_set_read_ahead(SSL *s, int yes) in SSL_set_read_ahead()
1487 int SSL_get_read_ahead(const SSL *s) in SSL_get_read_ahead()
1492 int SSL_pending(const SSL *s) in SSL_pending()
1509 int SSL_has_pending(const SSL *s) in SSL_has_pending()
1525 X509 *SSL_get_peer_certificate(const SSL *s) in SSL_get_peer_certificate()
1542 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s) in STACK_OF()
1563 int SSL_copy_session_id(SSL *t, const SSL *f) in SSL_copy_session_id()
1607 int SSL_check_private_key(const SSL *ssl) in SSL_check_private_key()
1625 int SSL_waiting_for_async(SSL *s) in SSL_waiting_for_async()
1633 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds()
1642 int SSL_get_changed_async_fds(SSL *s, OSSL_ASYNC_FD *addfd, size_t *numaddfds, in SSL_get_changed_async_fds()
1653 int SSL_accept(SSL *s) in SSL_accept()
1663 int SSL_connect(SSL *s) in SSL_connect()
1673 long SSL_get_default_timeout(const SSL *s) in SSL_get_default_timeout()
1678 static int ssl_start_async_job(SSL *s, struct ssl_async_args *args, in ssl_start_async_job()
1715 SSL *s; in ssl_io_intern()
1734 int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_read_internal()
1775 int SSL_read(SSL *s, void *buf, int num) in SSL_read()
1797 int SSL_read_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_ex()
1806 int SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_early_data()
1861 int SSL_get_early_data_status(const SSL *s) in SSL_get_early_data_status()
1866 static int ssl_peek_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_peek_internal()
1894 int SSL_peek(SSL *s, void *buf, int num) in SSL_peek()
1917 int SSL_peek_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_peek_ex()
1926 int ssl_write_internal(SSL *s, const void *buf, size_t num, size_t *written) in ssl_write_internal()
1966 int SSL_write(SSL *s, const void *buf, int num) in SSL_write()
1988 int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written) in SSL_write_ex()
1997 int SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written) in SSL_write_early_data()
2069 int SSL_shutdown(SSL *s) in SSL_shutdown()
2101 int SSL_key_update(SSL *s, int updatetype) in SSL_key_update()
2134 int SSL_get_key_update_type(const SSL *s) in SSL_get_key_update_type()
2139 int SSL_renegotiate(SSL *s) in SSL_renegotiate()
2157 int SSL_renegotiate_abbreviated(SSL *s) in SSL_renegotiate_abbreviated()
2175 int SSL_renegotiate_pending(const SSL *s) in SSL_renegotiate_pending()
2184 long SSL_ctrl(SSL *s, int cmd, long larg, void *parg) in SSL_ctrl()
2274 long SSL_callback_ctrl(SSL *s, int cmd, void (*fp) (void)) in SSL_callback_ctrl()
2280 const void *buf, size_t len, SSL *ssl, in SSL_callback_ctrl()
2420 const void *buf, size_t len, SSL *ssl, in SSL_CTX_callback_ctrl()
2450 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF()
2462 STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s) in STACK_OF()
2469 STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s) in STACK_OF()
2497 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF()
2510 const char *SSL_get_cipher_list(const SSL *s, int n) in SSL_get_cipher_list()
2580 int SSL_set_cipher_list(SSL *s, const char *str) in SSL_set_cipher_list()
2597 char *SSL_get_shared_ciphers(const SSL *s, char *buf, int size) in SSL_get_shared_ciphers()
2651 const char *SSL_get_servername(const SSL *s, const int type) in SSL_get_servername()
2717 int SSL_get_servername_type(const SSL *s) in SSL_get_servername_type()
2791 void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, in SSL_get0_next_proto_negotiated()
2889 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, in SSL_set_alpn_protos()
2935 void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data, in SSL_get0_alpn_selected()
2947 int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material()
2961 int SSL_export_keying_material_early(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material_early()
3301 void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb) in SSL_set_default_passwd_cb()
3306 void SSL_set_default_passwd_cb_userdata(SSL *s, void *u) in SSL_set_default_passwd_cb_userdata()
3311 pem_password_cb *SSL_get_default_passwd_cb(SSL *s) in SSL_get_default_passwd_cb()
3316 void *SSL_get_default_passwd_cb_userdata(SSL *s) in SSL_get_default_passwd_cb_userdata()
3341 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg), void *arg) in SSL_CTX_set_cert_cb()
3346 void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg) in SSL_set_cert_cb()
3351 void ssl_set_masks(SSL *s) in ssl_set_masks()
3468 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s) in ssl_check_srvr_ecc_cert_and_alg()
3483 int ssl_get_server_cert_serverinfo(SSL *s, const unsigned char **serverinfo, in ssl_get_server_cert_serverinfo()
3497 void ssl_update_cache(SSL *s, int mode) in ssl_update_cache()
3573 const SSL_METHOD *SSL_get_ssl_method(const SSL *s) in SSL_get_ssl_method()
3578 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *meth) in SSL_set_ssl_method()
3584 int (*hf) (SSL *) = s->handshake_func; in SSL_set_ssl_method()
3602 int SSL_get_error(const SSL *s, int i) in SSL_get_error()
3687 SSL *s; in ssl_do_handshake_intern()
3695 int SSL_do_handshake(SSL *s) in SSL_do_handshake()
3722 void SSL_set_accept_state(SSL *s) in SSL_set_accept_state()
3731 void SSL_set_connect_state(SSL *s) in SSL_set_connect_state()
3740 int ssl_undefined_function(SSL *s) in ssl_undefined_function()
3753 int ssl_undefined_const_function(const SSL *s) in ssl_undefined_const_function()
3797 const char *SSL_get_version(const SSL *s) in SSL_get_version()
3832 SSL *SSL_dup(SSL *s) in SSL_dup()
3834 SSL *ret; in SSL_dup()
3936 void ssl_clear_cipher_ctx(SSL *s) in ssl_clear_cipher_ctx()
3954 X509 *SSL_get_certificate(const SSL *s) in SSL_get_certificate()
3962 EVP_PKEY *SSL_get_privatekey(const SSL *s) in SSL_get_privatekey()
3986 const SSL_CIPHER *SSL_get_current_cipher(const SSL *s) in SSL_get_current_cipher()
3993 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s) in SSL_get_pending_cipher()
3998 const COMP_METHOD *SSL_get_current_compression(const SSL *s) in SSL_get_current_compression()
4007 const COMP_METHOD *SSL_get_current_expansion(const SSL *s) in SSL_get_current_expansion()
4016 int ssl_init_wbio_buffer(SSL *s) in ssl_init_wbio_buffer()
4037 int ssl_free_wbio_buffer(SSL *s) in ssl_free_wbio_buffer()
4060 void SSL_set_quiet_shutdown(SSL *s, int mode) in SSL_set_quiet_shutdown()
4065 int SSL_get_quiet_shutdown(const SSL *s) in SSL_get_quiet_shutdown()
4070 void SSL_set_shutdown(SSL *s, int mode) in SSL_set_shutdown()
4075 int SSL_get_shutdown(const SSL *s) in SSL_get_shutdown()
4080 int SSL_version(const SSL *s) in SSL_version()
4085 int SSL_client_version(const SSL *s) in SSL_client_version()
4090 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl) in SSL_get_SSL_CTX()
4095 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) in SSL_set_SSL_CTX()
4184 void SSL_set_info_callback(SSL *ssl, in SSL_set_info_callback()
4185 void (*cb) (const SSL *ssl, int type, int val)) in SSL_set_info_callback()
4194 void (*SSL_get_info_callback(const SSL *ssl)) (const SSL * /* ssl */ , in SSL_get_info_callback()
4200 void SSL_set_verify_result(SSL *ssl, long arg) in SSL_set_verify_result()
4205 long SSL_get_verify_result(const SSL *ssl) in SSL_get_verify_result()
4210 size_t SSL_get_client_random(const SSL *ssl, unsigned char *out, size_t outlen) in SSL_get_client_random()
4220 size_t SSL_get_server_random(const SSL *ssl, unsigned char *out, size_t outlen) in SSL_get_server_random()
4253 int SSL_set_ex_data(SSL *s, int idx, void *arg) in SSL_set_ex_data()
4258 void *SSL_get_ex_data(const SSL *s, int idx) in SSL_get_ex_data()
4291 int SSL_want(const SSL *s) in SSL_want()
4304 DH *(*dh) (SSL *ssl, int is_export, in SSL_CTX_set_tmp_dh_callback()
4310 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh) (SSL *ssl, int is_export, in SSL_set_tmp_dh_callback()
4334 int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint) in SSL_use_psk_identity_hint()
4353 const char *SSL_get_psk_identity_hint(const SSL *s) in SSL_get_psk_identity_hint()
4360 const char *SSL_get_psk_identity(const SSL *s) in SSL_get_psk_identity()
4367 void SSL_set_psk_client_callback(SSL *s, SSL_psk_client_cb_func cb) in SSL_set_psk_client_callback()
4377 void SSL_set_psk_server_callback(SSL *s, SSL_psk_server_cb_func cb) in SSL_set_psk_server_callback()
4388 void SSL_set_psk_find_session_callback(SSL *s, SSL_psk_find_session_cb_func cb) in SSL_set_psk_find_session_callback()
4399 void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb) in SSL_set_psk_use_session_callback()
4413 size_t len, SSL *ssl, void *arg)) in SSL_CTX_set_msg_callback()
4418 void SSL_set_msg_callback(SSL *ssl, in SSL_set_msg_callback()
4421 size_t len, SSL *ssl, void *arg)) in SSL_set_msg_callback()
4427 int (*cb) (SSL *ssl, in SSL_CTX_set_not_resumable_session_callback()
4435 void SSL_set_not_resumable_session_callback(SSL *ssl, in SSL_set_not_resumable_session_callback()
4436 int (*cb) (SSL *ssl, in SSL_set_not_resumable_session_callback()
4444 size_t (*cb) (SSL *ssl, int type, in SSL_CTX_set_record_padding_callback()
4472 void SSL_set_record_padding_callback(SSL *ssl, in SSL_set_record_padding_callback()
4473 size_t (*cb) (SSL *ssl, int type, in SSL_set_record_padding_callback()
4479 void SSL_set_record_padding_callback_arg(SSL *ssl, void *arg) in SSL_set_record_padding_callback_arg()
4484 void *SSL_get_record_padding_callback_arg(const SSL *ssl) in SSL_get_record_padding_callback_arg()
4489 int SSL_set_block_padding(SSL *ssl, size_t block_size) in SSL_set_block_padding()
4501 int SSL_set_num_tickets(SSL *s, size_t num_tickets) in SSL_set_num_tickets()
4508 size_t SSL_get_num_tickets(const SSL *s) in SSL_get_num_tickets()
4552 int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen, in ssl_handshake_hash()
4588 int SSL_session_reused(const SSL *s) in SSL_session_reused()
4593 int SSL_is_server(const SSL *s) in SSL_is_server()
4599 void SSL_set_debug(SSL *s, int debug) in SSL_set_debug()
4607 void SSL_set_security_level(SSL *s, int level) in SSL_set_security_level()
4612 int SSL_get_security_level(const SSL *s) in SSL_get_security_level()
4617 void SSL_set_security_callback(SSL *s, in SSL_set_security_callback()
4618 int (*cb) (const SSL *s, const SSL_CTX *ctx, in SSL_set_security_callback()
4625 int (*SSL_get_security_callback(const SSL *s)) (const SSL *s, in SSL_get_security_callback()
4632 void SSL_set0_security_ex_data(SSL *s, void *ex) in SSL_set0_security_ex_data()
4637 void *SSL_get0_security_ex_data(const SSL *s) in SSL_get0_security_ex_data()
4653 int (*cb) (const SSL *s, const SSL_CTX *ctx, in SSL_CTX_set_security_callback()
4660 int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s, in SSL_CTX_get_security_callback()
4689 unsigned long SSL_get_options(const SSL *s) in SSL_get_options()
4699 unsigned long SSL_set_options(SSL *s, unsigned long op) in SSL_set_options()
4709 unsigned long SSL_clear_options(SSL *s, unsigned long op) in SSL_clear_options()
4714 STACK_OF(X509) *SSL_get0_verified_chain(const SSL *s) in STACK_OF()
4764 static int ct_extract_tls_extension_scts(SSL *s) in ct_extract_tls_extension_scts()
4788 static int ct_extract_ocsp_response_scts(SSL *s) in ct_extract_ocsp_response_scts()
4839 static int ct_extract_x509v3_extension_scts(SSL *s) in ct_extract_x509v3_extension_scts()
4862 const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s) in STACK_OF()
4900 int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback, in SSL_set_ct_validation_callback()
4949 int SSL_ct_is_enabled(const SSL *s) in SSL_ct_is_enabled()
4959 int ssl_validate_ct(SSL *s) in ssl_validate_ct()
5074 int SSL_enable_ct(SSL *s, int validation_mode) in SSL_enable_ct()
5117 int SSL_client_hello_isv2(SSL *s) in SSL_client_hello_isv2()
5124 unsigned int SSL_client_hello_get0_legacy_version(SSL *s) in SSL_client_hello_get0_legacy_version()
5131 size_t SSL_client_hello_get0_random(SSL *s, const unsigned char **out) in SSL_client_hello_get0_random()
5140 size_t SSL_client_hello_get0_session_id(SSL *s, const unsigned char **out) in SSL_client_hello_get0_session_id()
5149 size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out) in SSL_client_hello_get0_ciphers()
5158 size_t SSL_client_hello_get0_compression_methods(SSL *s, const unsigned char **out) in SSL_client_hello_get0_compression_methods()
5167 int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen) in SSL_client_hello_get1_extensions_present()
5206 int SSL_client_hello_get0_ext(SSL *s, unsigned int type, const unsigned char **out, in SSL_client_hello_get0_ext()
5227 int SSL_free_buffers(SSL *ssl) in SSL_free_buffers()
5238 int SSL_alloc_buffers(SSL *ssl) in SSL_alloc_buffers()
5254 SSL *ssl, in nss_keylog_int()
5307 int ssl_log_rsa_client_key_exchange(SSL *ssl, in ssl_log_rsa_client_key_exchange()
5328 int ssl_log_secret(SSL *ssl, in ssl_log_secret()
5343 int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format) in ssl_cache_cipherlist()
5413 int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len, in SSL_bytes_to_cipher_list()
5424 int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites, in bytes_to_cipher_list()
5527 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data) in SSL_set_max_early_data()
5534 uint32_t SSL_get_max_early_data(const SSL *s) in SSL_get_max_early_data()
5551 int SSL_set_recv_max_early_data(SSL *s, uint32_t recv_max_early_data) in SSL_set_recv_max_early_data()
5558 uint32_t SSL_get_recv_max_early_data(const SSL *s) in SSL_get_recv_max_early_data()
5563 __owur unsigned int ssl_get_max_send_fragment(const SSL *ssl) in ssl_get_max_send_fragment()
5573 __owur unsigned int ssl_get_split_send_fragment(const SSL *ssl) in ssl_get_split_send_fragment()
5588 int SSL_stateless(SSL *s) in SSL_stateless()
5616 void SSL_set_post_handshake_auth(SSL *ssl, int val) in SSL_set_post_handshake_auth()
5621 int SSL_verify_client_post_handshake(SSL *ssl) in SSL_verify_client_post_handshake()
5687 void SSL_set_allow_early_data_cb(SSL *s, in SSL_set_allow_early_data_cb()