Lines Matching refs:OPENSSL_EXPORT
189 OPENSSL_EXPORT const SSL_METHOD *TLS_method(void);
192 OPENSSL_EXPORT const SSL_METHOD *DTLS_method(void);
198 OPENSSL_EXPORT const SSL_METHOD *TLS_with_buffers_method(void);
202 OPENSSL_EXPORT const SSL_METHOD *DTLS_with_buffers_method(void);
206 OPENSSL_EXPORT SSL_CTX *SSL_CTX_new(const SSL_METHOD *method);
209 OPENSSL_EXPORT int SSL_CTX_up_ref(SSL_CTX *ctx);
212 OPENSSL_EXPORT void SSL_CTX_free(SSL_CTX *ctx);
227 OPENSSL_EXPORT SSL *SSL_new(SSL_CTX *ctx);
230 OPENSSL_EXPORT void SSL_free(SSL *ssl);
235 OPENSSL_EXPORT SSL_CTX *SSL_get_SSL_CTX(const SSL *ssl);
238 OPENSSL_EXPORT void SSL_set_connect_state(SSL *ssl);
241 OPENSSL_EXPORT void SSL_set_accept_state(SSL *ssl);
245 OPENSSL_EXPORT int SSL_is_server(const SSL *ssl);
248 OPENSSL_EXPORT int SSL_is_dtls(const SSL *ssl);
268 OPENSSL_EXPORT void SSL_set_bio(SSL *ssl, BIO *rbio, BIO *wbio);
275 OPENSSL_EXPORT void SSL_set0_rbio(SSL *ssl, BIO *rbio);
282 OPENSSL_EXPORT void SSL_set0_wbio(SSL *ssl, BIO *wbio);
285 OPENSSL_EXPORT BIO *SSL_get_rbio(const SSL *ssl);
288 OPENSSL_EXPORT BIO *SSL_get_wbio(const SSL *ssl);
291 OPENSSL_EXPORT int SSL_get_fd(const SSL *ssl);
300 OPENSSL_EXPORT int SSL_get_rfd(const SSL *ssl);
309 OPENSSL_EXPORT int SSL_get_wfd(const SSL *ssl);
316 OPENSSL_EXPORT int SSL_set_fd(SSL *ssl, int fd);
322 OPENSSL_EXPORT int SSL_set_rfd(SSL *ssl, int fd);
328 OPENSSL_EXPORT int SSL_set_wfd(SSL *ssl, int fd);
343 OPENSSL_EXPORT int SSL_do_handshake(SSL *ssl);
347 OPENSSL_EXPORT int SSL_connect(SSL *ssl);
351 OPENSSL_EXPORT int SSL_accept(SSL *ssl);
360 OPENSSL_EXPORT int SSL_read(SSL *ssl, void *buf, int num);
363 OPENSSL_EXPORT int SSL_peek(SSL *ssl, void *buf, int num);
367 OPENSSL_EXPORT int SSL_pending(const SSL *ssl);
395 OPENSSL_EXPORT int SSL_write(SSL *ssl, const void *buf, int num);
415 OPENSSL_EXPORT int SSL_key_update(SSL *ssl, int request_type);
434 OPENSSL_EXPORT int SSL_shutdown(SSL *ssl);
439 OPENSSL_EXPORT void SSL_CTX_set_quiet_shutdown(SSL_CTX *ctx, int mode);
443 OPENSSL_EXPORT int SSL_CTX_get_quiet_shutdown(const SSL_CTX *ctx);
448 OPENSSL_EXPORT void SSL_set_quiet_shutdown(SSL *ssl, int mode);
452 OPENSSL_EXPORT int SSL_get_quiet_shutdown(const SSL *ssl);
457 OPENSSL_EXPORT int SSL_get_error(const SSL *ssl, int ret_code);
573 OPENSSL_EXPORT const char *SSL_error_description(int err);
577 OPENSSL_EXPORT int SSL_set_mtu(SSL *ssl, unsigned mtu);
586 OPENSSL_EXPORT void DTLSv1_set_initial_timeout_duration(SSL *ssl,
598 OPENSSL_EXPORT int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out);
617 OPENSSL_EXPORT int DTLSv1_handle_timeout(SSL *ssl);
637 OPENSSL_EXPORT int SSL_CTX_set_min_proto_version(SSL_CTX *ctx,
643 OPENSSL_EXPORT int SSL_CTX_set_max_proto_version(SSL_CTX *ctx,
647 OPENSSL_EXPORT uint16_t SSL_CTX_get_min_proto_version(const SSL_CTX *ctx);
650 OPENSSL_EXPORT uint16_t SSL_CTX_get_max_proto_version(const SSL_CTX *ctx);
655 OPENSSL_EXPORT int SSL_set_min_proto_version(SSL *ssl, uint16_t version);
660 OPENSSL_EXPORT int SSL_set_max_proto_version(SSL *ssl, uint16_t version);
664 OPENSSL_EXPORT uint16_t SSL_get_min_proto_version(const SSL *ssl);
668 OPENSSL_EXPORT uint16_t SSL_get_max_proto_version(const SSL *ssl);
673 OPENSSL_EXPORT int SSL_version(const SSL *ssl);
705 OPENSSL_EXPORT uint32_t SSL_CTX_set_options(SSL_CTX *ctx, uint32_t options);
710 OPENSSL_EXPORT uint32_t SSL_CTX_clear_options(SSL_CTX *ctx, uint32_t options);
714 OPENSSL_EXPORT uint32_t SSL_CTX_get_options(const SSL_CTX *ctx);
719 OPENSSL_EXPORT uint32_t SSL_set_options(SSL *ssl, uint32_t options);
724 OPENSSL_EXPORT uint32_t SSL_clear_options(SSL *ssl, uint32_t options);
728 OPENSSL_EXPORT uint32_t SSL_get_options(const SSL *ssl);
787 OPENSSL_EXPORT uint32_t SSL_CTX_set_mode(SSL_CTX *ctx, uint32_t mode);
792 OPENSSL_EXPORT uint32_t SSL_CTX_clear_mode(SSL_CTX *ctx, uint32_t mode);
796 OPENSSL_EXPORT uint32_t SSL_CTX_get_mode(const SSL_CTX *ctx);
801 OPENSSL_EXPORT uint32_t SSL_set_mode(SSL *ssl, uint32_t mode);
806 OPENSSL_EXPORT uint32_t SSL_clear_mode(SSL *ssl, uint32_t mode);
810 OPENSSL_EXPORT uint32_t SSL_get_mode(const SSL *ssl);
819 OPENSSL_EXPORT void SSL_CTX_set0_buffer_pool(SSL_CTX *ctx,
835 OPENSSL_EXPORT int SSL_CTX_use_certificate(SSL_CTX *ctx, X509 *x509);
839 OPENSSL_EXPORT int SSL_use_certificate(SSL *ssl, X509 *x509);
843 OPENSSL_EXPORT int SSL_CTX_use_PrivateKey(SSL_CTX *ctx, EVP_PKEY *pkey);
847 OPENSSL_EXPORT int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
852 OPENSSL_EXPORT int SSL_CTX_set0_chain(SSL_CTX *ctx, STACK_OF(X509) *chain);
857 OPENSSL_EXPORT int SSL_CTX_set1_chain(SSL_CTX *ctx, STACK_OF(X509) *chain);
862 OPENSSL_EXPORT int SSL_set0_chain(SSL *ssl, STACK_OF(X509) *chain);
867 OPENSSL_EXPORT int SSL_set1_chain(SSL *ssl, STACK_OF(X509) *chain);
872 OPENSSL_EXPORT int SSL_CTX_add0_chain_cert(SSL_CTX *ctx, X509 *x509);
877 OPENSSL_EXPORT int SSL_CTX_add1_chain_cert(SSL_CTX *ctx, X509 *x509);
881 OPENSSL_EXPORT int SSL_add0_chain_cert(SSL *ssl, X509 *x509);
884 OPENSSL_EXPORT int SSL_CTX_add_extra_chain_cert(SSL_CTX *ctx, X509 *x509);
889 OPENSSL_EXPORT int SSL_add1_chain_cert(SSL *ssl, X509 *x509);
893 OPENSSL_EXPORT int SSL_CTX_clear_chain_certs(SSL_CTX *ctx);
896 OPENSSL_EXPORT int SSL_CTX_clear_extra_chain_certs(SSL_CTX *ctx);
899 OPENSSL_EXPORT int SSL_clear_chain_certs(SSL *ssl);
913 OPENSSL_EXPORT void SSL_CTX_set_cert_cb(SSL_CTX *ctx,
929 OPENSSL_EXPORT void SSL_set_cert_cb(SSL *ssl, int (*cb)(SSL *ssl, void *arg),
941 OPENSSL_EXPORT size_t SSL_get0_certificate_types(const SSL *ssl,
953 OPENSSL_EXPORT size_t
964 OPENSSL_EXPORT size_t
970 OPENSSL_EXPORT void SSL_certs_clear(SSL *ssl);
974 OPENSSL_EXPORT int SSL_CTX_check_private_key(const SSL_CTX *ctx);
978 OPENSSL_EXPORT int SSL_check_private_key(const SSL *ssl);
981 OPENSSL_EXPORT X509 *SSL_CTX_get0_certificate(const SSL_CTX *ctx);
984 OPENSSL_EXPORT X509 *SSL_get_certificate(const SSL *ssl);
987 OPENSSL_EXPORT EVP_PKEY *SSL_CTX_get0_privatekey(const SSL_CTX *ctx);
990 OPENSSL_EXPORT EVP_PKEY *SSL_get_privatekey(const SSL *ssl);
994 OPENSSL_EXPORT int SSL_CTX_get0_chain_certs(const SSL_CTX *ctx,
998 OPENSSL_EXPORT int SSL_CTX_get_extra_chain_certs(const SSL_CTX *ctx,
1003 OPENSSL_EXPORT int SSL_get0_chain_certs(const SSL *ssl,
1014 OPENSSL_EXPORT int SSL_CTX_set_signed_cert_timestamp_list(SSL_CTX *ctx,
1022 OPENSSL_EXPORT int SSL_set_signed_cert_timestamp_list(SSL *ctx,
1029 OPENSSL_EXPORT int SSL_CTX_set_ocsp_response(SSL_CTX *ctx,
1036 OPENSSL_EXPORT int SSL_set_ocsp_response(SSL *ssl,
1062 OPENSSL_EXPORT const char *SSL_get_signature_algorithm_name(uint16_t sigalg,
1067 OPENSSL_EXPORT int SSL_get_signature_algorithm_key_type(uint16_t sigalg);
1071 OPENSSL_EXPORT const EVP_MD *SSL_get_signature_algorithm_digest(
1076 OPENSSL_EXPORT int SSL_is_signature_algorithm_rsa_pss(uint16_t sigalg);
1082 OPENSSL_EXPORT int SSL_CTX_set_signing_algorithm_prefs(SSL_CTX *ctx,
1090 OPENSSL_EXPORT int SSL_set_signing_algorithm_prefs(SSL *ssl,
1101 OPENSSL_EXPORT int SSL_CTX_set_chain_and_key(
1109 OPENSSL_EXPORT int SSL_set_chain_and_key(
1124 OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER)*
1129 OPENSSL_EXPORT int SSL_CTX_use_RSAPrivateKey(SSL_CTX *ctx, RSA *rsa);
1133 OPENSSL_EXPORT int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
1139 OPENSSL_EXPORT int SSL_CTX_use_certificate_ASN1(SSL_CTX *ctx, size_t der_len,
1141 OPENSSL_EXPORT int SSL_use_certificate_ASN1(SSL *ssl, const uint8_t *der,
1144 OPENSSL_EXPORT int SSL_CTX_use_PrivateKey_ASN1(int pk, SSL_CTX *ctx,
1147 OPENSSL_EXPORT int SSL_use_PrivateKey_ASN1(int type, SSL *ssl,
1150 OPENSSL_EXPORT int SSL_CTX_use_RSAPrivateKey_ASN1(SSL_CTX *ctx,
1153 OPENSSL_EXPORT int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const uint8_t *der,
1164 OPENSSL_EXPORT int SSL_CTX_use_RSAPrivateKey_file(SSL_CTX *ctx,
1167 OPENSSL_EXPORT int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file,
1170 OPENSSL_EXPORT int SSL_CTX_use_certificate_file(SSL_CTX *ctx, const char *file,
1172 OPENSSL_EXPORT int SSL_use_certificate_file(SSL *ssl, const char *file,
1175 OPENSSL_EXPORT int SSL_CTX_use_PrivateKey_file(SSL_CTX *ctx, const char *file,
1177 OPENSSL_EXPORT int SSL_use_PrivateKey_file(SSL *ssl, const char *file,
1184 OPENSSL_EXPORT int SSL_CTX_use_certificate_chain_file(SSL_CTX *ctx,
1189 OPENSSL_EXPORT void SSL_CTX_set_default_passwd_cb(SSL_CTX *ctx,
1194 OPENSSL_EXPORT pem_password_cb *SSL_CTX_get_default_passwd_cb(
1199 OPENSSL_EXPORT void SSL_CTX_set_default_passwd_cb_userdata(SSL_CTX *ctx,
1204 OPENSSL_EXPORT void *SSL_CTX_get_default_passwd_cb_userdata(const SSL_CTX *ctx);
1271 OPENSSL_EXPORT void SSL_set_private_key_method(
1276 OPENSSL_EXPORT void SSL_CTX_set_private_key_method(
1289 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_cipher_by_value(uint16_t value);
1294 OPENSSL_EXPORT uint32_t SSL_CIPHER_get_id(const SSL_CIPHER *cipher);
1297 OPENSSL_EXPORT uint16_t SSL_CIPHER_get_protocol_id(const SSL_CIPHER *cipher);
1300 OPENSSL_EXPORT int SSL_CIPHER_is_aead(const SSL_CIPHER *cipher);
1303 OPENSSL_EXPORT int SSL_CIPHER_is_block_cipher(const SSL_CIPHER *cipher);
1309 OPENSSL_EXPORT int SSL_CIPHER_get_cipher_nid(const SSL_CIPHER *cipher);
1316 OPENSSL_EXPORT int SSL_CIPHER_get_digest_nid(const SSL_CIPHER *cipher);
1322 OPENSSL_EXPORT int SSL_CIPHER_get_kx_nid(const SSL_CIPHER *cipher);
1328 OPENSSL_EXPORT int SSL_CIPHER_get_auth_nid(const SSL_CIPHER *cipher);
1334 OPENSSL_EXPORT int SSL_CIPHER_get_prf_nid(const SSL_CIPHER *cipher);
1338 OPENSSL_EXPORT uint16_t SSL_CIPHER_get_min_version(const SSL_CIPHER *cipher);
1342 OPENSSL_EXPORT uint16_t SSL_CIPHER_get_max_version(const SSL_CIPHER *cipher);
1346 OPENSSL_EXPORT const char *SSL_CIPHER_standard_name(const SSL_CIPHER *cipher);
1351 OPENSSL_EXPORT const char *SSL_CIPHER_get_name(const SSL_CIPHER *cipher);
1356 OPENSSL_EXPORT const char *SSL_CIPHER_get_kx_name(const SSL_CIPHER *cipher);
1361 OPENSSL_EXPORT int SSL_CIPHER_get_bits(const SSL_CIPHER *cipher,
1470 OPENSSL_EXPORT int SSL_CTX_set_strict_cipher_list(SSL_CTX *ctx,
1478 OPENSSL_EXPORT int SSL_CTX_set_cipher_list(SSL_CTX *ctx, const char *str);
1483 OPENSSL_EXPORT int SSL_set_strict_cipher_list(SSL *ssl, const char *str);
1490 OPENSSL_EXPORT int SSL_set_cipher_list(SSL *ssl, const char *str);
1494 OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_CTX_get_ciphers(const SSL_CTX *ctx);
1499 OPENSSL_EXPORT int SSL_CTX_cipher_in_group(const SSL_CTX *ctx, size_t i);
1502 OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
1509 OPENSSL_EXPORT int SSL_is_init_finished(const SSL *ssl);
1513 OPENSSL_EXPORT int SSL_in_init(const SSL *ssl);
1521 OPENSSL_EXPORT int SSL_in_false_start(const SSL *ssl);
1526 OPENSSL_EXPORT X509 *SSL_get_peer_certificate(const SSL *ssl);
1536 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl);
1548 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_full_cert_chain(const SSL *ssl);
1556 OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *
1567 OPENSSL_EXPORT void SSL_get0_signed_cert_timestamp_list(const SSL *ssl,
1576 OPENSSL_EXPORT void SSL_get0_ocsp_response(const SSL *ssl, const uint8_t **out,
1596 OPENSSL_EXPORT int SSL_get_tls_unique(const SSL *ssl, uint8_t *out,
1601 OPENSSL_EXPORT int SSL_get_extms_support(const SSL *ssl);
1605 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
1612 OPENSSL_EXPORT int SSL_session_reused(const SSL *ssl);
1616 OPENSSL_EXPORT int SSL_get_secure_renegotiation_support(const SSL *ssl);
1624 OPENSSL_EXPORT int SSL_export_keying_material(
1641 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_new(const SSL_CTX *ctx);
1645 OPENSSL_EXPORT int SSL_SESSION_up_ref(SSL_SESSION *session);
1649 OPENSSL_EXPORT void SSL_SESSION_free(SSL_SESSION *session);
1655 OPENSSL_EXPORT int SSL_SESSION_to_bytes(const SSL_SESSION *in,
1660 OPENSSL_EXPORT int SSL_SESSION_to_bytes_for_ticket(const SSL_SESSION *in,
1666 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_from_bytes(
1671 OPENSSL_EXPORT const char *SSL_SESSION_get_version(const SSL_SESSION *session);
1675 OPENSSL_EXPORT uint16_t
1681 OPENSSL_EXPORT int SSL_SESSION_set_protocol_version(SSL_SESSION *session,
1689 OPENSSL_EXPORT const uint8_t *SSL_SESSION_get_id(const SSL_SESSION *session,
1695 OPENSSL_EXPORT int SSL_SESSION_set1_id(SSL_SESSION *session, const uint8_t *sid,
1700 OPENSSL_EXPORT uint64_t SSL_SESSION_get_time(const SSL_SESSION *session);
1703 OPENSSL_EXPORT uint32_t SSL_SESSION_get_timeout(const SSL_SESSION *session);
1709 OPENSSL_EXPORT X509 *SSL_SESSION_get0_peer(const SSL_SESSION *session);
1715 OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *
1726 OPENSSL_EXPORT void SSL_SESSION_get0_signed_cert_timestamp_list(
1734 OPENSSL_EXPORT void SSL_SESSION_get0_ocsp_response(const SSL_SESSION *session,
1744 OPENSSL_EXPORT size_t SSL_SESSION_get_master_key(const SSL_SESSION *session,
1750 OPENSSL_EXPORT uint64_t SSL_SESSION_set_time(SSL_SESSION *session,
1756 OPENSSL_EXPORT uint32_t SSL_SESSION_set_timeout(SSL_SESSION *session,
1762 OPENSSL_EXPORT const uint8_t *SSL_SESSION_get0_id_context(
1769 OPENSSL_EXPORT int SSL_SESSION_set1_id_context(SSL_SESSION *session,
1780 OPENSSL_EXPORT int SSL_SESSION_should_be_single_use(const SSL_SESSION *session);
1784 OPENSSL_EXPORT int SSL_SESSION_is_resumable(const SSL_SESSION *session);
1788 OPENSSL_EXPORT int SSL_SESSION_has_ticket(const SSL_SESSION *session);
1793 OPENSSL_EXPORT void SSL_SESSION_get0_ticket(const SSL_SESSION *session,
1800 OPENSSL_EXPORT int SSL_SESSION_set_ticket(SSL_SESSION *session,
1806 OPENSSL_EXPORT uint32_t
1815 OPENSSL_EXPORT const SSL_CIPHER *SSL_SESSION_get0_cipher(
1822 OPENSSL_EXPORT int SSL_SESSION_has_peer_sha256(const SSL_SESSION *session);
1827 OPENSSL_EXPORT void SSL_SESSION_get0_peer_sha256(const SSL_SESSION *session,
1906 OPENSSL_EXPORT int SSL_CTX_set_session_cache_mode(SSL_CTX *ctx, int mode);
1910 OPENSSL_EXPORT int SSL_CTX_get_session_cache_mode(const SSL_CTX *ctx);
1921 OPENSSL_EXPORT int SSL_set_session(SSL *ssl, SSL_SESSION *session);
1940 OPENSSL_EXPORT uint32_t SSL_CTX_set_timeout(SSL_CTX *ctx, uint32_t timeout);
1944 OPENSSL_EXPORT void SSL_CTX_set_session_psk_dhe_timeout(SSL_CTX *ctx,
1949 OPENSSL_EXPORT uint32_t SSL_CTX_get_timeout(const SSL_CTX *ctx);
1961 OPENSSL_EXPORT int SSL_CTX_set_session_id_context(SSL_CTX *ctx,
1968 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx,
1973 OPENSSL_EXPORT const uint8_t *SSL_get0_session_id_context(const SSL *ssl,
1982 OPENSSL_EXPORT unsigned long SSL_CTX_sess_set_cache_size(SSL_CTX *ctx,
1987 OPENSSL_EXPORT unsigned long SSL_CTX_sess_get_cache_size(const SSL_CTX *ctx);
1991 OPENSSL_EXPORT size_t SSL_CTX_sess_number(const SSL_CTX *ctx);
1996 OPENSSL_EXPORT int SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *session);
2000 OPENSSL_EXPORT int SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *session);
2004 OPENSSL_EXPORT void SSL_CTX_flush_sessions(SSL_CTX *ctx, uint64_t time);
2024 OPENSSL_EXPORT void SSL_CTX_sess_set_new_cb(
2029 OPENSSL_EXPORT int (*SSL_CTX_sess_get_new_cb(SSL_CTX *ctx))(
2037 OPENSSL_EXPORT void SSL_CTX_sess_set_remove_cb(
2043 OPENSSL_EXPORT void (*SSL_CTX_sess_get_remove_cb(SSL_CTX *ctx))(
2065 OPENSSL_EXPORT void SSL_CTX_sess_set_get_cb(
2071 OPENSSL_EXPORT SSL_SESSION *(*SSL_CTX_sess_get_get_cb(SSL_CTX *ctx))(
2078 OPENSSL_EXPORT SSL_SESSION *SSL_magic_pending_session_ptr(void);
2122 OPENSSL_EXPORT int SSL_CTX_get_tlsext_ticket_keys(SSL_CTX *ctx, void *out,
2128 OPENSSL_EXPORT int SSL_CTX_set_tlsext_ticket_keys(SSL_CTX *ctx, const void *in,
2158 OPENSSL_EXPORT int SSL_CTX_set_tlsext_ticket_key_cb(
2209 OPENSSL_EXPORT void SSL_CTX_set_ticket_aead_method(
2223 OPENSSL_EXPORT SSL_SESSION *SSL_process_tls13_new_session_ticket(
2243 OPENSSL_EXPORT int SSL_CTX_set1_curves(SSL_CTX *ctx, const int *curves,
2252 OPENSSL_EXPORT int SSL_set1_curves(SSL *ssl, const int *curves,
2259 OPENSSL_EXPORT int SSL_CTX_set1_curves_list(SSL_CTX *ctx, const char *curves);
2265 OPENSSL_EXPORT int SSL_set1_curves_list(SSL *ssl, const char *curves);
2280 OPENSSL_EXPORT uint16_t SSL_get_curve_id(const SSL *ssl);
2284 OPENSSL_EXPORT const char *SSL_get_curve_name(uint16_t curve_id);
2339 OPENSSL_EXPORT void SSL_CTX_set_verify(
2349 OPENSSL_EXPORT void SSL_set_verify(SSL *ssl, int mode,
2376 OPENSSL_EXPORT void SSL_CTX_set_custom_verify(
2382 OPENSSL_EXPORT void SSL_set_custom_verify(
2388 OPENSSL_EXPORT int SSL_CTX_get_verify_mode(const SSL_CTX *ctx);
2392 OPENSSL_EXPORT int SSL_get_verify_mode(const SSL *ssl);
2396 OPENSSL_EXPORT int (*SSL_CTX_get_verify_callback(const SSL_CTX *ctx))(
2401 OPENSSL_EXPORT int (*SSL_get_verify_callback(const SSL *ssl))(
2407 OPENSSL_EXPORT void SSL_CTX_set_verify_depth(SSL_CTX *ctx, int depth);
2412 OPENSSL_EXPORT void SSL_set_verify_depth(SSL *ssl, int depth);
2416 OPENSSL_EXPORT int SSL_CTX_get_verify_depth(const SSL_CTX *ctx);
2420 OPENSSL_EXPORT int SSL_get_verify_depth(const SSL *ssl);
2424 OPENSSL_EXPORT int SSL_CTX_set1_param(SSL_CTX *ctx,
2429 OPENSSL_EXPORT int SSL_set1_param(SSL *ssl,
2435 OPENSSL_EXPORT X509_VERIFY_PARAM *SSL_CTX_get0_param(SSL_CTX *ctx);
2440 OPENSSL_EXPORT X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl);
2444 OPENSSL_EXPORT int SSL_CTX_set_purpose(SSL_CTX *ctx, int purpose);
2448 OPENSSL_EXPORT int SSL_set_purpose(SSL *ssl, int purpose);
2452 OPENSSL_EXPORT int SSL_CTX_set_trust(SSL_CTX *ctx, int trust);
2456 OPENSSL_EXPORT int SSL_set_trust(SSL *ssl, int trust);
2463 OPENSSL_EXPORT void SSL_CTX_set_cert_store(SSL_CTX *ctx, X509_STORE *store);
2466 OPENSSL_EXPORT X509_STORE *SSL_CTX_get_cert_store(const SSL_CTX *ctx);
2470 OPENSSL_EXPORT int SSL_CTX_set_default_verify_paths(SSL_CTX *ctx);
2481 OPENSSL_EXPORT int SSL_CTX_load_verify_locations(SSL_CTX *ctx,
2487 OPENSSL_EXPORT long SSL_get_verify_result(const SSL *ssl);
2492 OPENSSL_EXPORT int SSL_alert_from_verify_result(long result);
2496 OPENSSL_EXPORT int SSL_get_ex_data_X509_STORE_CTX_idx(void);
2506 OPENSSL_EXPORT void SSL_CTX_set_cert_verify_callback(
2516 OPENSSL_EXPORT void SSL_enable_signed_cert_timestamps(SSL *ssl);
2523 OPENSSL_EXPORT void SSL_CTX_enable_signed_cert_timestamps(SSL_CTX *ctx);
2530 OPENSSL_EXPORT void SSL_enable_ocsp_stapling(SSL *ssl);
2537 OPENSSL_EXPORT void SSL_CTX_enable_ocsp_stapling(SSL_CTX *ctx);
2542 OPENSSL_EXPORT int SSL_CTX_set0_verify_cert_store(SSL_CTX *ctx,
2548 OPENSSL_EXPORT int SSL_CTX_set1_verify_cert_store(SSL_CTX *ctx,
2554 OPENSSL_EXPORT int SSL_set0_verify_cert_store(SSL *ssl, X509_STORE *store);
2559 OPENSSL_EXPORT int SSL_set1_verify_cert_store(SSL *ssl, X509_STORE *store);
2565 OPENSSL_EXPORT int SSL_CTX_set_verify_algorithm_prefs(SSL_CTX *ctx,
2573 OPENSSL_EXPORT int SSL_set_verify_algorithm_prefs(SSL *ssl,
2586 OPENSSL_EXPORT void SSL_set_client_CA_list(SSL *ssl,
2591 OPENSSL_EXPORT void SSL_CTX_set_client_CA_list(SSL_CTX *ctx,
2597 OPENSSL_EXPORT void SSL_set0_client_CAs(SSL *ssl,
2603 OPENSSL_EXPORT void SSL_CTX_set0_client_CAs(SSL_CTX *ctx,
2614 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl);
2623 OPENSSL_EXPORT const STACK_OF(CRYPTO_BUFFER) *
2627 OPENSSL_EXPORT STACK_OF(X509_NAME) *
2633 OPENSSL_EXPORT int SSL_add_client_CA(SSL *ssl, X509 *x509);
2638 OPENSSL_EXPORT int SSL_CTX_add_client_CA(SSL_CTX *ctx, X509 *x509);
2643 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_load_client_CA_file(const char *file);
2647 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_dup_CA_list(STACK_OF(X509_NAME) *list);
2652 OPENSSL_EXPORT int SSL_add_file_cert_subjects_to_stack(STACK_OF(X509_NAME) *out,
2667 OPENSSL_EXPORT int SSL_set_tlsext_host_name(SSL *ssl, const char *name);
2672 OPENSSL_EXPORT const char *SSL_get_servername(const SSL *ssl, const int type);
2676 OPENSSL_EXPORT int SSL_get_servername_type(const SSL *ssl);
2689 OPENSSL_EXPORT int SSL_CTX_set_tlsext_servername_callback(
2694 OPENSSL_EXPORT int SSL_CTX_set_tlsext_servername_arg(SSL_CTX *ctx, void *arg);
2715 OPENSSL_EXPORT SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx);
2731 OPENSSL_EXPORT int SSL_CTX_set_alpn_protos(SSL_CTX *ctx, const uint8_t *protos,
2741 OPENSSL_EXPORT int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos,
2758 OPENSSL_EXPORT void SSL_CTX_set_alpn_select_cb(
2767 OPENSSL_EXPORT void SSL_get0_alpn_selected(const SSL *ssl,
2775 OPENSSL_EXPORT void SSL_CTX_set_allow_unknown_alpn_protos(SSL_CTX *ctx,
2804 OPENSSL_EXPORT int SSL_add_application_settings(SSL *ssl, const uint8_t *proto,
2815 OPENSSL_EXPORT void SSL_get0_peer_application_settings(const SSL *ssl,
2821 OPENSSL_EXPORT int SSL_has_application_settings(const SSL *ssl);
2865 OPENSSL_EXPORT int SSL_CTX_add_cert_compression_alg(
2884 OPENSSL_EXPORT void SSL_CTX_set_next_protos_advertised_cb(
2900 OPENSSL_EXPORT void SSL_CTX_set_next_proto_select_cb(
2912 OPENSSL_EXPORT void SSL_get0_next_proto_negotiated(const SSL *ssl,
2931 OPENSSL_EXPORT int SSL_select_next_proto(uint8_t **out, uint8_t *out_len,
2947 OPENSSL_EXPORT void SSL_CTX_set_tls_channel_id_enabled(SSL_CTX *ctx,
2952 OPENSSL_EXPORT void SSL_set_tls_channel_id_enabled(SSL *ssl, int enabled);
2957 OPENSSL_EXPORT int SSL_CTX_set1_tls_channel_id(SSL_CTX *ctx,
2963 OPENSSL_EXPORT int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key);
2970 OPENSSL_EXPORT size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out,
2979 OPENSSL_EXPORT void SSL_CTX_set_channel_id_cb(
2984 OPENSSL_EXPORT void (*SSL_CTX_get_channel_id_cb(SSL_CTX *ctx))(
2998 OPENSSL_EXPORT int SSL_set_token_binding_params(SSL *ssl, const uint8_t *params,
3006 OPENSSL_EXPORT int SSL_is_token_binding_negotiated(const SSL *ssl);
3012 OPENSSL_EXPORT uint8_t SSL_get_negotiated_token_binding_param(const SSL *ssl);
3041 OPENSSL_EXPORT int SSL_CTX_set_srtp_profiles(SSL_CTX *ctx,
3047 OPENSSL_EXPORT int SSL_set_srtp_profiles(SSL *ssl, const char *profiles);
3050 OPENSSL_EXPORT STACK_OF(SRTP_PROTECTION_PROFILE) *SSL_get_srtp_profiles(
3055 OPENSSL_EXPORT const SRTP_PROTECTION_PROFILE *SSL_get_selected_srtp_profile(
3087 OPENSSL_EXPORT void SSL_CTX_set_psk_client_callback(
3095 OPENSSL_EXPORT void SSL_set_psk_client_callback(
3107 OPENSSL_EXPORT void SSL_CTX_set_psk_server_callback(
3114 OPENSSL_EXPORT void SSL_set_psk_server_callback(
3121 OPENSSL_EXPORT int SSL_CTX_use_psk_identity_hint(SSL_CTX *ctx,
3127 OPENSSL_EXPORT int SSL_use_psk_identity_hint(SSL *ssl,
3132 OPENSSL_EXPORT const char *SSL_get_psk_identity_hint(const SSL *ssl);
3136 OPENSSL_EXPORT const char *SSL_get_psk_identity(const SSL *ssl);
3169 OPENSSL_EXPORT int SSL_set1_delegated_credential(
3175 OPENSSL_EXPORT int SSL_delegated_credential_used(const SSL *ssl);
3327 OPENSSL_EXPORT size_t SSL_quic_max_handshake_flight_len(
3334 OPENSSL_EXPORT enum ssl_encryption_level_t SSL_quic_read_level(const SSL *ssl);
3340 OPENSSL_EXPORT enum ssl_encryption_level_t SSL_quic_write_level(const SSL *ssl);
3347 OPENSSL_EXPORT int SSL_provide_quic_data(SSL *ssl,
3355 OPENSSL_EXPORT int SSL_process_quic_post_handshake(SSL *ssl);
3360 OPENSSL_EXPORT int SSL_CTX_set_quic_method(SSL_CTX *ctx,
3366 OPENSSL_EXPORT int SSL_set_quic_method(SSL *ssl,
3375 OPENSSL_EXPORT int SSL_set_quic_transport_params(SSL *ssl,
3384 OPENSSL_EXPORT void SSL_get_peer_quic_transport_params(
3391 OPENSSL_EXPORT void SSL_set_quic_use_legacy_codepoint(SSL *ssl, int use_legacy);
3405 OPENSSL_EXPORT int SSL_set_quic_early_data_context(SSL *ssl,
3464 OPENSSL_EXPORT void SSL_CTX_set_early_data_enabled(SSL_CTX *ctx, int enabled);
3469 OPENSSL_EXPORT void SSL_set_early_data_enabled(SSL *ssl, int enabled);
3476 OPENSSL_EXPORT int SSL_in_early_data(const SSL *ssl);
3480 OPENSSL_EXPORT int SSL_SESSION_early_data_capable(const SSL_SESSION *session);
3491 OPENSSL_EXPORT SSL_SESSION *SSL_SESSION_copy_without_early_data(
3496 OPENSSL_EXPORT int SSL_early_data_accepted(const SSL *ssl);
3505 OPENSSL_EXPORT void SSL_reset_early_data_reject(SSL *ssl);
3510 OPENSSL_EXPORT int32_t SSL_get_ticket_age_skew(const SSL *ssl);
3553 OPENSSL_EXPORT enum ssl_early_data_reason_t SSL_get_early_data_reason(
3558 OPENSSL_EXPORT const char *SSL_early_data_reason_string(
3574 OPENSSL_EXPORT void SSL_set_enable_ech_grease(SSL *ssl, int enable);
3633 OPENSSL_EXPORT const char *SSL_alert_type_string_long(int value);
3637 OPENSSL_EXPORT const char *SSL_alert_desc_string_long(int value);
3647 OPENSSL_EXPORT int SSL_send_fatal_alert(SSL *ssl, uint8_t alert);
3654 OPENSSL_EXPORT int SSL_set_ex_data(SSL *ssl, int idx, void *data);
3655 OPENSSL_EXPORT void *SSL_get_ex_data(const SSL *ssl, int idx);
3656 OPENSSL_EXPORT int SSL_get_ex_new_index(long argl, void *argp,
3661 OPENSSL_EXPORT int SSL_SESSION_set_ex_data(SSL_SESSION *session, int idx,
3663 OPENSSL_EXPORT void *SSL_SESSION_get_ex_data(const SSL_SESSION *session,
3665 OPENSSL_EXPORT int SSL_SESSION_get_ex_new_index(long argl, void *argp,
3670 OPENSSL_EXPORT int SSL_CTX_set_ex_data(SSL_CTX *ctx, int idx, void *data);
3671 OPENSSL_EXPORT void *SSL_CTX_get_ex_data(const SSL_CTX *ctx, int idx);
3672 OPENSSL_EXPORT int SSL_CTX_get_ex_new_index(long argl, void *argp,
3686 OPENSSL_EXPORT int SSL_get_ivs(const SSL *ssl, const uint8_t **out_read_iv,
3692 OPENSSL_EXPORT size_t SSL_get_key_block_len(const SSL *ssl);
3697 OPENSSL_EXPORT int SSL_generate_key_block(const SSL *ssl, uint8_t *out,
3704 OPENSSL_EXPORT uint64_t SSL_get_read_sequence(const SSL *ssl);
3709 OPENSSL_EXPORT uint64_t SSL_get_write_sequence(const SSL *ssl);
3731 OPENSSL_EXPORT void SSL_CTX_set_msg_callback(
3737 OPENSSL_EXPORT void SSL_CTX_set_msg_callback_arg(SSL_CTX *ctx, void *arg);
3741 OPENSSL_EXPORT void SSL_set_msg_callback(
3746 OPENSSL_EXPORT void SSL_set_msg_callback_arg(SSL *ssl, void *arg);
3755 OPENSSL_EXPORT void SSL_CTX_set_keylog_callback(
3760 OPENSSL_EXPORT void (*SSL_CTX_get_keylog_callback(const SSL_CTX *ctx))(
3767 OPENSSL_EXPORT void SSL_CTX_set_current_time_cb(
3788 OPENSSL_EXPORT void SSL_set_shed_handshake_config(SSL *ssl, int enable);
3825 OPENSSL_EXPORT void SSL_set_renegotiate_mode(SSL *ssl,
3836 OPENSSL_EXPORT int SSL_renegotiate(SSL *ssl);
3840 OPENSSL_EXPORT int SSL_renegotiate_pending(SSL *ssl);
3844 OPENSSL_EXPORT int SSL_total_renegotiations(const SSL *ssl);
3852 OPENSSL_EXPORT size_t SSL_CTX_get_max_cert_list(const SSL_CTX *ctx);
3857 OPENSSL_EXPORT void SSL_CTX_set_max_cert_list(SSL_CTX *ctx,
3862 OPENSSL_EXPORT size_t SSL_get_max_cert_list(const SSL *ssl);
3867 OPENSSL_EXPORT void SSL_set_max_cert_list(SSL *ssl, size_t max_cert_list);
3873 OPENSSL_EXPORT int SSL_CTX_set_max_send_fragment(SSL_CTX *ctx,
3880 OPENSSL_EXPORT int SSL_set_max_send_fragment(SSL *ssl,
3923 OPENSSL_EXPORT int SSL_early_callback_ctx_extension_get(
3941 OPENSSL_EXPORT void SSL_CTX_set_select_certificate_cb(
3948 OPENSSL_EXPORT void SSL_CTX_set_dos_protection_cb(
3956 OPENSSL_EXPORT void SSL_CTX_set_reverify_on_resume(SSL_CTX *ctx, int enabled);
3962 OPENSSL_EXPORT void SSL_set_enforce_rsa_key_usage(SSL *ssl, int enabled);
4026 OPENSSL_EXPORT void SSL_CTX_set_info_callback(
4031 OPENSSL_EXPORT void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,
4037 OPENSSL_EXPORT void SSL_set_info_callback(
4041 OPENSSL_EXPORT void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,
4047 OPENSSL_EXPORT const char *SSL_state_string_long(const SSL *ssl);
4055 OPENSSL_EXPORT int SSL_get_shutdown(const SSL *ssl);
4059 OPENSSL_EXPORT uint16_t SSL_get_peer_signature_algorithm(const SSL *ssl);
4064 OPENSSL_EXPORT size_t SSL_get_client_random(const SSL *ssl, uint8_t *out,
4070 OPENSSL_EXPORT size_t SSL_get_server_random(const SSL *ssl, uint8_t *out,
4075 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
4083 OPENSSL_EXPORT void SSL_set_retain_only_sha256_of_client_certs(SSL *ssl,
4092 OPENSSL_EXPORT void SSL_CTX_set_retain_only_sha256_of_client_certs(SSL_CTX *ctx,
4097 OPENSSL_EXPORT void SSL_CTX_set_grease_enabled(SSL_CTX *ctx, int enabled);
4101 OPENSSL_EXPORT size_t SSL_max_seal_overhead(const SSL *ssl);
4106 OPENSSL_EXPORT void SSL_CTX_set_false_start_allowed_without_alpn(SSL_CTX *ctx,
4112 OPENSSL_EXPORT int SSL_used_hello_retry_request(const SSL *ssl);
4120 OPENSSL_EXPORT void SSL_set_jdk11_workaround(SSL *ssl, int enable);
4126 OPENSSL_EXPORT int SSL_library_init(void);
4136 OPENSSL_EXPORT const char *SSL_CIPHER_description(const SSL_CIPHER *cipher,
4140 OPENSSL_EXPORT const char *SSL_CIPHER_get_version(const SSL_CIPHER *cipher);
4147 OPENSSL_EXPORT char *SSL_CIPHER_get_rfc_name(const SSL_CIPHER *cipher);
4153 OPENSSL_EXPORT STACK_OF(SSL_COMP) *SSL_COMP_get_compression_methods(void);
4156 OPENSSL_EXPORT int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm);
4159 OPENSSL_EXPORT const char *SSL_COMP_get_name(const COMP_METHOD *comp);
4162 OPENSSL_EXPORT const char *SSL_COMP_get0_name(const SSL_COMP *comp);
4165 OPENSSL_EXPORT int SSL_COMP_get_id(const SSL_COMP *comp);
4168 OPENSSL_EXPORT void SSL_COMP_free_compression_methods(void);
4171 OPENSSL_EXPORT const SSL_METHOD *SSLv23_method(void);
4177 OPENSSL_EXPORT const SSL_METHOD *TLSv1_method(void);
4178 OPENSSL_EXPORT const SSL_METHOD *TLSv1_1_method(void);
4179 OPENSSL_EXPORT const SSL_METHOD *TLSv1_2_method(void);
4180 OPENSSL_EXPORT const SSL_METHOD *DTLSv1_method(void);
4181 OPENSSL_EXPORT const SSL_METHOD *DTLSv1_2_method(void);
4185 OPENSSL_EXPORT const SSL_METHOD *TLS_server_method(void);
4186 OPENSSL_EXPORT const SSL_METHOD *TLS_client_method(void);
4187 OPENSSL_EXPORT const SSL_METHOD *SSLv23_server_method(void);
4188 OPENSSL_EXPORT const SSL_METHOD *SSLv23_client_method(void);
4189 OPENSSL_EXPORT const SSL_METHOD *TLSv1_server_method(void);
4190 OPENSSL_EXPORT const SSL_METHOD *TLSv1_client_method(void);
4191 OPENSSL_EXPORT const SSL_METHOD *TLSv1_1_server_method(void);
4192 OPENSSL_EXPORT const SSL_METHOD *TLSv1_1_client_method(void);
4193 OPENSSL_EXPORT const SSL_METHOD *TLSv1_2_server_method(void);
4194 OPENSSL_EXPORT const SSL_METHOD *TLSv1_2_client_method(void);
4195 OPENSSL_EXPORT const SSL_METHOD *DTLS_server_method(void);
4196 OPENSSL_EXPORT const SSL_METHOD *DTLS_client_method(void);
4197 OPENSSL_EXPORT const SSL_METHOD *DTLSv1_server_method(void);
4198 OPENSSL_EXPORT const SSL_METHOD *DTLSv1_client_method(void);
4199 OPENSSL_EXPORT const SSL_METHOD *DTLSv1_2_server_method(void);
4200 OPENSSL_EXPORT const SSL_METHOD *DTLSv1_2_client_method(void);
4207 OPENSSL_EXPORT int SSL_clear(SSL *ssl);
4210 OPENSSL_EXPORT void SSL_CTX_set_tmp_rsa_callback(
4214 OPENSSL_EXPORT void SSL_set_tmp_rsa_callback(SSL *ssl,
4219 OPENSSL_EXPORT int SSL_CTX_sess_connect(const SSL_CTX *ctx);
4222 OPENSSL_EXPORT int SSL_CTX_sess_connect_good(const SSL_CTX *ctx);
4225 OPENSSL_EXPORT int SSL_CTX_sess_connect_renegotiate(const SSL_CTX *ctx);
4228 OPENSSL_EXPORT int SSL_CTX_sess_accept(const SSL_CTX *ctx);
4231 OPENSSL_EXPORT int SSL_CTX_sess_accept_renegotiate(const SSL_CTX *ctx);
4234 OPENSSL_EXPORT int SSL_CTX_sess_accept_good(const SSL_CTX *ctx);
4237 OPENSSL_EXPORT int SSL_CTX_sess_hits(const SSL_CTX *ctx);
4240 OPENSSL_EXPORT int SSL_CTX_sess_cb_hits(const SSL_CTX *ctx);
4243 OPENSSL_EXPORT int SSL_CTX_sess_misses(const SSL_CTX *ctx);
4246 OPENSSL_EXPORT int SSL_CTX_sess_timeouts(const SSL_CTX *ctx);
4249 OPENSSL_EXPORT int SSL_CTX_sess_cache_full(const SSL_CTX *ctx);
4252 OPENSSL_EXPORT int SSL_cutthrough_complete(const SSL *ssl);
4255 OPENSSL_EXPORT int SSL_num_renegotiations(const SSL *ssl);
4258 OPENSSL_EXPORT int SSL_CTX_need_tmp_RSA(const SSL_CTX *ctx);
4261 OPENSSL_EXPORT int SSL_need_tmp_RSA(const SSL *ssl);
4264 OPENSSL_EXPORT int SSL_CTX_set_tmp_rsa(SSL_CTX *ctx, const RSA *rsa);
4267 OPENSSL_EXPORT int SSL_set_tmp_rsa(SSL *ssl, const RSA *rsa);
4270 OPENSSL_EXPORT int SSL_CTX_get_read_ahead(const SSL_CTX *ctx);
4273 OPENSSL_EXPORT int SSL_CTX_set_read_ahead(SSL_CTX *ctx, int yes);
4276 OPENSSL_EXPORT int SSL_get_read_ahead(const SSL *ssl);
4279 OPENSSL_EXPORT int SSL_set_read_ahead(SSL *ssl, int yes);
4282 OPENSSL_EXPORT void SSL_set_state(SSL *ssl, int state);
4286 OPENSSL_EXPORT char *SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len);
4289 OPENSSL_EXPORT int SSL_get_shared_sigalgs(SSL *ssl, int idx, int *psign,
4302 OPENSSL_EXPORT int i2d_SSL_SESSION(SSL_SESSION *in, uint8_t **pp);
4312 OPENSSL_EXPORT SSL_SESSION *d2i_SSL_SESSION(SSL_SESSION **a, const uint8_t **pp,
4317 OPENSSL_EXPORT int i2d_SSL_SESSION_bio(BIO *bio, const SSL_SESSION *session);
4322 OPENSSL_EXPORT SSL_SESSION *d2i_SSL_SESSION_bio(BIO *bio, SSL_SESSION **out);
4325 OPENSSL_EXPORT void ERR_load_SSL_strings(void);
4328 OPENSSL_EXPORT void SSL_load_error_strings(void);
4335 OPENSSL_EXPORT int SSL_CTX_set_tlsext_use_srtp(SSL_CTX *ctx,
4343 OPENSSL_EXPORT int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles);
4346 OPENSSL_EXPORT const COMP_METHOD *SSL_get_current_compression(SSL *ssl);
4349 OPENSSL_EXPORT const COMP_METHOD *SSL_get_current_expansion(SSL *ssl);
4352 OPENSSL_EXPORT int SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **out_key);
4355 OPENSSL_EXPORT int SSL_CTX_set_tmp_dh(SSL_CTX *ctx, const DH *dh);
4358 OPENSSL_EXPORT int SSL_set_tmp_dh(SSL *ssl, const DH *dh);
4361 OPENSSL_EXPORT void SSL_CTX_set_tmp_dh_callback(
4365 OPENSSL_EXPORT void SSL_set_tmp_dh_callback(SSL *ssl,
4377 OPENSSL_EXPORT int SSL_CTX_set1_sigalgs(SSL_CTX *ctx, const int *values,
4388 OPENSSL_EXPORT int SSL_set1_sigalgs(SSL *ssl, const int *values,
4402 OPENSSL_EXPORT int SSL_CTX_set1_sigalgs_list(SSL_CTX *ctx, const char *str);
4415 OPENSSL_EXPORT int SSL_set1_sigalgs_list(SSL *ssl, const char *str);
4485 OPENSSL_EXPORT int SSL_cache_hit(SSL *ssl);
4488 OPENSSL_EXPORT long SSL_get_default_timeout(const SSL *ssl);
4492 OPENSSL_EXPORT const char *SSL_get_version(const SSL *ssl);
4496 OPENSSL_EXPORT const char *SSL_get_cipher_list(const SSL *ssl, int n);
4512 OPENSSL_EXPORT void SSL_CTX_set_client_cert_cb(
4521 OPENSSL_EXPORT int SSL_want(const SSL *ssl);
4531 OPENSSL_EXPORT size_t SSL_get_finished(const SSL *ssl, void *buf, size_t count);
4539 OPENSSL_EXPORT size_t SSL_get_peer_finished(const SSL *ssl, void *buf,
4544 OPENSSL_EXPORT const char *SSL_alert_type_string(int value);
4548 OPENSSL_EXPORT const char *SSL_alert_desc_string(int value);
4552 OPENSSL_EXPORT const char *SSL_state_string(const SSL *ssl);
4602 OPENSSL_EXPORT int SSL_state(const SSL *ssl);
4616 OPENSSL_EXPORT void SSL_set_shutdown(SSL *ssl, int mode);
4620 OPENSSL_EXPORT int SSL_CTX_set_tmp_ecdh(SSL_CTX *ctx, const EC_KEY *ec_key);
4624 OPENSSL_EXPORT int SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ec_key);
4630 OPENSSL_EXPORT int SSL_add_dir_cert_subjects_to_stack(STACK_OF(X509_NAME) *out,
4637 OPENSSL_EXPORT void SSL_set_verify_result(SSL *ssl, long result);
4640 OPENSSL_EXPORT int SSL_CTX_enable_tls_channel_id(SSL_CTX *ctx);
4643 OPENSSL_EXPORT int SSL_enable_tls_channel_id(SSL *ssl);
4650 OPENSSL_EXPORT const BIO_METHOD *BIO_f_ssl(void);
4656 OPENSSL_EXPORT long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership);
4678 OPENSSL_EXPORT SSL_SESSION *SSL_get_session(const SSL *ssl);
4685 OPENSSL_EXPORT SSL_SESSION *SSL_get1_session(SSL *ssl);
4692 OPENSSL_EXPORT int OPENSSL_init_ssl(uint64_t opts,
4706 OPENSSL_EXPORT int SSL_set_tlsext_status_type(SSL *ssl, int type);
4714 OPENSSL_EXPORT int SSL_get_tlsext_status_type(const SSL *ssl);
4721 OPENSSL_EXPORT int SSL_set_tlsext_status_ocsp_resp(SSL *ssl, uint8_t *resp,
4731 OPENSSL_EXPORT size_t SSL_get_tlsext_status_ocsp_resp(const SSL *ssl,
4753 OPENSSL_EXPORT int SSL_CTX_set_tlsext_status_cb(SSL_CTX *ctx,
4759 OPENSSL_EXPORT int SSL_CTX_set_tlsext_status_arg(SSL_CTX *ctx, void *arg);
4783 OPENSSL_EXPORT uint16_t SSL_CIPHER_get_value(const SSL_CIPHER *cipher);
4786 OPENSSL_EXPORT void SSL_CTX_set_ignore_tls13_downgrade(SSL_CTX *ctx,
4790 OPENSSL_EXPORT void SSL_set_ignore_tls13_downgrade(SSL *ssl, int ignore);
4795 OPENSSL_EXPORT int SSL_is_tls13_downgrade(const SSL *ssl);
4982 OPENSSL_EXPORT OpenRecordResult OpenRecord(SSL *ssl, Span<uint8_t> *out,
4987 OPENSSL_EXPORT size_t SealRecordPrefixLen(const SSL *ssl, size_t plaintext_len);
4996 OPENSSL_EXPORT size_t SealRecordSuffixLen(const SSL *ssl, size_t plaintext_len);
5014 OPENSSL_EXPORT bool SealRecord(SSL *ssl, Span<uint8_t> out_prefix,
5058 OPENSSL_EXPORT void SSL_CTX_set_handoff_mode(SSL_CTX *ctx, bool on);
5059 OPENSSL_EXPORT void SSL_set_handoff_mode(SSL *SSL, bool on);
5060 OPENSSL_EXPORT bool SSL_serialize_handoff(const SSL *ssl, CBB *out,
5062 OPENSSL_EXPORT bool SSL_decline_handoff(SSL *ssl);
5063 OPENSSL_EXPORT bool SSL_apply_handoff(SSL *ssl, Span<const uint8_t> handoff);
5064 OPENSSL_EXPORT bool SSL_serialize_handback(const SSL *ssl, CBB *out);
5065 OPENSSL_EXPORT bool SSL_apply_handback(SSL *ssl, Span<const uint8_t> handback);
5071 OPENSSL_EXPORT bool SSL_get_traffic_secrets(