Lines Matching refs:SSL
169 OPENSSL_DECLARE_ERROR_REASON(SSL, UNKNOWN_PROTOCOL)
173 OPENSSL_DECLARE_ERROR_REASON(SSL, BLOCK_CIPHER_PAD_IS_WRONG)
174 OPENSSL_DECLARE_ERROR_REASON(SSL, NO_CIPHERS_SPECIFIED)
194 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in CBBFinishArray()
201 void ssl_reset_error_state(SSL *ssl) { in ssl_reset_error_state()
209 void ssl_set_read_error(SSL* ssl) { in ssl_set_read_error()
214 static bool check_read_error(const SSL *ssl) { in check_read_error()
222 bool ssl_can_write(const SSL *ssl) { in ssl_can_write()
226 bool ssl_can_read(const SSL *ssl) { in ssl_can_read()
230 ssl_open_record_t ssl_open_handshake(SSL *ssl, size_t *out_consumed, in ssl_open_handshake()
244 ssl_open_record_t ssl_open_change_cipher_spec(SSL *ssl, size_t *out_consumed, in ssl_open_change_cipher_spec()
260 ssl_open_record_t ssl_open_app_data(SSL *ssl, Span<uint8_t> *out, in ssl_open_app_data()
276 SSL *const ssl = hs->ssl; in ssl_update_cache()
342 bool ssl_log_secret(const SSL *ssl, const char *label, in ssl_log_secret()
367 void ssl_do_info_callback(const SSL *ssl, int type, int value) { in ssl_do_info_callback()
368 void (*cb)(const SSL *ssl, int type, int value) = NULL; in ssl_do_info_callback()
380 void ssl_do_msg_callback(const SSL *ssl, int is_write, int content_type, in ssl_do_msg_callback()
402 const_cast<SSL *>(ssl), ssl->msg_callback_arg); in ssl_do_msg_callback()
405 void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock) { in ssl_get_current_time()
461 static bool ssl_can_renegotiate(const SSL *ssl) { in ssl_can_renegotiate()
491 static void ssl_maybe_shed_handshake_config(SSL *ssl) { in ssl_maybe_shed_handshake_config()
502 void SSL_set_handoff_mode(SSL *ssl, bool on) { in SSL_set_handoff_mode()
509 bool SSL_get_traffic_secrets(const SSL *ssl, in SSL_get_traffic_secrets()
513 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in SSL_get_traffic_secrets()
518 OPENSSL_PUT_ERROR(SSL, SSL_R_HANDSHAKE_NOT_COMPLETE); in SSL_get_traffic_secrets()
593 OPENSSL_PUT_ERROR(SSL, SSL_R_NULL_SSL_METHOD_PASSED); in SSL_CTX_new()
617 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in SSL_CTX_new()
664 SSL *SSL_new(SSL_CTX *ctx) { in SSL_new()
666 OPENSSL_PUT_ERROR(SSL, SSL_R_NULL_SSL_CTX); in SSL_new()
670 UniquePtr<SSL> ssl = MakeUnique<SSL>(ctx); in SSL_new()
728 SSL_CONFIG::SSL_CONFIG(SSL *ssl_arg) in SSL_CONFIG()
748 void SSL_free(SSL *ssl) { in SSL_free()
752 void SSL_set_connect_state(SSL *ssl) { in SSL_set_connect_state()
757 void SSL_set_accept_state(SSL *ssl) { in SSL_set_accept_state()
762 void SSL_set0_rbio(SSL *ssl, BIO *rbio) { in SSL_set0_rbio()
766 void SSL_set0_wbio(SSL *ssl, BIO *wbio) { in SSL_set0_wbio()
770 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio) { in SSL_set_bio()
804 BIO *SSL_get_rbio(const SSL *ssl) { return ssl->rbio.get(); } in SSL_get_rbio()
806 BIO *SSL_get_wbio(const SSL *ssl) { return ssl->wbio.get(); } in SSL_get_wbio()
808 size_t SSL_quic_max_handshake_flight_len(const SSL *ssl, in SSL_quic_max_handshake_flight_len()
846 enum ssl_encryption_level_t SSL_quic_read_level(const SSL *ssl) { in SSL_quic_read_level()
850 enum ssl_encryption_level_t SSL_quic_write_level(const SSL *ssl) { in SSL_quic_write_level()
854 int SSL_provide_quic_data(SSL *ssl, enum ssl_encryption_level_t level, in SSL_provide_quic_data()
857 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_provide_quic_data()
862 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_ENCRYPTION_LEVEL_RECEIVED); in SSL_provide_quic_data()
869 OPENSSL_PUT_ERROR(SSL, SSL_R_EXCESSIVE_MESSAGE_SIZE); in SSL_provide_quic_data()
876 int SSL_do_handshake(SSL *ssl) { in SSL_do_handshake()
880 OPENSSL_PUT_ERROR(SSL, SSL_R_CONNECTION_TYPE_NOT_SET); in SSL_do_handshake()
908 int SSL_connect(SSL *ssl) { in SSL_connect()
917 int SSL_accept(SSL *ssl) { in SSL_accept()
926 static int ssl_do_post_handshake(SSL *ssl, const SSLMessage &msg) { in ssl_do_post_handshake()
934 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in ssl_do_post_handshake()
941 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_HELLO_REQUEST); in ssl_do_post_handshake()
962 int SSL_process_quic_post_handshake(SSL *ssl) { in SSL_process_quic_post_handshake()
966 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_process_quic_post_handshake()
989 static int ssl_read_impl(SSL *ssl) { in ssl_read_impl()
993 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in ssl_read_impl()
1017 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in ssl_read_impl()
1059 int SSL_read(SSL *ssl, void *buf, int num) { in SSL_read()
1074 int SSL_peek(SSL *ssl, void *buf, int num) { in SSL_peek()
1076 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_peek()
1093 int SSL_write(SSL *ssl, const void *buf, int num) { in SSL_write()
1097 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_write()
1102 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in SSL_write()
1107 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in SSL_write()
1121 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in SSL_write()
1132 int SSL_key_update(SSL *ssl, int request_type) { in SSL_key_update()
1136 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in SSL_key_update()
1141 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_key_update()
1146 OPENSSL_PUT_ERROR(SSL, SSL_R_HANDSHAKE_NOT_COMPLETE); in SSL_key_update()
1151 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in SSL_key_update()
1163 int SSL_shutdown(SSL *ssl) { in SSL_shutdown()
1167 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in SSL_shutdown()
1214 OPENSSL_PUT_ERROR(SSL, SSL_R_APPLICATION_DATA_ON_SHUTDOWN); in SSL_shutdown()
1227 int SSL_send_fatal_alert(SSL *ssl, uint8_t alert) { in SSL_send_fatal_alert()
1232 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in SSL_send_fatal_alert()
1245 int SSL_pq_experiment_signal_seen(const SSL *ssl) { in SSL_pq_experiment_signal_seen()
1249 int SSL_set_quic_transport_params(SSL *ssl, const uint8_t *params, in SSL_set_quic_transport_params()
1255 void SSL_get_peer_quic_transport_params(const SSL *ssl, in SSL_get_peer_quic_transport_params()
1266 void SSL_set_early_data_enabled(SSL *ssl, int enabled) { in SSL_set_early_data_enabled()
1270 int SSL_in_early_data(const SSL *ssl) { in SSL_in_early_data()
1277 int SSL_early_data_accepted(const SSL *ssl) { in SSL_early_data_accepted()
1281 void SSL_reset_early_data_reject(SSL *ssl) { in SSL_reset_early_data_reject()
1298 enum ssl_early_data_reason_t SSL_get_early_data_reason(const SSL *ssl) { in SSL_get_early_data_reason()
1313 int SSL_get_error(const SSL *ssl, int ret_code) { in SSL_get_error()
1452 uint32_t SSL_set_options(SSL *ssl, uint32_t options) { in SSL_set_options()
1457 uint32_t SSL_clear_options(SSL *ssl, uint32_t options) { in SSL_clear_options()
1462 uint32_t SSL_get_options(const SSL *ssl) { return ssl->options; } in SSL_get_options()
1476 uint32_t SSL_set_mode(SSL *ssl, uint32_t mode) { in SSL_set_mode()
1481 uint32_t SSL_clear_mode(SSL *ssl, uint32_t mode) { in SSL_clear_mode()
1486 uint32_t SSL_get_mode(const SSL *ssl) { return ssl->mode; } in SSL_get_mode()
1492 int SSL_get_tls_unique(const SSL *ssl, uint8_t *out, size_t *out_len, in SSL_get_tls_unique()
1529 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG); in set_session_id_context()
1544 int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, in SSL_set_session_id_context()
1552 const uint8_t *SSL_get0_session_id_context(const SSL *ssl, size_t *out_len) { in SSL_get0_session_id_context()
1562 void SSL_certs_clear(SSL *ssl) { in SSL_certs_clear()
1569 int SSL_get_fd(const SSL *ssl) { return SSL_get_rfd(ssl); } in SSL_get_fd()
1571 int SSL_get_rfd(const SSL *ssl) { in SSL_get_rfd()
1580 int SSL_get_wfd(const SSL *ssl) { in SSL_get_wfd()
1589 int SSL_set_fd(SSL *ssl, int fd) { in SSL_set_fd()
1592 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_set_fd()
1600 int SSL_set_wfd(SSL *ssl, int fd) { in SSL_set_wfd()
1606 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_set_wfd()
1620 int SSL_set_rfd(SSL *ssl, int fd) { in SSL_set_rfd()
1626 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_set_rfd()
1648 size_t SSL_get_finished(const SSL *ssl, void *buf, size_t count) { in SSL_get_finished()
1663 size_t SSL_get_peer_finished(const SSL *ssl, void *buf, size_t count) { in SSL_get_peer_finished()
1678 int SSL_get_verify_mode(const SSL *ssl) { in SSL_get_verify_mode()
1686 int SSL_get_extms_support(const SSL *ssl) { in SSL_get_extms_support()
1711 int SSL_get_read_ahead(const SSL *ssl) { return 0; } in SSL_get_read_ahead()
1715 int SSL_set_read_ahead(SSL *ssl, int yes) { return 1; } in SSL_set_read_ahead()
1717 int SSL_pending(const SSL *ssl) { in SSL_pending()
1726 int SSL_check_private_key(const SSL *ssl) { in SSL_check_private_key()
1734 long SSL_get_default_timeout(const SSL *ssl) { in SSL_get_default_timeout()
1738 int SSL_renegotiate(SSL *ssl) { in SSL_renegotiate()
1741 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_renegotiate()
1746 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in SSL_renegotiate()
1756 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in SSL_renegotiate()
1762 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in SSL_renegotiate()
1775 int SSL_renegotiate_pending(SSL *ssl) { in SSL_renegotiate_pending()
1779 int SSL_total_renegotiations(const SSL *ssl) { in SSL_total_renegotiations()
1794 size_t SSL_get_max_cert_list(const SSL *ssl) { in SSL_get_max_cert_list()
1798 void SSL_set_max_cert_list(SSL *ssl, size_t max_cert_list) { in SSL_set_max_cert_list()
1817 int SSL_set_max_send_fragment(SSL *ssl, size_t max_send_fragment) { in SSL_set_max_send_fragment()
1829 int SSL_set_mtu(SSL *ssl, unsigned mtu) { in SSL_set_mtu()
1837 int SSL_get_secure_renegotiation_support(const SSL *ssl) { in SSL_get_secure_renegotiation_support()
1876 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_TICKET_KEYS_LENGTH); in SSL_CTX_get_tlsext_ticket_keys()
1899 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_TICKET_KEYS_LENGTH); in SSL_CTX_set_tlsext_ticket_keys()
1919 SSL_CTX *ctx, int (*callback)(SSL *ssl, uint8_t *key_name, uint8_t *iv, in SSL_CTX_set_tlsext_ticket_key_cb()
1931 int SSL_set1_curves(SSL *ssl, const int *curves, size_t curves_len) { in SSL_set1_curves()
1943 int SSL_set1_curves_list(SSL *ssl, const char *curves) { in SSL_set1_curves_list()
1950 uint16_t SSL_get_curve_id(const SSL *ssl) { in SSL_get_curve_id()
1965 int SSL_set_tmp_dh(SSL *ssl, const DH *dh) { in SSL_set_tmp_dh()
1980 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl) { in STACK_OF()
1993 const char *SSL_get_cipher_list(const SSL *ssl, int n) { in SSL_get_cipher_list()
2019 int SSL_set_cipher_list(SSL *ssl, const char *str) { in SSL_set_cipher_list()
2027 int SSL_set_strict_cipher_list(SSL *ssl, const char *str) { in SSL_set_strict_cipher_list()
2035 const char *SSL_get_servername(const SSL *ssl, const int type) { in SSL_get_servername()
2049 int SSL_get_servername_type(const SSL *ssl) { in SSL_get_servername_type()
2058 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert)) { in SSL_CTX_set_custom_verify()
2064 SSL *ssl, int mode, in SSL_set_custom_verify()
2065 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert)) { in SSL_set_custom_verify()
2077 void SSL_enable_signed_cert_timestamps(SSL *ssl) { in SSL_enable_signed_cert_timestamps()
2088 void SSL_enable_ocsp_stapling(SSL *ssl) { in SSL_enable_ocsp_stapling()
2095 void SSL_get0_signed_cert_timestamp_list(const SSL *ssl, const uint8_t **out, in SSL_get0_signed_cert_timestamp_list()
2108 void SSL_get0_ocsp_response(const SSL *ssl, const uint8_t **out, in SSL_get0_ocsp_response()
2121 int SSL_set_tlsext_host_name(SSL *ssl, const char *name) { in SSL_set_tlsext_host_name()
2129 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL3_EXT_INVALID_SERVERNAME); in SSL_set_tlsext_host_name()
2134 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_set_tlsext_host_name()
2141 SSL_CTX *ctx, int (*callback)(SSL *ssl, int *out_alert, void *arg)) { in SSL_CTX_set_tlsext_servername_callback()
2184 void SSL_get0_next_proto_negotiated(const SSL *ssl, const uint8_t **out_data, in SSL_get0_next_proto_negotiated()
2192 int (*cb)(SSL *ssl, const uint8_t **out, unsigned *out_len, void *arg), in SSL_CTX_set_next_protos_advertised_cb()
2199 SSL_CTX *ctx, int (*cb)(SSL *ssl, uint8_t **out, uint8_t *out_len, in SSL_CTX_set_next_proto_select_cb()
2214 int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos, unsigned protos_len) { in SSL_set_alpn_protos()
2226 int (*cb)(SSL *ssl, const uint8_t **out, in SSL_CTX_set_alpn_select_cb()
2234 void SSL_get0_alpn_selected(const SSL *ssl, const uint8_t **out_data, in SSL_get0_alpn_selected()
2276 void SSL_set_tls_channel_id_enabled(SSL *ssl, int enabled) { in SSL_set_tls_channel_id_enabled()
2283 int SSL_enable_tls_channel_id(SSL *ssl) { in SSL_enable_tls_channel_id()
2297 OPENSSL_PUT_ERROR(SSL, SSL_R_CHANNEL_ID_NOT_P256); in SSL_CTX_set1_tls_channel_id()
2307 int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key) { in SSL_set1_tls_channel_id()
2312 OPENSSL_PUT_ERROR(SSL, SSL_R_CHANNEL_ID_NOT_P256); in SSL_set1_tls_channel_id()
2322 size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_tls_channel_id()
2330 int SSL_set_token_binding_params(SSL *ssl, const uint8_t *params, size_t len) { in SSL_set_token_binding_params()
2335 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_set_token_binding_params()
2341 int SSL_is_token_binding_negotiated(const SSL *ssl) { in SSL_is_token_binding_negotiated()
2345 uint8_t SSL_get_negotiated_token_binding_param(const SSL *ssl) { in SSL_get_negotiated_token_binding_param()
2349 size_t SSL_get0_certificate_types(const SSL *ssl, const uint8_t **out_types) { in SSL_get0_certificate_types()
2358 size_t SSL_get0_peer_verify_algorithms(const SSL *ssl, in SSL_get0_peer_verify_algorithms()
2368 EVP_PKEY *SSL_get_privatekey(const SSL *ssl) { in SSL_get_privatekey()
2388 const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl) { in SSL_get_current_cipher()
2393 int SSL_session_reused(const SSL *ssl) { in SSL_session_reused()
2397 const COMP_METHOD *SSL_get_current_compression(SSL *ssl) { return NULL; } in SSL_get_current_compression()
2399 const COMP_METHOD *SSL_get_current_expansion(SSL *ssl) { return NULL; } in SSL_get_current_expansion()
2401 int SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **out_key) { return 0; } in SSL_get_server_tmp_key()
2411 void SSL_set_quiet_shutdown(SSL *ssl, int mode) { in SSL_set_quiet_shutdown()
2415 int SSL_get_quiet_shutdown(const SSL *ssl) { return ssl->quiet_shutdown; } in SSL_get_quiet_shutdown()
2417 void SSL_set_shutdown(SSL *ssl, int mode) { in SSL_set_shutdown()
2433 int SSL_get_shutdown(const SSL *ssl) { in SSL_get_shutdown()
2447 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl) { return ssl->ctx.get(); } in SSL_get_SSL_CTX()
2449 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) { in SSL_set_SSL_CTX()
2475 void SSL_set_info_callback(SSL *ssl, in SSL_set_info_callback()
2476 void (*cb)(const SSL *ssl, int type, int value)) { in SSL_set_info_callback()
2480 void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl, int type, in SSL_get_info_callback()
2485 int SSL_state(const SSL *ssl) { in SSL_state()
2489 void SSL_set_state(SSL *ssl, int state) { } in SSL_set_state()
2491 char *SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len) { in SSL_get_shared_ciphers()
2507 int SSL_set_quic_method(SSL *ssl, const SSL_QUIC_METHOD *quic_method) { in SSL_set_quic_method()
2525 int SSL_set_ex_data(SSL *ssl, int idx, void *data) { in SSL_set_ex_data()
2529 void *SSL_get_ex_data(const SSL *ssl, int idx) { in SSL_get_ex_data()
2552 int SSL_want(const SSL *ssl) { return ssl->s3->rwstate; } in SSL_want()
2555 RSA *(*cb)(SSL *ssl, int is_export, in SSL_CTX_set_tmp_rsa_callback()
2558 void SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl, int is_export, in SSL_set_tmp_rsa_callback()
2562 DH *(*cb)(SSL *ssl, int is_export, in SSL_CTX_set_tmp_dh_callback()
2565 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*cb)(SSL *ssl, int is_export, in SSL_set_tmp_dh_callback()
2571 OPENSSL_PUT_ERROR(SSL, SSL_R_DATA_LENGTH_TOO_LONG); in use_psk_identity_hint()
2596 int SSL_use_psk_identity_hint(SSL *ssl, const char *identity_hint) { in SSL_use_psk_identity_hint()
2603 const char *SSL_get_psk_identity_hint(const SSL *ssl) { in SSL_get_psk_identity_hint()
2614 const char *SSL_get_psk_identity(const SSL *ssl) { in SSL_get_psk_identity()
2626 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *hint, char *identity, in SSL_set_psk_client_callback()
2636 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *hint, char *identity, in SSL_CTX_set_psk_client_callback()
2643 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *identity, uint8_t *psk, in SSL_set_psk_server_callback()
2652 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *identity, in SSL_CTX_set_psk_server_callback()
2660 size_t len, SSL *ssl, void *arg)) { in SSL_CTX_set_msg_callback()
2668 void SSL_set_msg_callback(SSL *ssl, in SSL_set_msg_callback()
2670 const void *buf, size_t len, SSL *ssl, in SSL_set_msg_callback()
2675 void SSL_set_msg_callback_arg(SSL *ssl, void *arg) { in SSL_set_msg_callback_arg()
2680 void (*cb)(const SSL *ssl, const char *line)) { in SSL_CTX_set_keylog_callback()
2684 void (*SSL_CTX_get_keylog_callback(const SSL_CTX *ctx))(const SSL *ssl, in SSL_CTX_get_keylog_callback()
2690 void (*cb)(const SSL *ssl, in SSL_CTX_set_current_time_cb()
2695 int SSL_is_init_finished(const SSL *ssl) { in SSL_is_init_finished()
2699 int SSL_in_init(const SSL *ssl) { in SSL_in_init()
2707 int SSL_in_false_start(const SSL *ssl) { in SSL_in_false_start()
2714 int SSL_cutthrough_complete(const SSL *ssl) { in SSL_cutthrough_complete()
2718 int SSL_is_server(const SSL *ssl) { return ssl->server; } in SSL_is_server()
2720 int SSL_is_dtls(const SSL *ssl) { return ssl->method->is_dtls; } in SSL_is_dtls()
2737 void SSL_set_enforce_rsa_key_usage(SSL *ssl, int enabled) { in SSL_set_enforce_rsa_key_usage()
2744 void SSL_set_renegotiate_mode(SSL *ssl, enum ssl_renegotiate_mode_t mode) { in SSL_set_renegotiate_mode()
2753 int SSL_get_ivs(const SSL *ssl, const uint8_t **out_read_iv, in SSL_get_ivs()
2772 uint64_t SSL_get_read_sequence(const SSL *ssl) { in SSL_get_read_sequence()
2782 uint64_t SSL_get_write_sequence(const SSL *ssl) { in SSL_get_write_sequence()
2791 uint16_t SSL_get_peer_signature_algorithm(const SSL *ssl) { in SSL_get_peer_signature_algorithm()
2802 size_t SSL_get_client_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_client_random()
2813 size_t SSL_get_server_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_server_random()
2824 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl) { in SSL_get_pending_cipher()
2832 void SSL_set_retain_only_sha256_of_client_certs(SSL *ssl, int enabled) { in SSL_set_retain_only_sha256_of_client_certs()
2847 int32_t SSL_get_ticket_age_skew(const SSL *ssl) { in SSL_get_ticket_age_skew()
2855 int SSL_is_tls13_downgrade(const SSL *ssl) { return ssl->s3->tls13_downgrade; } in SSL_is_tls13_downgrade()
2861 void SSL_set_ignore_tls13_downgrade(SSL *ssl, int ignore) { in SSL_set_ignore_tls13_downgrade()
2868 void SSL_set_shed_handshake_config(SSL *ssl, int enable) { in SSL_set_shed_handshake_config()
2875 void SSL_set_jdk11_workaround(SSL *ssl, int enable) { in SSL_set_jdk11_workaround()
2882 int SSL_clear(SSL *ssl) { in SSL_clear()
2932 int SSL_num_renegotiations(const SSL *ssl) { in SSL_num_renegotiations()
2937 int SSL_need_tmp_RSA(const SSL *ssl) { return 0; } in SSL_need_tmp_RSA()
2939 int SSL_set_tmp_rsa(SSL *ssl, const RSA *rsa) { return 1; } in SSL_set_tmp_rsa()
2942 int SSL_cache_hit(SSL *ssl) { return SSL_session_reused(ssl); } in SSL_cache_hit()
2946 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_CTX_set_tmp_ecdh()
2953 int SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ec_key) { in SSL_set_tmp_ecdh()
2955 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_set_tmp_ecdh()
2967 int SSL_set_tlsext_status_type(SSL *ssl, int type) { in SSL_set_tlsext_status_type()
2975 int SSL_get_tlsext_status_type(const SSL *ssl) { in SSL_get_tlsext_status_type()
2988 int SSL_set_tlsext_status_ocsp_resp(SSL *ssl, uint8_t *resp, size_t resp_len) { in SSL_set_tlsext_status_ocsp_resp()
2996 size_t SSL_get_tlsext_status_ocsp_resp(const SSL *ssl, const uint8_t **out) { in SSL_get_tlsext_status_ocsp_resp()
3003 int (*callback)(SSL *ssl, void *arg)) { in SSL_CTX_set_tlsext_status_cb()