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 int ssl_log_secret(const SSL *ssl, const char *label, const uint8_t *secret, in ssl_log_secret()
368 void ssl_do_info_callback(const SSL *ssl, int type, int value) { in ssl_do_info_callback()
369 void (*cb)(const SSL *ssl, int type, int value) = NULL; in ssl_do_info_callback()
381 void ssl_do_msg_callback(SSL *ssl, int is_write, int content_type, in ssl_do_msg_callback()
406 void ssl_get_current_time(const SSL *ssl, struct OPENSSL_timeval *out_clock) { in ssl_get_current_time()
462 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()
592 OPENSSL_PUT_ERROR(SSL, SSL_R_NULL_SSL_METHOD_PASSED); in SSL_CTX_new()
616 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in SSL_CTX_new()
663 SSL *SSL_new(SSL_CTX *ctx) { in SSL_new()
665 OPENSSL_PUT_ERROR(SSL, SSL_R_NULL_SSL_CTX); in SSL_new()
669 UniquePtr<SSL> ssl = MakeUnique<SSL>(ctx); in SSL_new()
727 SSL_CONFIG::SSL_CONFIG(SSL *ssl_arg) in SSL_CONFIG()
747 void SSL_free(SSL *ssl) { in SSL_free()
751 void SSL_set_connect_state(SSL *ssl) { in SSL_set_connect_state()
756 void SSL_set_accept_state(SSL *ssl) { in SSL_set_accept_state()
761 void SSL_set0_rbio(SSL *ssl, BIO *rbio) { in SSL_set0_rbio()
765 void SSL_set0_wbio(SSL *ssl, BIO *wbio) { in SSL_set0_wbio()
769 void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio) { in SSL_set_bio()
803 BIO *SSL_get_rbio(const SSL *ssl) { return ssl->rbio.get(); } in SSL_get_rbio()
805 BIO *SSL_get_wbio(const SSL *ssl) { return ssl->wbio.get(); } in SSL_get_wbio()
807 size_t SSL_quic_max_handshake_flight_len(const SSL *ssl, in SSL_quic_max_handshake_flight_len()
845 enum ssl_encryption_level_t SSL_quic_read_level(const SSL *ssl) { in SSL_quic_read_level()
849 enum ssl_encryption_level_t SSL_quic_write_level(const SSL *ssl) { in SSL_quic_write_level()
853 int SSL_provide_quic_data(SSL *ssl, enum ssl_encryption_level_t level, in SSL_provide_quic_data()
856 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_provide_quic_data()
861 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_ENCRYPTION_LEVEL_RECEIVED); in SSL_provide_quic_data()
868 OPENSSL_PUT_ERROR(SSL, SSL_R_EXCESSIVE_MESSAGE_SIZE); in SSL_provide_quic_data()
875 int SSL_do_handshake(SSL *ssl) { in SSL_do_handshake()
879 OPENSSL_PUT_ERROR(SSL, SSL_R_CONNECTION_TYPE_NOT_SET); in SSL_do_handshake()
907 int SSL_connect(SSL *ssl) { in SSL_connect()
916 int SSL_accept(SSL *ssl) { in SSL_accept()
925 static int ssl_do_post_handshake(SSL *ssl, const SSLMessage &msg) { in ssl_do_post_handshake()
933 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in ssl_do_post_handshake()
940 OPENSSL_PUT_ERROR(SSL, SSL_R_BAD_HELLO_REQUEST); in ssl_do_post_handshake()
955 OPENSSL_PUT_ERROR(SSL, SSL_R_NO_RENEGOTIATION); in ssl_do_post_handshake()
962 OPENSSL_PUT_ERROR(SSL, ERR_R_INTERNAL_ERROR); in ssl_do_post_handshake()
974 int SSL_process_quic_post_handshake(SSL *ssl) { in SSL_process_quic_post_handshake()
978 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_process_quic_post_handshake()
1001 static int ssl_read_impl(SSL *ssl) { in ssl_read_impl()
1005 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in ssl_read_impl()
1024 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in ssl_read_impl()
1066 int SSL_read(SSL *ssl, void *buf, int num) { in SSL_read()
1081 int SSL_peek(SSL *ssl, void *buf, int num) { in SSL_peek()
1083 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_peek()
1100 int SSL_write(SSL *ssl, const void *buf, int num) { in SSL_write()
1104 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_write()
1109 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in SSL_write()
1114 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in SSL_write()
1128 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_HANDSHAKE_FAILURE); in SSL_write()
1139 int SSL_key_update(SSL *ssl, int request_type) { in SSL_key_update()
1143 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in SSL_key_update()
1148 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_key_update()
1153 OPENSSL_PUT_ERROR(SSL, SSL_R_HANDSHAKE_NOT_COMPLETE); in SSL_key_update()
1158 OPENSSL_PUT_ERROR(SSL, SSL_R_WRONG_SSL_VERSION); in SSL_key_update()
1170 int SSL_shutdown(SSL *ssl) { in SSL_shutdown()
1174 OPENSSL_PUT_ERROR(SSL, SSL_R_UNINITIALIZED); in SSL_shutdown()
1221 OPENSSL_PUT_ERROR(SSL, SSL_R_APPLICATION_DATA_ON_SHUTDOWN); in SSL_shutdown()
1234 int SSL_send_fatal_alert(SSL *ssl, uint8_t alert) { in SSL_send_fatal_alert()
1239 OPENSSL_PUT_ERROR(SSL, SSL_R_PROTOCOL_IS_SHUTDOWN); in SSL_send_fatal_alert()
1248 int SSL_set_quic_transport_params(SSL *ssl, const uint8_t *params, in SSL_set_quic_transport_params()
1254 void SSL_get_peer_quic_transport_params(const SSL *ssl, in SSL_get_peer_quic_transport_params()
1265 void SSL_set_early_data_enabled(SSL *ssl, int enabled) { in SSL_set_early_data_enabled()
1269 int SSL_in_early_data(const SSL *ssl) { in SSL_in_early_data()
1276 int SSL_early_data_accepted(const SSL *ssl) { in SSL_early_data_accepted()
1280 void SSL_reset_early_data_reject(SSL *ssl) { in SSL_reset_early_data_reject()
1308 int SSL_get_error(const SSL *ssl, int ret_code) { in SSL_get_error()
1421 uint32_t SSL_set_options(SSL *ssl, uint32_t options) { in SSL_set_options()
1426 uint32_t SSL_clear_options(SSL *ssl, uint32_t options) { in SSL_clear_options()
1431 uint32_t SSL_get_options(const SSL *ssl) { return ssl->options; } in SSL_get_options()
1445 uint32_t SSL_set_mode(SSL *ssl, uint32_t mode) { in SSL_set_mode()
1450 uint32_t SSL_clear_mode(SSL *ssl, uint32_t mode) { in SSL_clear_mode()
1455 uint32_t SSL_get_mode(const SSL *ssl) { return ssl->mode; } in SSL_get_mode()
1461 int SSL_get_tls_unique(const SSL *ssl, uint8_t *out, size_t *out_len, in SSL_get_tls_unique()
1498 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL_SESSION_ID_CONTEXT_TOO_LONG); in set_session_id_context()
1513 int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx, in SSL_set_session_id_context()
1521 const uint8_t *SSL_get0_session_id_context(const SSL *ssl, size_t *out_len) { in SSL_get0_session_id_context()
1531 void SSL_certs_clear(SSL *ssl) { in SSL_certs_clear()
1538 int SSL_get_fd(const SSL *ssl) { return SSL_get_rfd(ssl); } in SSL_get_fd()
1540 int SSL_get_rfd(const SSL *ssl) { in SSL_get_rfd()
1549 int SSL_get_wfd(const SSL *ssl) { in SSL_get_wfd()
1558 int SSL_set_fd(SSL *ssl, int fd) { in SSL_set_fd()
1561 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_set_fd()
1569 int SSL_set_wfd(SSL *ssl, int fd) { in SSL_set_wfd()
1575 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_set_wfd()
1589 int SSL_set_rfd(SSL *ssl, int fd) { in SSL_set_rfd()
1595 OPENSSL_PUT_ERROR(SSL, ERR_R_BUF_LIB); in SSL_set_rfd()
1617 size_t SSL_get_finished(const SSL *ssl, void *buf, size_t count) { in SSL_get_finished()
1632 size_t SSL_get_peer_finished(const SSL *ssl, void *buf, size_t count) { in SSL_get_peer_finished()
1647 int SSL_get_verify_mode(const SSL *ssl) { in SSL_get_verify_mode()
1655 int SSL_get_extms_support(const SSL *ssl) { in SSL_get_extms_support()
1680 int SSL_get_read_ahead(const SSL *ssl) { return 0; } in SSL_get_read_ahead()
1684 int SSL_set_read_ahead(SSL *ssl, int yes) { return 1; } in SSL_set_read_ahead()
1686 int SSL_pending(const SSL *ssl) { in SSL_pending()
1695 int SSL_check_private_key(const SSL *ssl) { in SSL_check_private_key()
1703 long SSL_get_default_timeout(const SSL *ssl) { in SSL_get_default_timeout()
1707 int SSL_renegotiate(SSL *ssl) { in SSL_renegotiate()
1709 OPENSSL_PUT_ERROR(SSL, ERR_R_SHOULD_NOT_HAVE_BEEN_CALLED); in SSL_renegotiate()
1713 int SSL_renegotiate_pending(SSL *ssl) { in SSL_renegotiate_pending()
1717 int SSL_total_renegotiations(const SSL *ssl) { in SSL_total_renegotiations()
1732 size_t SSL_get_max_cert_list(const SSL *ssl) { in SSL_get_max_cert_list()
1736 void SSL_set_max_cert_list(SSL *ssl, size_t max_cert_list) { in SSL_set_max_cert_list()
1755 int SSL_set_max_send_fragment(SSL *ssl, size_t max_send_fragment) { in SSL_set_max_send_fragment()
1767 int SSL_set_mtu(SSL *ssl, unsigned mtu) { in SSL_set_mtu()
1775 int SSL_get_secure_renegotiation_support(const SSL *ssl) { in SSL_get_secure_renegotiation_support()
1814 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_TICKET_KEYS_LENGTH); in SSL_CTX_get_tlsext_ticket_keys()
1837 OPENSSL_PUT_ERROR(SSL, SSL_R_INVALID_TICKET_KEYS_LENGTH); in SSL_CTX_set_tlsext_ticket_keys()
1857 SSL_CTX *ctx, int (*callback)(SSL *ssl, uint8_t *key_name, uint8_t *iv, in SSL_CTX_set_tlsext_ticket_key_cb()
1869 int SSL_set1_curves(SSL *ssl, const int *curves, size_t curves_len) { in SSL_set1_curves()
1881 int SSL_set1_curves_list(SSL *ssl, const char *curves) { in SSL_set1_curves_list()
1888 uint16_t SSL_get_curve_id(const SSL *ssl) { in SSL_get_curve_id()
1903 int SSL_set_tmp_dh(SSL *ssl, const DH *dh) { in SSL_set_tmp_dh()
1918 STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl) { in STACK_OF()
1931 const char *SSL_get_cipher_list(const SSL *ssl, int n) { in SSL_get_cipher_list()
1957 int SSL_set_cipher_list(SSL *ssl, const char *str) { in SSL_set_cipher_list()
1965 int SSL_set_strict_cipher_list(SSL *ssl, const char *str) { in SSL_set_strict_cipher_list()
1973 const char *SSL_get_servername(const SSL *ssl, const int type) { in SSL_get_servername()
1987 int SSL_get_servername_type(const SSL *ssl) { in SSL_get_servername_type()
1996 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert)) { in SSL_CTX_set_custom_verify()
2002 SSL *ssl, int mode, in SSL_set_custom_verify()
2003 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert)) { in SSL_set_custom_verify()
2015 void SSL_enable_signed_cert_timestamps(SSL *ssl) { in SSL_enable_signed_cert_timestamps()
2026 void SSL_enable_ocsp_stapling(SSL *ssl) { in SSL_enable_ocsp_stapling()
2033 void SSL_get0_signed_cert_timestamp_list(const SSL *ssl, const uint8_t **out, in SSL_get0_signed_cert_timestamp_list()
2046 void SSL_get0_ocsp_response(const SSL *ssl, const uint8_t **out, in SSL_get0_ocsp_response()
2059 int SSL_set_tlsext_host_name(SSL *ssl, const char *name) { in SSL_set_tlsext_host_name()
2067 OPENSSL_PUT_ERROR(SSL, SSL_R_SSL3_EXT_INVALID_SERVERNAME); in SSL_set_tlsext_host_name()
2072 OPENSSL_PUT_ERROR(SSL, ERR_R_MALLOC_FAILURE); in SSL_set_tlsext_host_name()
2079 SSL_CTX *ctx, int (*callback)(SSL *ssl, int *out_alert, void *arg)) { in SSL_CTX_set_tlsext_servername_callback()
2122 void SSL_get0_next_proto_negotiated(const SSL *ssl, const uint8_t **out_data, in SSL_get0_next_proto_negotiated()
2130 int (*cb)(SSL *ssl, const uint8_t **out, unsigned *out_len, void *arg), in SSL_CTX_set_next_protos_advertised_cb()
2137 SSL_CTX *ctx, int (*cb)(SSL *ssl, uint8_t **out, uint8_t *out_len, in SSL_CTX_set_next_proto_select_cb()
2152 int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos, unsigned protos_len) { in SSL_set_alpn_protos()
2164 int (*cb)(SSL *ssl, const uint8_t **out, in SSL_CTX_set_alpn_select_cb()
2172 void SSL_get0_alpn_selected(const SSL *ssl, const uint8_t **out_data, in SSL_get0_alpn_selected()
2233 void SSL_set_tls_channel_id_enabled(SSL *ssl, int enabled) { in SSL_set_tls_channel_id_enabled()
2240 int SSL_enable_tls_channel_id(SSL *ssl) { in SSL_enable_tls_channel_id()
2254 OPENSSL_PUT_ERROR(SSL, SSL_R_CHANNEL_ID_NOT_P256); in SSL_CTX_set1_tls_channel_id()
2264 int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key) { in SSL_set1_tls_channel_id()
2269 OPENSSL_PUT_ERROR(SSL, SSL_R_CHANNEL_ID_NOT_P256); in SSL_set1_tls_channel_id()
2279 size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_tls_channel_id()
2287 int SSL_set_token_binding_params(SSL *ssl, const uint8_t *params, size_t len) { in SSL_set_token_binding_params()
2292 OPENSSL_PUT_ERROR(SSL, ERR_R_OVERFLOW); in SSL_set_token_binding_params()
2298 int SSL_is_token_binding_negotiated(const SSL *ssl) { in SSL_is_token_binding_negotiated()
2302 uint8_t SSL_get_negotiated_token_binding_param(const SSL *ssl) { in SSL_get_negotiated_token_binding_param()
2306 size_t SSL_get0_certificate_types(const SSL *ssl, const uint8_t **out_types) { in SSL_get0_certificate_types()
2315 size_t SSL_get0_peer_verify_algorithms(const SSL *ssl, in SSL_get0_peer_verify_algorithms()
2325 EVP_PKEY *SSL_get_privatekey(const SSL *ssl) { in SSL_get_privatekey()
2345 const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl) { in SSL_get_current_cipher()
2350 int SSL_session_reused(const SSL *ssl) { in SSL_session_reused()
2354 const COMP_METHOD *SSL_get_current_compression(SSL *ssl) { return NULL; } in SSL_get_current_compression()
2356 const COMP_METHOD *SSL_get_current_expansion(SSL *ssl) { return NULL; } in SSL_get_current_expansion()
2358 int SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **out_key) { return 0; } in SSL_get_server_tmp_key()
2368 void SSL_set_quiet_shutdown(SSL *ssl, int mode) { in SSL_set_quiet_shutdown()
2372 int SSL_get_quiet_shutdown(const SSL *ssl) { return ssl->quiet_shutdown; } in SSL_get_quiet_shutdown()
2374 void SSL_set_shutdown(SSL *ssl, int mode) { in SSL_set_shutdown()
2390 int SSL_get_shutdown(const SSL *ssl) { in SSL_get_shutdown()
2404 SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl) { return ssl->ctx.get(); } in SSL_get_SSL_CTX()
2406 SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx) { in SSL_set_SSL_CTX()
2432 void SSL_set_info_callback(SSL *ssl, in SSL_set_info_callback()
2433 void (*cb)(const SSL *ssl, int type, int value)) { in SSL_set_info_callback()
2437 void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl, int type, in SSL_get_info_callback()
2442 int SSL_state(const SSL *ssl) { in SSL_state()
2446 void SSL_set_state(SSL *ssl, int state) { } in SSL_set_state()
2448 char *SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len) { in SSL_get_shared_ciphers()
2464 int SSL_set_quic_method(SSL *ssl, const SSL_QUIC_METHOD *quic_method) { in SSL_set_quic_method()
2482 int SSL_set_ex_data(SSL *ssl, int idx, void *data) { in SSL_set_ex_data()
2486 void *SSL_get_ex_data(const SSL *ssl, int idx) { in SSL_get_ex_data()
2509 int SSL_want(const SSL *ssl) { return ssl->s3->rwstate; } in SSL_want()
2512 RSA *(*cb)(SSL *ssl, int is_export, in SSL_CTX_set_tmp_rsa_callback()
2515 void SSL_set_tmp_rsa_callback(SSL *ssl, RSA *(*cb)(SSL *ssl, int is_export, in SSL_set_tmp_rsa_callback()
2519 DH *(*cb)(SSL *ssl, int is_export, in SSL_CTX_set_tmp_dh_callback()
2522 void SSL_set_tmp_dh_callback(SSL *ssl, DH *(*cb)(SSL *ssl, int is_export, in SSL_set_tmp_dh_callback()
2528 OPENSSL_PUT_ERROR(SSL, SSL_R_DATA_LENGTH_TOO_LONG); in use_psk_identity_hint()
2553 int SSL_use_psk_identity_hint(SSL *ssl, const char *identity_hint) { in SSL_use_psk_identity_hint()
2560 const char *SSL_get_psk_identity_hint(const SSL *ssl) { in SSL_get_psk_identity_hint()
2571 const char *SSL_get_psk_identity(const SSL *ssl) { in SSL_get_psk_identity()
2583 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *hint, char *identity, in SSL_set_psk_client_callback()
2593 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *hint, char *identity, in SSL_CTX_set_psk_client_callback()
2600 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *identity, uint8_t *psk, in SSL_set_psk_server_callback()
2609 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *identity, in SSL_CTX_set_psk_server_callback()
2617 size_t len, SSL *ssl, void *arg)) { in SSL_CTX_set_msg_callback()
2625 void SSL_set_msg_callback(SSL *ssl, in SSL_set_msg_callback()
2627 const void *buf, size_t len, SSL *ssl, in SSL_set_msg_callback()
2632 void SSL_set_msg_callback_arg(SSL *ssl, void *arg) { in SSL_set_msg_callback_arg()
2637 void (*cb)(const SSL *ssl, const char *line)) { in SSL_CTX_set_keylog_callback()
2641 void (*SSL_CTX_get_keylog_callback(const SSL_CTX *ctx))(const SSL *ssl, in SSL_CTX_get_keylog_callback()
2647 void (*cb)(const SSL *ssl, in SSL_CTX_set_current_time_cb()
2652 int SSL_is_init_finished(const SSL *ssl) { in SSL_is_init_finished()
2656 int SSL_in_init(const SSL *ssl) { in SSL_in_init()
2664 int SSL_in_false_start(const SSL *ssl) { in SSL_in_false_start()
2671 int SSL_cutthrough_complete(const SSL *ssl) { in SSL_cutthrough_complete()
2675 int SSL_is_server(const SSL *ssl) { return ssl->server; } in SSL_is_server()
2677 int SSL_is_dtls(const SSL *ssl) { return ssl->method->is_dtls; } in SSL_is_dtls()
2694 void SSL_set_enforce_rsa_key_usage(SSL *ssl, int enabled) { in SSL_set_enforce_rsa_key_usage()
2701 void SSL_set_renegotiate_mode(SSL *ssl, enum ssl_renegotiate_mode_t mode) { in SSL_set_renegotiate_mode()
2710 int SSL_get_ivs(const SSL *ssl, const uint8_t **out_read_iv, in SSL_get_ivs()
2729 uint64_t SSL_get_read_sequence(const SSL *ssl) { in SSL_get_read_sequence()
2739 uint64_t SSL_get_write_sequence(const SSL *ssl) { in SSL_get_write_sequence()
2748 uint16_t SSL_get_peer_signature_algorithm(const SSL *ssl) { in SSL_get_peer_signature_algorithm()
2759 size_t SSL_get_client_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_client_random()
2770 size_t SSL_get_server_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_server_random()
2781 const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl) { in SSL_get_pending_cipher()
2789 void SSL_set_retain_only_sha256_of_client_certs(SSL *ssl, int enabled) { in SSL_set_retain_only_sha256_of_client_certs()
2804 int32_t SSL_get_ticket_age_skew(const SSL *ssl) { in SSL_get_ticket_age_skew()
2812 int SSL_is_tls13_downgrade(const SSL *ssl) { return ssl->s3->tls13_downgrade; } in SSL_is_tls13_downgrade()
2818 void SSL_set_ignore_tls13_downgrade(SSL *ssl, int ignore) { in SSL_set_ignore_tls13_downgrade()
2825 void SSL_set_shed_handshake_config(SSL *ssl, int enable) { in SSL_set_shed_handshake_config()
2832 void SSL_set_jdk11_workaround(SSL *ssl, int enable) { in SSL_set_jdk11_workaround()
2839 int SSL_clear(SSL *ssl) { in SSL_clear()
2889 int SSL_num_renegotiations(const SSL *ssl) { in SSL_num_renegotiations()
2894 int SSL_need_tmp_RSA(const SSL *ssl) { return 0; } in SSL_need_tmp_RSA()
2896 int SSL_set_tmp_rsa(SSL *ssl, const RSA *rsa) { return 1; } in SSL_set_tmp_rsa()
2899 int SSL_cache_hit(SSL *ssl) { return SSL_session_reused(ssl); } in SSL_cache_hit()
2903 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_CTX_set_tmp_ecdh()
2910 int SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ec_key) { in SSL_set_tmp_ecdh()
2912 OPENSSL_PUT_ERROR(SSL, ERR_R_PASSED_NULL_PARAMETER); in SSL_set_tmp_ecdh()
2924 int SSL_set_tlsext_status_type(SSL *ssl, int type) { in SSL_set_tlsext_status_type()
2932 int SSL_get_tlsext_status_type(const SSL *ssl) { in SSL_get_tlsext_status_type()
2945 int SSL_set_tlsext_status_ocsp_resp(SSL *ssl, uint8_t *resp, size_t resp_len) { in SSL_set_tlsext_status_ocsp_resp()
2953 size_t SSL_get_tlsext_status_ocsp_resp(const SSL *ssl, const uint8_t **out) { in SSL_get_tlsext_status_ocsp_resp()
2960 int (*callback)(SSL *ssl, void *arg)) { in SSL_CTX_set_tlsext_status_cb()