Lines Matching refs:SSL
30 static int ssl_undefined_function_1(SSL *ssl, SSL3_RECORD *r, size_t s, int t) in ssl_undefined_function_1()
38 static int ssl_undefined_function_2(SSL *ssl, SSL3_RECORD *r, unsigned char *s, in ssl_undefined_function_2()
47 static int ssl_undefined_function_3(SSL *ssl, unsigned char *r, in ssl_undefined_function_3()
57 static int ssl_undefined_function_4(SSL *ssl, int r) in ssl_undefined_function_4()
63 static size_t ssl_undefined_function_5(SSL *ssl, const char *r, size_t s, in ssl_undefined_function_5()
78 static int ssl_undefined_function_7(SSL *ssl, unsigned char *r, size_t s, in ssl_undefined_function_7()
108 SSL *s;
113 int (*func_read) (SSL *, void *, size_t, size_t *);
114 int (*func_write) (SSL *, const void *, size_t, size_t *);
115 int (*func_other) (SSL *);
211 static int ssl_dane_dup(SSL *to, SSL *from) in ssl_dane_dup()
571 static void clear_ciphers(SSL *s) in clear_ciphers()
579 int SSL_clear(SSL *s) in SSL_clear()
680 SSL *SSL_new(SSL_CTX *ctx) in SSL_new()
682 SSL *s; in SSL_new()
863 int SSL_is_dtls(const SSL *s) in SSL_is_dtls()
868 int SSL_up_ref(SSL *s) in SSL_up_ref()
894 int SSL_set_session_id_context(SSL *ssl, const unsigned char *sid_ctx, in SSL_set_session_id_context()
916 int SSL_set_generate_session_id(SSL *ssl, GEN_SESSION_CB cb) in SSL_set_generate_session_id()
924 int SSL_has_matching_session_id(const SSL *ssl, const unsigned char *id, in SSL_has_matching_session_id()
954 int SSL_set_purpose(SSL *s, int purpose) in SSL_set_purpose()
964 int SSL_set_trust(SSL *s, int trust) in SSL_set_trust()
969 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()
979 void SSL_set_hostflags(SSL *s, unsigned int flags) in SSL_set_hostflags()
984 const char *SSL_get0_peername(SSL *s) in SSL_get0_peername()
1010 int SSL_dane_enable(SSL *s, const char *basedomain) in SSL_dane_enable()
1053 unsigned long SSL_dane_set_flags(SSL *ssl, unsigned long flags) in SSL_dane_set_flags()
1061 unsigned long SSL_dane_clear_flags(SSL *ssl, unsigned long flags) in SSL_dane_clear_flags()
1069 int SSL_get0_dane_authority(SSL *s, X509 **mcert, EVP_PKEY **mspki) in SSL_get0_dane_authority()
1084 int SSL_get0_dane_tlsa(SSL *s, uint8_t *usage, uint8_t *selector, in SSL_get0_dane_tlsa()
1106 SSL_DANE *SSL_get0_dane(SSL *s) in SSL_get0_dane()
1111 int SSL_dane_tlsa_add(SSL *s, uint8_t usage, uint8_t selector, in SSL_dane_tlsa_add()
1128 int SSL_set1_param(SSL *ssl, X509_VERIFY_PARAM *vpm) in SSL_set1_param()
1138 X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl) in SSL_get0_param()
1143 void SSL_certs_clear(SSL *s) in SSL_certs_clear()
1148 void SSL_free(SSL *s) in SSL_free()
1246 void SSL_set0_rbio(SSL *s, BIO *rbio) in SSL_set0_rbio()
1252 void SSL_set0_wbio(SSL *s, BIO *wbio) in SSL_set0_wbio()
1268 void SSL_set_bio(SSL *s, BIO *rbio, BIO *wbio) in SSL_set_bio()
1308 BIO *SSL_get_rbio(const SSL *s) in SSL_get_rbio()
1313 BIO *SSL_get_wbio(const SSL *s) in SSL_get_wbio()
1325 int SSL_get_fd(const SSL *s) in SSL_get_fd()
1330 int SSL_get_rfd(const SSL *s) in SSL_get_rfd()
1342 int SSL_get_wfd(const SSL *s) in SSL_get_wfd()
1355 int SSL_set_fd(SSL *s, int fd) in SSL_set_fd()
1382 int SSL_set_wfd(SSL *s, int fd) in SSL_set_wfd()
1412 int SSL_set_rfd(SSL *s, int fd) in SSL_set_rfd()
1436 size_t SSL_get_finished(const SSL *s, void *buf, size_t count) in SSL_get_finished()
1450 size_t SSL_get_peer_finished(const SSL *s, void *buf, size_t count) in SSL_get_peer_finished()
1463 int SSL_get_verify_mode(const SSL *s) in SSL_get_verify_mode()
1468 int SSL_get_verify_depth(const SSL *s) in SSL_get_verify_depth()
1473 int (*SSL_get_verify_callback(const SSL *s)) (int, X509_STORE_CTX *) { in SSL_get_verify_callback()
1491 void SSL_set_verify(SSL *s, int mode, in SSL_set_verify()
1499 void SSL_set_verify_depth(SSL *s, int depth) in SSL_set_verify_depth()
1504 void SSL_set_read_ahead(SSL *s, int yes) in SSL_set_read_ahead()
1509 int SSL_get_read_ahead(const SSL *s) in SSL_get_read_ahead()
1514 int SSL_pending(const SSL *s) in SSL_pending()
1531 int SSL_has_pending(const SSL *s) in SSL_has_pending()
1547 X509 *SSL_get_peer_certificate(const SSL *s) in SSL_get_peer_certificate()
1564 STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *s) in STACK_OF()
1585 int SSL_copy_session_id(SSL *t, const SSL *f) in SSL_copy_session_id()
1629 int SSL_check_private_key(const SSL *ssl) in SSL_check_private_key()
1647 int SSL_waiting_for_async(SSL *s) in SSL_waiting_for_async()
1655 int SSL_get_all_async_fds(SSL *s, OSSL_ASYNC_FD *fds, size_t *numfds) in SSL_get_all_async_fds()
1664 int SSL_get_changed_async_fds(SSL *s, OSSL_ASYNC_FD *addfd, size_t *numaddfds, in SSL_get_changed_async_fds()
1675 int SSL_accept(SSL *s) in SSL_accept()
1685 int SSL_connect(SSL *s) in SSL_connect()
1695 long SSL_get_default_timeout(const SSL *s) in SSL_get_default_timeout()
1700 static int ssl_start_async_job(SSL *s, struct ssl_async_args *args, in ssl_start_async_job()
1737 SSL *s; in ssl_io_intern()
1756 int ssl_read_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_read_internal()
1797 int SSL_read(SSL *s, void *buf, int num) in SSL_read()
1819 int SSL_read_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_ex()
1828 int SSL_read_early_data(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_read_early_data()
1883 int SSL_get_early_data_status(const SSL *s) in SSL_get_early_data_status()
1888 static int ssl_peek_internal(SSL *s, void *buf, size_t num, size_t *readbytes) in ssl_peek_internal()
1916 int SSL_peek(SSL *s, void *buf, int num) in SSL_peek()
1939 int SSL_peek_ex(SSL *s, void *buf, size_t num, size_t *readbytes) in SSL_peek_ex()
1948 int ssl_write_internal(SSL *s, const void *buf, size_t num, size_t *written) in ssl_write_internal()
1988 ossl_ssize_t SSL_sendfile(SSL *s, int fd, off_t offset, size_t size, int flags) in SSL_sendfile()
2052 int SSL_write(SSL *s, const void *buf, int num) in SSL_write()
2074 int SSL_write_ex(SSL *s, const void *buf, size_t num, size_t *written) in SSL_write_ex()
2083 int SSL_write_early_data(SSL *s, const void *buf, size_t num, size_t *written) in SSL_write_early_data()
2155 int SSL_shutdown(SSL *s) in SSL_shutdown()
2188 int SSL_key_update(SSL *s, int updatetype) in SSL_key_update()
2221 int SSL_get_key_update_type(const SSL *s) in SSL_get_key_update_type()
2226 int SSL_renegotiate(SSL *s) in SSL_renegotiate()
2244 int SSL_renegotiate_abbreviated(SSL *s) in SSL_renegotiate_abbreviated()
2262 int SSL_renegotiate_pending(const SSL *s) in SSL_renegotiate_pending()
2271 long SSL_ctrl(SSL *s, int cmd, long larg, void *parg) in SSL_ctrl()
2365 long SSL_callback_ctrl(SSL *s, int cmd, void (*fp) (void)) in SSL_callback_ctrl()
2371 const void *buf, size_t len, SSL *ssl, in SSL_callback_ctrl()
2511 const void *buf, size_t len, SSL *ssl, in SSL_CTX_callback_ctrl()
2541 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *s) in STACK_OF()
2553 STACK_OF(SSL_CIPHER) *SSL_get_client_ciphers(const SSL *s) in STACK_OF()
2560 STACK_OF(SSL_CIPHER) *SSL_get1_supported_ciphers(SSL *s) in STACK_OF()
2588 STACK_OF(SSL_CIPHER) *ssl_get_ciphers_by_id(SSL *s) in STACK_OF()
2601 const char *SSL_get_cipher_list(const SSL *s, int n) in SSL_get_cipher_list()
2671 int SSL_set_cipher_list(SSL *s, const char *str) in SSL_set_cipher_list()
2688 char *SSL_get_shared_ciphers(const SSL *s, char *buf, int size) in SSL_get_shared_ciphers()
2742 const char *SSL_get_servername(const SSL *s, const int type) in SSL_get_servername()
2808 int SSL_get_servername_type(const SSL *s) in SSL_get_servername_type()
2882 void SSL_get0_next_proto_negotiated(const SSL *s, const unsigned char **data, in SSL_get0_next_proto_negotiated()
2980 int SSL_set_alpn_protos(SSL *ssl, const unsigned char *protos, in SSL_set_alpn_protos()
3026 void SSL_get0_alpn_selected(const SSL *ssl, const unsigned char **data, in SSL_get0_alpn_selected()
3038 int SSL_export_keying_material(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material()
3052 int SSL_export_keying_material_early(SSL *s, unsigned char *out, size_t olen, in SSL_export_keying_material_early()
3392 void SSL_set_default_passwd_cb(SSL *s, pem_password_cb *cb) in SSL_set_default_passwd_cb()
3397 void SSL_set_default_passwd_cb_userdata(SSL *s, void *u) in SSL_set_default_passwd_cb_userdata()
3402 pem_password_cb *SSL_get_default_passwd_cb(SSL *s) in SSL_get_default_passwd_cb()
3407 void *SSL_get_default_passwd_cb_userdata(SSL *s) in SSL_get_default_passwd_cb_userdata()
3432 void SSL_CTX_set_cert_cb(SSL_CTX *c, int (*cb) (SSL *ssl, void *arg), void *arg) in SSL_CTX_set_cert_cb()
3437 void SSL_set_cert_cb(SSL *s, int (*cb) (SSL *ssl, void *arg), void *arg) in SSL_set_cert_cb()
3442 void ssl_set_masks(SSL *s) in ssl_set_masks()
3559 int ssl_check_srvr_ecc_cert_and_alg(X509 *x, SSL *s) in ssl_check_srvr_ecc_cert_and_alg()
3574 int ssl_get_server_cert_serverinfo(SSL *s, const unsigned char **serverinfo, in ssl_get_server_cert_serverinfo()
3588 void ssl_update_cache(SSL *s, int mode) in ssl_update_cache()
3664 const SSL_METHOD *SSL_get_ssl_method(const SSL *s) in SSL_get_ssl_method()
3669 int SSL_set_ssl_method(SSL *s, const SSL_METHOD *meth) in SSL_set_ssl_method()
3675 int (*hf) (SSL *) = s->handshake_func; in SSL_set_ssl_method()
3693 int SSL_get_error(const SSL *s, int i) in SSL_get_error()
3778 SSL *s; in ssl_do_handshake_intern()
3786 int SSL_do_handshake(SSL *s) in SSL_do_handshake()
3814 void SSL_set_accept_state(SSL *s) in SSL_set_accept_state()
3823 void SSL_set_connect_state(SSL *s) in SSL_set_connect_state()
3832 int ssl_undefined_function(SSL *s) in ssl_undefined_function()
3845 int ssl_undefined_const_function(const SSL *s) in ssl_undefined_const_function()
3889 const char *SSL_get_version(const SSL *s) in SSL_get_version()
3924 SSL *SSL_dup(SSL *s) in SSL_dup()
3926 SSL *ret; in SSL_dup()
4028 void ssl_clear_cipher_ctx(SSL *s) in ssl_clear_cipher_ctx()
4046 X509 *SSL_get_certificate(const SSL *s) in SSL_get_certificate()
4054 EVP_PKEY *SSL_get_privatekey(const SSL *s) in SSL_get_privatekey()
4078 const SSL_CIPHER *SSL_get_current_cipher(const SSL *s) in SSL_get_current_cipher()
4085 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *s) in SSL_get_pending_cipher()
4090 const COMP_METHOD *SSL_get_current_compression(const SSL *s) in SSL_get_current_compression()
4099 const COMP_METHOD *SSL_get_current_expansion(const SSL *s) in SSL_get_current_expansion()
4108 int ssl_init_wbio_buffer(SSL *s) in ssl_init_wbio_buffer()
4129 int ssl_free_wbio_buffer(SSL *s) in ssl_free_wbio_buffer()
4152 void SSL_set_quiet_shutdown(SSL *s, int mode) in SSL_set_quiet_shutdown()
4157 int SSL_get_quiet_shutdown(const SSL *s) in SSL_get_quiet_shutdown()
4162 void SSL_set_shutdown(SSL *s, int mode) in SSL_set_shutdown()
4167 int SSL_get_shutdown(const SSL *s) in SSL_get_shutdown()
4172 int SSL_version(const SSL *s) in SSL_version()
4177 int SSL_client_version(const SSL *s) in SSL_client_version()
4182 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl) in SSL_get_SSL_CTX()
4187 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) in SSL_set_SSL_CTX()
4276 void SSL_set_info_callback(SSL *ssl, in SSL_set_info_callback()
4277 void (*cb) (const SSL *ssl, int type, int val)) in SSL_set_info_callback()
4286 void (*SSL_get_info_callback(const SSL *ssl)) (const SSL * /* ssl */ , in SSL_get_info_callback()
4292 void SSL_set_verify_result(SSL *ssl, long arg) in SSL_set_verify_result()
4297 long SSL_get_verify_result(const SSL *ssl) in SSL_get_verify_result()
4302 size_t SSL_get_client_random(const SSL *ssl, unsigned char *out, size_t outlen) in SSL_get_client_random()
4312 size_t SSL_get_server_random(const SSL *ssl, unsigned char *out, size_t outlen) in SSL_get_server_random()
4345 int SSL_set_ex_data(SSL *s, int idx, void *arg) in SSL_set_ex_data()
4350 void *SSL_get_ex_data(const SSL *s, int idx) in SSL_get_ex_data()
4383 int SSL_want(const SSL *s) in SSL_want()
4396 DH *(*dh) (SSL *ssl, int is_export, in SSL_CTX_set_tmp_dh_callback()
4402 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*dh) (SSL *ssl, int is_export, in SSL_set_tmp_dh_callback()
4426 int SSL_use_psk_identity_hint(SSL *s, const char *identity_hint) in SSL_use_psk_identity_hint()
4445 const char *SSL_get_psk_identity_hint(const SSL *s) in SSL_get_psk_identity_hint()
4452 const char *SSL_get_psk_identity(const SSL *s) in SSL_get_psk_identity()
4459 void SSL_set_psk_client_callback(SSL *s, SSL_psk_client_cb_func cb) in SSL_set_psk_client_callback()
4469 void SSL_set_psk_server_callback(SSL *s, SSL_psk_server_cb_func cb) in SSL_set_psk_server_callback()
4480 void SSL_set_psk_find_session_callback(SSL *s, SSL_psk_find_session_cb_func cb) in SSL_set_psk_find_session_callback()
4491 void SSL_set_psk_use_session_callback(SSL *s, SSL_psk_use_session_cb_func cb) in SSL_set_psk_use_session_callback()
4505 size_t len, SSL *ssl, void *arg)) in SSL_CTX_set_msg_callback()
4510 void SSL_set_msg_callback(SSL *ssl, in SSL_set_msg_callback()
4513 size_t len, SSL *ssl, void *arg)) in SSL_set_msg_callback()
4519 int (*cb) (SSL *ssl, in SSL_CTX_set_not_resumable_session_callback()
4527 void SSL_set_not_resumable_session_callback(SSL *ssl, in SSL_set_not_resumable_session_callback()
4528 int (*cb) (SSL *ssl, in SSL_set_not_resumable_session_callback()
4536 size_t (*cb) (SSL *ssl, int type, in SSL_CTX_set_record_padding_callback()
4564 int SSL_set_record_padding_callback(SSL *ssl, in SSL_set_record_padding_callback()
4565 size_t (*cb) (SSL *ssl, int type, in SSL_set_record_padding_callback()
4578 void SSL_set_record_padding_callback_arg(SSL *ssl, void *arg) in SSL_set_record_padding_callback_arg()
4583 void *SSL_get_record_padding_callback_arg(const SSL *ssl) in SSL_get_record_padding_callback_arg()
4588 int SSL_set_block_padding(SSL *ssl, size_t block_size) in SSL_set_block_padding()
4600 int SSL_set_num_tickets(SSL *s, size_t num_tickets) in SSL_set_num_tickets()
4607 size_t SSL_get_num_tickets(const SSL *s) in SSL_get_num_tickets()
4651 int ssl_handshake_hash(SSL *s, unsigned char *out, size_t outlen, in ssl_handshake_hash()
4687 int SSL_session_reused(const SSL *s) in SSL_session_reused()
4692 int SSL_is_server(const SSL *s) in SSL_is_server()
4698 void SSL_set_debug(SSL *s, int debug) in SSL_set_debug()
4706 void SSL_set_security_level(SSL *s, int level) in SSL_set_security_level()
4711 int SSL_get_security_level(const SSL *s) in SSL_get_security_level()
4716 void SSL_set_security_callback(SSL *s, in SSL_set_security_callback()
4717 int (*cb) (const SSL *s, const SSL_CTX *ctx, in SSL_set_security_callback()
4724 int (*SSL_get_security_callback(const SSL *s)) (const SSL *s, in SSL_get_security_callback()
4731 void SSL_set0_security_ex_data(SSL *s, void *ex) in SSL_set0_security_ex_data()
4736 void *SSL_get0_security_ex_data(const SSL *s) in SSL_get0_security_ex_data()
4752 int (*cb) (const SSL *s, const SSL_CTX *ctx, in SSL_CTX_set_security_callback()
4759 int (*SSL_CTX_get_security_callback(const SSL_CTX *ctx)) (const SSL *s, in SSL_CTX_get_security_callback()
4788 unsigned long SSL_get_options(const SSL *s) in SSL_get_options()
4798 unsigned long SSL_set_options(SSL *s, unsigned long op) in SSL_set_options()
4808 unsigned long SSL_clear_options(SSL *s, unsigned long op) in SSL_clear_options()
4813 STACK_OF(X509) *SSL_get0_verified_chain(const SSL *s) in STACK_OF()
4863 static int ct_extract_tls_extension_scts(SSL *s) in ct_extract_tls_extension_scts()
4887 static int ct_extract_ocsp_response_scts(SSL *s) in ct_extract_ocsp_response_scts()
4938 static int ct_extract_x509v3_extension_scts(SSL *s) in ct_extract_x509v3_extension_scts()
4961 const STACK_OF(SCT) *SSL_get0_peer_scts(SSL *s) in STACK_OF()
4999 int SSL_set_ct_validation_callback(SSL *s, ssl_ct_validation_cb callback, in SSL_set_ct_validation_callback()
5048 int SSL_ct_is_enabled(const SSL *s) in SSL_ct_is_enabled()
5058 int ssl_validate_ct(SSL *s) in ssl_validate_ct()
5173 int SSL_enable_ct(SSL *s, int validation_mode) in SSL_enable_ct()
5216 int SSL_client_hello_isv2(SSL *s) in SSL_client_hello_isv2()
5223 unsigned int SSL_client_hello_get0_legacy_version(SSL *s) in SSL_client_hello_get0_legacy_version()
5230 size_t SSL_client_hello_get0_random(SSL *s, const unsigned char **out) in SSL_client_hello_get0_random()
5239 size_t SSL_client_hello_get0_session_id(SSL *s, const unsigned char **out) in SSL_client_hello_get0_session_id()
5248 size_t SSL_client_hello_get0_ciphers(SSL *s, const unsigned char **out) in SSL_client_hello_get0_ciphers()
5257 size_t SSL_client_hello_get0_compression_methods(SSL *s, const unsigned char **out) in SSL_client_hello_get0_compression_methods()
5266 int SSL_client_hello_get1_extensions_present(SSL *s, int **out, size_t *outlen) in SSL_client_hello_get1_extensions_present()
5305 int SSL_client_hello_get0_ext(SSL *s, unsigned int type, const unsigned char **out, in SSL_client_hello_get0_ext()
5326 int SSL_free_buffers(SSL *ssl) in SSL_free_buffers()
5337 int SSL_alloc_buffers(SSL *ssl) in SSL_alloc_buffers()
5353 SSL *ssl, in nss_keylog_int()
5406 int ssl_log_rsa_client_key_exchange(SSL *ssl, in ssl_log_rsa_client_key_exchange()
5427 int ssl_log_secret(SSL *ssl, in ssl_log_secret()
5442 int ssl_cache_cipherlist(SSL *s, PACKET *cipher_suites, int sslv2format) in ssl_cache_cipherlist()
5512 int SSL_bytes_to_cipher_list(SSL *s, const unsigned char *bytes, size_t len, in SSL_bytes_to_cipher_list()
5523 int bytes_to_cipher_list(SSL *s, PACKET *cipher_suites, in bytes_to_cipher_list()
5626 int SSL_set_max_early_data(SSL *s, uint32_t max_early_data) in SSL_set_max_early_data()
5633 uint32_t SSL_get_max_early_data(const SSL *s) in SSL_get_max_early_data()
5650 int SSL_set_recv_max_early_data(SSL *s, uint32_t recv_max_early_data) in SSL_set_recv_max_early_data()
5657 uint32_t SSL_get_recv_max_early_data(const SSL *s) in SSL_get_recv_max_early_data()
5662 __owur unsigned int ssl_get_max_send_fragment(const SSL *ssl) in ssl_get_max_send_fragment()
5672 __owur unsigned int ssl_get_split_send_fragment(const SSL *ssl) in ssl_get_split_send_fragment()
5687 int SSL_stateless(SSL *s) in SSL_stateless()
5715 void SSL_set_post_handshake_auth(SSL *ssl, int val) in SSL_set_post_handshake_auth()
5720 int SSL_verify_client_post_handshake(SSL *ssl) in SSL_verify_client_post_handshake()
5786 void SSL_set_allow_early_data_cb(SSL *s, in SSL_set_allow_early_data_cb()