• Home
  • Raw
  • Download

Lines Matching refs:SSL

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);
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);
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);
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);
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);
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);
839 OPENSSL_EXPORT int SSL_use_certificate(SSL *ssl, X509 *x509);
847 OPENSSL_EXPORT int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
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);
881 OPENSSL_EXPORT int SSL_add0_chain_cert(SSL *ssl, X509 *x509);
889 OPENSSL_EXPORT int SSL_add1_chain_cert(SSL *ssl, X509 *x509);
899 OPENSSL_EXPORT int SSL_clear_chain_certs(SSL *ssl);
914 int (*cb)(SSL *ssl, void *arg),
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,
954 SSL_get0_peer_verify_algorithms(const SSL *ssl, const uint16_t **out_sigalgs);
958 OPENSSL_EXPORT void SSL_certs_clear(SSL *ssl);
966 OPENSSL_EXPORT int SSL_check_private_key(const SSL *ssl);
972 OPENSSL_EXPORT X509 *SSL_get_certificate(const SSL *ssl);
978 OPENSSL_EXPORT EVP_PKEY *SSL_get_privatekey(const SSL *ssl);
991 OPENSSL_EXPORT int SSL_get0_chain_certs(const SSL *ssl,
1010 OPENSSL_EXPORT int SSL_set_signed_cert_timestamp_list(SSL *ctx,
1024 OPENSSL_EXPORT int SSL_set_ocsp_response(SSL *ssl,
1078 OPENSSL_EXPORT int SSL_set_signing_algorithm_prefs(SSL *ssl,
1098 SSL *ssl, CRYPTO_BUFFER *const *certs, size_t num_certs, EVP_PKEY *privkey,
1107 OPENSSL_EXPORT int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
1115 OPENSSL_EXPORT int SSL_use_certificate_ASN1(SSL *ssl, const uint8_t *der,
1121 OPENSSL_EXPORT int SSL_use_PrivateKey_ASN1(int type, SSL *ssl,
1127 OPENSSL_EXPORT int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const uint8_t *der,
1141 OPENSSL_EXPORT int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file,
1146 OPENSSL_EXPORT int SSL_use_certificate_file(SSL *ssl, const char *file,
1151 OPENSSL_EXPORT int SSL_use_PrivateKey_file(SSL *ssl, const char *file,
1210 enum ssl_private_key_result_t (*sign)(SSL *ssl, uint8_t *out, size_t *out_len,
1227 enum ssl_private_key_result_t (*decrypt)(SSL *ssl, uint8_t *out,
1239 enum ssl_private_key_result_t (*complete)(SSL *ssl, uint8_t *out,
1246 SSL *ssl, const SSL_PRIVATE_KEY_METHOD *key_method);
1457 OPENSSL_EXPORT int SSL_set_strict_cipher_list(SSL *ssl, const char *str);
1464 OPENSSL_EXPORT int SSL_set_cipher_list(SSL *ssl, const char *str);
1476 OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
1483 OPENSSL_EXPORT int SSL_is_init_finished(const SSL *ssl);
1487 OPENSSL_EXPORT int SSL_in_init(const SSL *ssl);
1495 OPENSSL_EXPORT int SSL_in_false_start(const SSL *ssl);
1500 OPENSSL_EXPORT X509 *SSL_get_peer_certificate(const SSL *ssl);
1510 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl);
1522 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_full_cert_chain(const SSL *ssl);
1531 SSL_get0_peer_certificates(const SSL *ssl);
1541 OPENSSL_EXPORT void SSL_get0_signed_cert_timestamp_list(const SSL *ssl,
1550 OPENSSL_EXPORT void SSL_get0_ocsp_response(const SSL *ssl, const uint8_t **out,
1570 OPENSSL_EXPORT int SSL_get_tls_unique(const SSL *ssl, uint8_t *out,
1575 OPENSSL_EXPORT int SSL_get_extms_support(const SSL *ssl);
1579 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
1586 OPENSSL_EXPORT int SSL_session_reused(const SSL *ssl);
1590 OPENSSL_EXPORT int SSL_get_secure_renegotiation_support(const SSL *ssl);
1599 SSL *ssl, uint8_t *out, size_t out_len, const char *label, size_t label_len,
1895 OPENSSL_EXPORT int SSL_set_session(SSL *ssl, SSL_SESSION *session);
1942 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx,
1947 OPENSSL_EXPORT const uint8_t *SSL_get0_session_id_context(const SSL *ssl,
1999 SSL_CTX *ctx, int (*new_session_cb)(SSL *ssl, SSL_SESSION *session));
2004 SSL *ssl, SSL_SESSION *session);
2040 SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(SSL *ssl, const uint8_t *id,
2046 SSL *ssl, const uint8_t *id, int id_len, int *out_copy);
2133 SSL_CTX *ctx, int (*callback)(SSL *ssl, uint8_t *key_name, uint8_t *iv,
2160 size_t (*max_overhead)(SSL *ssl);
2166 int (*seal)(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out_len,
2176 enum ssl_ticket_aead_result_t (*open)(SSL *ssl, uint8_t *out, size_t *out_len,
2212 OPENSSL_EXPORT int SSL_set1_curves(SSL *ssl, const int *curves,
2225 OPENSSL_EXPORT int SSL_set1_curves_list(SSL *ssl, const char *curves);
2240 OPENSSL_EXPORT uint16_t SSL_get_curve_id(const SSL *ssl);
2309 OPENSSL_EXPORT void SSL_set_verify(SSL *ssl, int mode,
2338 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert));
2343 SSL *ssl, int mode,
2344 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert));
2352 OPENSSL_EXPORT int SSL_get_verify_mode(const SSL *ssl);
2361 OPENSSL_EXPORT int (*SSL_get_verify_callback(const SSL *ssl))(
2372 OPENSSL_EXPORT void SSL_set_verify_depth(SSL *ssl, int depth);
2380 OPENSSL_EXPORT int SSL_get_verify_depth(const SSL *ssl);
2389 OPENSSL_EXPORT int SSL_set1_param(SSL *ssl,
2400 OPENSSL_EXPORT X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl);
2408 OPENSSL_EXPORT int SSL_set_purpose(SSL *ssl, int purpose);
2416 OPENSSL_EXPORT int SSL_set_trust(SSL *ssl, int trust);
2447 OPENSSL_EXPORT long SSL_get_verify_result(const SSL *ssl);
2476 OPENSSL_EXPORT void SSL_enable_signed_cert_timestamps(SSL *ssl);
2490 OPENSSL_EXPORT void SSL_enable_ocsp_stapling(SSL *ssl);
2514 OPENSSL_EXPORT int SSL_set0_verify_cert_store(SSL *ssl, X509_STORE *store);
2519 OPENSSL_EXPORT int SSL_set1_verify_cert_store(SSL *ssl, X509_STORE *store);
2551 OPENSSL_EXPORT void SSL_set_client_CA_list(SSL *ssl,
2562 OPENSSL_EXPORT void SSL_set0_client_CAs(SSL *ssl,
2579 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl);
2589 SSL_get0_server_requested_CAs(const SSL *ssl);
2598 OPENSSL_EXPORT int SSL_add_client_CA(SSL *ssl, X509 *x509);
2632 OPENSSL_EXPORT int SSL_set_tlsext_host_name(SSL *ssl, const char *name);
2637 OPENSSL_EXPORT const char *SSL_get_servername(const SSL *ssl, const int type);
2641 OPENSSL_EXPORT int SSL_get_servername_type(const SSL *ssl);
2655 SSL_CTX *ctx, int (*callback)(SSL *ssl, int *out_alert, void *arg));
2680 OPENSSL_EXPORT SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx);
2706 OPENSSL_EXPORT int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos,
2724 SSL_CTX *ctx, int (*cb)(SSL *ssl, const uint8_t **out, uint8_t *out_len,
2732 OPENSSL_EXPORT void SSL_get0_alpn_selected(const SSL *ssl,
2760 typedef int (*ssl_cert_compression_func_t)(SSL *ssl, CBB *out,
2772 typedef int (*ssl_cert_decompression_func_t)(SSL *ssl, CRYPTO_BUFFER **out,
2808 int (*cb)(SSL *ssl, const uint8_t **out, unsigned *out_len, void *arg),
2823 SSL_CTX *ctx, int (*cb)(SSL *ssl, uint8_t **out, uint8_t *out_len,
2834 OPENSSL_EXPORT void SSL_get0_next_proto_negotiated(const SSL *ssl,
2874 OPENSSL_EXPORT void SSL_set_tls_channel_id_enabled(SSL *ssl, int enabled);
2885 OPENSSL_EXPORT int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key);
2892 OPENSSL_EXPORT size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out,
2902 SSL_CTX *ctx, void (*channel_id_cb)(SSL *ssl, EVP_PKEY **out_pkey));
2907 SSL *ssl, EVP_PKEY **out_pkey);
2920 OPENSSL_EXPORT int SSL_set_token_binding_params(SSL *ssl, const uint8_t *params,
2928 OPENSSL_EXPORT int SSL_is_token_binding_negotiated(const SSL *ssl);
2934 OPENSSL_EXPORT uint8_t SSL_get_negotiated_token_binding_param(const SSL *ssl);
2969 OPENSSL_EXPORT int SSL_set_srtp_profiles(SSL *ssl, const char *profiles);
2973 SSL *ssl);
2978 SSL *ssl);
3010 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *hint, char *identity,
3018 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *hint, char *identity,
3030 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *identity, uint8_t *psk,
3037 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *identity, uint8_t *psk,
3049 OPENSSL_EXPORT int SSL_use_psk_identity_hint(SSL *ssl,
3054 OPENSSL_EXPORT const char *SSL_get_psk_identity_hint(const SSL *ssl);
3058 OPENSSL_EXPORT const char *SSL_get_psk_identity(const SSL *ssl);
3071 OPENSSL_EXPORT int SSL_pq_experiment_signal_seen(const SSL *ssl);
3092 OPENSSL_EXPORT int SSL_set_quic_transport_params(SSL *ssl,
3101 OPENSSL_EXPORT void SSL_get_peer_quic_transport_params(const SSL *ssl,
3137 SSL *ssl, CRYPTO_BUFFER *dc, EVP_PKEY *pkey,
3142 OPENSSL_EXPORT int SSL_delegated_credential_used(const SSL *ssl);
3214 int (*set_encryption_secrets)(SSL *ssl, enum ssl_encryption_level_t level,
3224 int (*add_handshake_data)(SSL *ssl, enum ssl_encryption_level_t level,
3229 int (*flush_flight)(SSL *ssl);
3232 int (*send_alert)(SSL *ssl, enum ssl_encryption_level_t level, uint8_t alert);
3241 const SSL *ssl, enum ssl_encryption_level_t level);
3244 OPENSSL_EXPORT enum ssl_encryption_level_t SSL_quic_read_level(const SSL *ssl);
3247 OPENSSL_EXPORT enum ssl_encryption_level_t SSL_quic_write_level(const SSL *ssl);
3253 OPENSSL_EXPORT int SSL_provide_quic_data(SSL *ssl,
3261 OPENSSL_EXPORT int SSL_process_quic_post_handshake(SSL *ssl);
3272 OPENSSL_EXPORT int SSL_set_quic_method(SSL *ssl,
3335 OPENSSL_EXPORT void SSL_set_early_data_enabled(SSL *ssl, int enabled);
3342 OPENSSL_EXPORT int SSL_in_early_data(const SSL *ssl);
3350 OPENSSL_EXPORT int SSL_early_data_accepted(const SSL *ssl);
3359 OPENSSL_EXPORT void SSL_reset_early_data_reject(SSL *ssl);
3364 OPENSSL_EXPORT int32_t SSL_get_ticket_age_skew(const SSL *ssl);
3404 const SSL *ssl);
3476 OPENSSL_EXPORT int SSL_send_fatal_alert(SSL *ssl, uint8_t alert);
3483 OPENSSL_EXPORT int SSL_set_ex_data(SSL *ssl, int idx, void *data);
3484 OPENSSL_EXPORT void *SSL_get_ex_data(const SSL *ssl, int idx);
3515 OPENSSL_EXPORT int SSL_get_ivs(const SSL *ssl, const uint8_t **out_read_iv,
3520 OPENSSL_EXPORT size_t SSL_get_key_block_len(const SSL *ssl);
3524 OPENSSL_EXPORT int SSL_generate_key_block(const SSL *ssl, uint8_t *out,
3531 OPENSSL_EXPORT uint64_t SSL_get_read_sequence(const SSL *ssl);
3536 OPENSSL_EXPORT uint64_t SSL_get_write_sequence(const SSL *ssl);
3560 const void *buf, size_t len, SSL *ssl, void *arg));
3569 SSL *ssl, void (*cb)(int write_p, int version, int content_type,
3570 const void *buf, size_t len, SSL *ssl, void *arg));
3573 OPENSSL_EXPORT void SSL_set_msg_callback_arg(SSL *ssl, void *arg);
3583 SSL_CTX *ctx, void (*cb)(const SSL *ssl, const char *line));
3588 const SSL *ssl, const char *line);
3595 SSL_CTX *ctx, void (*cb)(const SSL *ssl, struct timeval *out_clock));
3615 OPENSSL_EXPORT void SSL_set_shed_handshake_config(SSL *ssl, int enable);
3652 OPENSSL_EXPORT void SSL_set_renegotiate_mode(SSL *ssl,
3663 OPENSSL_EXPORT int SSL_renegotiate(SSL *ssl);
3667 OPENSSL_EXPORT int SSL_renegotiate_pending(SSL *ssl);
3671 OPENSSL_EXPORT int SSL_total_renegotiations(const SSL *ssl);
3689 OPENSSL_EXPORT size_t SSL_get_max_cert_list(const SSL *ssl);
3694 OPENSSL_EXPORT void SSL_set_max_cert_list(SSL *ssl, size_t max_cert_list);
3707 OPENSSL_EXPORT int SSL_set_max_send_fragment(SSL *ssl,
3715 SSL *ssl;
3789 OPENSSL_EXPORT void SSL_set_enforce_rsa_key_usage(SSL *ssl, int enabled);
3854 SSL_CTX *ctx, void (*cb)(const SSL *ssl, int type, int value));
3858 OPENSSL_EXPORT void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,
3865 SSL *ssl, void (*cb)(const SSL *ssl, int type, int value));
3868 OPENSSL_EXPORT void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,
3874 OPENSSL_EXPORT const char *SSL_state_string_long(const SSL *ssl);
3882 OPENSSL_EXPORT int SSL_get_shutdown(const SSL *ssl);
3886 OPENSSL_EXPORT uint16_t SSL_get_peer_signature_algorithm(const SSL *ssl);
3891 OPENSSL_EXPORT size_t SSL_get_client_random(const SSL *ssl, uint8_t *out,
3897 OPENSSL_EXPORT size_t SSL_get_server_random(const SSL *ssl, uint8_t *out,
3902 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
3910 OPENSSL_EXPORT void SSL_set_retain_only_sha256_of_client_certs(SSL *ssl,
3928 OPENSSL_EXPORT size_t SSL_max_seal_overhead(const SSL *ssl);
3943 OPENSSL_EXPORT void SSL_set_ignore_tls13_downgrade(SSL *ssl, int ignore);
3947 OPENSSL_EXPORT int SSL_is_tls13_downgrade(const SSL *ssl);
3955 OPENSSL_EXPORT void SSL_set_jdk11_workaround(SSL *ssl, int enable);
4042 OPENSSL_EXPORT int SSL_clear(SSL *ssl);
4046 SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export, int keylength));
4049 OPENSSL_EXPORT void SSL_set_tmp_rsa_callback(SSL *ssl,
4050 RSA *(*cb)(SSL *ssl, int is_export,
4087 OPENSSL_EXPORT int SSL_cutthrough_complete(const SSL *ssl);
4090 OPENSSL_EXPORT int SSL_num_renegotiations(const SSL *ssl);
4096 OPENSSL_EXPORT int SSL_need_tmp_RSA(const SSL *ssl);
4102 OPENSSL_EXPORT int SSL_set_tmp_rsa(SSL *ssl, const RSA *rsa);
4111 OPENSSL_EXPORT int SSL_get_read_ahead(const SSL *ssl);
4114 OPENSSL_EXPORT int SSL_set_read_ahead(SSL *ssl, int yes);
4117 OPENSSL_EXPORT void SSL_set_state(SSL *ssl, int state);
4121 OPENSSL_EXPORT char *SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len);
4173 OPENSSL_EXPORT int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles);
4176 OPENSSL_EXPORT const COMP_METHOD *SSL_get_current_compression(SSL *ssl);
4179 OPENSSL_EXPORT const COMP_METHOD *SSL_get_current_expansion(SSL *ssl);
4182 OPENSSL_EXPORT int SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **out_key);
4188 OPENSSL_EXPORT int SSL_set_tmp_dh(SSL *ssl, const DH *dh);
4192 SSL_CTX *ctx, DH *(*cb)(SSL *ssl, int is_export, int keylength));
4195 OPENSSL_EXPORT void SSL_set_tmp_dh_callback(SSL *ssl,
4196 DH *(*cb)(SSL *ssl, int is_export,
4218 OPENSSL_EXPORT int SSL_set1_sigalgs(SSL *ssl, const int *values,
4245 OPENSSL_EXPORT int SSL_set1_sigalgs_list(SSL *ssl, const char *str);
4315 OPENSSL_EXPORT int SSL_cache_hit(SSL *ssl);
4318 OPENSSL_EXPORT long SSL_get_default_timeout(const SSL *ssl);
4322 OPENSSL_EXPORT const char *SSL_get_version(const SSL *ssl);
4326 OPENSSL_EXPORT const char *SSL_get_cipher_list(const SSL *ssl, int n);
4343 SSL_CTX *ctx, int (*cb)(SSL *ssl, X509 **out_x509, EVP_PKEY **out_pkey));
4351 OPENSSL_EXPORT int SSL_want(const SSL *ssl);
4361 OPENSSL_EXPORT size_t SSL_get_finished(const SSL *ssl, void *buf, size_t count);
4369 OPENSSL_EXPORT size_t SSL_get_peer_finished(const SSL *ssl, void *buf,
4382 OPENSSL_EXPORT const char *SSL_state_string(const SSL *ssl);
4432 OPENSSL_EXPORT int SSL_state(const SSL *ssl);
4446 OPENSSL_EXPORT void SSL_set_shutdown(SSL *ssl, int mode);
4454 OPENSSL_EXPORT int SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ec_key);
4467 OPENSSL_EXPORT void SSL_set_verify_result(SSL *ssl, long result);
4473 OPENSSL_EXPORT int SSL_enable_tls_channel_id(SSL *ssl);
4486 OPENSSL_EXPORT long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership);
4508 OPENSSL_EXPORT SSL_SESSION *SSL_get_session(const SSL *ssl);
4515 OPENSSL_EXPORT SSL_SESSION *SSL_get1_session(SSL *ssl);
4536 OPENSSL_EXPORT int SSL_set_tlsext_status_type(SSL *ssl, int type);
4544 OPENSSL_EXPORT int SSL_get_tlsext_status_type(const SSL *ssl);
4551 OPENSSL_EXPORT int SSL_set_tlsext_status_ocsp_resp(SSL *ssl, uint8_t *resp,
4561 OPENSSL_EXPORT size_t SSL_get_tlsext_status_ocsp_resp(const SSL *ssl,
4584 int (*callback)(SSL *ssl,
4750 BORINGSSL_MAKE_DELETER(SSL, SSL_free)
4776 OPENSSL_EXPORT OpenRecordResult OpenRecord(SSL *ssl, Span<uint8_t> *out,
4781 OPENSSL_EXPORT size_t SealRecordPrefixLen(const SSL *ssl, size_t plaintext_len);
4790 OPENSSL_EXPORT size_t SealRecordSuffixLen(const SSL *ssl, size_t plaintext_len);
4808 OPENSSL_EXPORT bool SealRecord(SSL *ssl, Span<uint8_t> out_prefix,
4853 OPENSSL_EXPORT void SSL_set_handoff_mode(SSL *SSL, bool on);
4854 OPENSSL_EXPORT bool SSL_serialize_handoff(const SSL *ssl, CBB *out,
4856 OPENSSL_EXPORT bool SSL_decline_handoff(SSL *ssl);
4857 OPENSSL_EXPORT bool SSL_apply_handoff(SSL *ssl, Span<const uint8_t> handoff);
4858 OPENSSL_EXPORT bool SSL_serialize_handback(const SSL *ssl, CBB *out);
4859 OPENSSL_EXPORT bool SSL_apply_handback(SSL *ssl, Span<const uint8_t> handback);
4866 const SSL *ssl, Span<const uint8_t> *out_read_traffic_secret,