• 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);
565 OPENSSL_EXPORT int SSL_set_mtu(SSL *ssl, unsigned mtu);
574 OPENSSL_EXPORT void DTLSv1_set_initial_timeout_duration(SSL *ssl,
586 OPENSSL_EXPORT int DTLSv1_get_timeout(const SSL *ssl, struct timeval *out);
605 OPENSSL_EXPORT int DTLSv1_handle_timeout(SSL *ssl);
637 OPENSSL_EXPORT int SSL_set_min_proto_version(SSL *ssl, uint16_t version);
642 OPENSSL_EXPORT int SSL_set_max_proto_version(SSL *ssl, uint16_t version);
647 OPENSSL_EXPORT int SSL_version(const SSL *ssl);
693 OPENSSL_EXPORT uint32_t SSL_set_options(SSL *ssl, uint32_t options);
698 OPENSSL_EXPORT uint32_t SSL_clear_options(SSL *ssl, uint32_t options);
702 OPENSSL_EXPORT uint32_t SSL_get_options(const SSL *ssl);
775 OPENSSL_EXPORT uint32_t SSL_set_mode(SSL *ssl, uint32_t mode);
780 OPENSSL_EXPORT uint32_t SSL_clear_mode(SSL *ssl, uint32_t mode);
784 OPENSSL_EXPORT uint32_t SSL_get_mode(const SSL *ssl);
813 OPENSSL_EXPORT int SSL_use_certificate(SSL *ssl, X509 *x509);
821 OPENSSL_EXPORT int SSL_use_PrivateKey(SSL *ssl, EVP_PKEY *pkey);
836 OPENSSL_EXPORT int SSL_set0_chain(SSL *ssl, STACK_OF(X509) *chain);
841 OPENSSL_EXPORT int SSL_set1_chain(SSL *ssl, STACK_OF(X509) *chain);
855 OPENSSL_EXPORT int SSL_add0_chain_cert(SSL *ssl, X509 *x509);
863 OPENSSL_EXPORT int SSL_add1_chain_cert(SSL *ssl, X509 *x509);
873 OPENSSL_EXPORT int SSL_clear_chain_certs(SSL *ssl);
888 int (*cb)(SSL *ssl, void *arg),
903 OPENSSL_EXPORT void SSL_set_cert_cb(SSL *ssl, int (*cb)(SSL *ssl, void *arg),
915 OPENSSL_EXPORT size_t SSL_get0_certificate_types(const SSL *ssl,
928 SSL_get0_peer_verify_algorithms(const SSL *ssl, const uint16_t **out_sigalgs);
932 OPENSSL_EXPORT void SSL_certs_clear(SSL *ssl);
940 OPENSSL_EXPORT int SSL_check_private_key(const SSL *ssl);
946 OPENSSL_EXPORT X509 *SSL_get_certificate(const SSL *ssl);
952 OPENSSL_EXPORT EVP_PKEY *SSL_get_privatekey(const SSL *ssl);
965 OPENSSL_EXPORT int SSL_get0_chain_certs(const SSL *ssl,
984 OPENSSL_EXPORT int SSL_set_signed_cert_timestamp_list(SSL *ctx,
998 OPENSSL_EXPORT int SSL_set_ocsp_response(SSL *ssl,
1052 OPENSSL_EXPORT int SSL_set_signing_algorithm_prefs(SSL *ssl,
1072 SSL *ssl, CRYPTO_BUFFER *const *certs, size_t num_certs, EVP_PKEY *privkey,
1081 OPENSSL_EXPORT int SSL_use_RSAPrivateKey(SSL *ssl, RSA *rsa);
1089 OPENSSL_EXPORT int SSL_use_certificate_ASN1(SSL *ssl, const uint8_t *der,
1095 OPENSSL_EXPORT int SSL_use_PrivateKey_ASN1(int type, SSL *ssl,
1101 OPENSSL_EXPORT int SSL_use_RSAPrivateKey_ASN1(SSL *ssl, const uint8_t *der,
1115 OPENSSL_EXPORT int SSL_use_RSAPrivateKey_file(SSL *ssl, const char *file,
1120 OPENSSL_EXPORT int SSL_use_certificate_file(SSL *ssl, const char *file,
1125 OPENSSL_EXPORT int SSL_use_PrivateKey_file(SSL *ssl, const char *file,
1184 enum ssl_private_key_result_t (*sign)(SSL *ssl, uint8_t *out, size_t *out_len,
1201 enum ssl_private_key_result_t (*decrypt)(SSL *ssl, uint8_t *out,
1213 enum ssl_private_key_result_t (*complete)(SSL *ssl, uint8_t *out,
1220 SSL *ssl, const SSL_PRIVATE_KEY_METHOD *key_method);
1426 OPENSSL_EXPORT int SSL_set_strict_cipher_list(SSL *ssl, const char *str);
1433 OPENSSL_EXPORT int SSL_set_cipher_list(SSL *ssl, const char *str);
1445 OPENSSL_EXPORT STACK_OF(SSL_CIPHER) *SSL_get_ciphers(const SSL *ssl);
1452 OPENSSL_EXPORT int SSL_is_init_finished(const SSL *ssl);
1456 OPENSSL_EXPORT int SSL_in_init(const SSL *ssl);
1464 OPENSSL_EXPORT int SSL_in_false_start(const SSL *ssl);
1469 OPENSSL_EXPORT X509 *SSL_get_peer_certificate(const SSL *ssl);
1479 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_cert_chain(const SSL *ssl);
1491 OPENSSL_EXPORT STACK_OF(X509) *SSL_get_peer_full_cert_chain(const SSL *ssl);
1500 SSL_get0_peer_certificates(const SSL *ssl);
1510 OPENSSL_EXPORT void SSL_get0_signed_cert_timestamp_list(const SSL *ssl,
1519 OPENSSL_EXPORT void SSL_get0_ocsp_response(const SSL *ssl, const uint8_t **out,
1539 OPENSSL_EXPORT int SSL_get_tls_unique(const SSL *ssl, uint8_t *out,
1544 OPENSSL_EXPORT int SSL_get_extms_support(const SSL *ssl);
1548 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_current_cipher(const SSL *ssl);
1555 OPENSSL_EXPORT int SSL_session_reused(const SSL *ssl);
1559 OPENSSL_EXPORT int SSL_get_secure_renegotiation_support(const SSL *ssl);
1568 SSL *ssl, uint8_t *out, size_t out_len, const char *label, size_t label_len,
1864 OPENSSL_EXPORT int SSL_set_session(SSL *ssl, SSL_SESSION *session);
1911 OPENSSL_EXPORT int SSL_set_session_id_context(SSL *ssl, const uint8_t *sid_ctx,
1916 OPENSSL_EXPORT const uint8_t *SSL_get0_session_id_context(const SSL *ssl,
1968 SSL_CTX *ctx, int (*new_session_cb)(SSL *ssl, SSL_SESSION *session));
1973 SSL *ssl, SSL_SESSION *session);
2009 SSL_CTX *ctx, SSL_SESSION *(*get_session_cb)(SSL *ssl, const uint8_t *id,
2015 SSL *ssl, const uint8_t *id, int id_len, int *out_copy);
2102 SSL_CTX *ctx, int (*callback)(SSL *ssl, uint8_t *key_name, uint8_t *iv,
2129 size_t (*max_overhead)(SSL *ssl);
2135 int (*seal)(SSL *ssl, uint8_t *out, size_t *out_len, size_t max_out_len,
2145 enum ssl_ticket_aead_result_t (*open)(SSL *ssl, uint8_t *out, size_t *out_len,
2181 OPENSSL_EXPORT int SSL_set1_curves(SSL *ssl, const int *curves,
2194 OPENSSL_EXPORT int SSL_set1_curves_list(SSL *ssl, const char *curves);
2209 OPENSSL_EXPORT uint16_t SSL_get_curve_id(const SSL *ssl);
2278 OPENSSL_EXPORT void SSL_set_verify(SSL *ssl, int mode,
2307 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert));
2312 SSL *ssl, int mode,
2313 enum ssl_verify_result_t (*callback)(SSL *ssl, uint8_t *out_alert));
2321 OPENSSL_EXPORT int SSL_get_verify_mode(const SSL *ssl);
2330 OPENSSL_EXPORT int (*SSL_get_verify_callback(const SSL *ssl))(
2341 OPENSSL_EXPORT void SSL_set_verify_depth(SSL *ssl, int depth);
2349 OPENSSL_EXPORT int SSL_get_verify_depth(const SSL *ssl);
2358 OPENSSL_EXPORT int SSL_set1_param(SSL *ssl,
2369 OPENSSL_EXPORT X509_VERIFY_PARAM *SSL_get0_param(SSL *ssl);
2377 OPENSSL_EXPORT int SSL_set_purpose(SSL *ssl, int purpose);
2385 OPENSSL_EXPORT int SSL_set_trust(SSL *ssl, int trust);
2416 OPENSSL_EXPORT long SSL_get_verify_result(const SSL *ssl);
2445 OPENSSL_EXPORT void SSL_enable_signed_cert_timestamps(SSL *ssl);
2459 OPENSSL_EXPORT void SSL_enable_ocsp_stapling(SSL *ssl);
2483 OPENSSL_EXPORT int SSL_set0_verify_cert_store(SSL *ssl, X509_STORE *store);
2488 OPENSSL_EXPORT int SSL_set1_verify_cert_store(SSL *ssl, X509_STORE *store);
2520 OPENSSL_EXPORT void SSL_set_client_CA_list(SSL *ssl,
2531 OPENSSL_EXPORT void SSL_set0_client_CAs(SSL *ssl,
2548 OPENSSL_EXPORT STACK_OF(X509_NAME) *SSL_get_client_CA_list(const SSL *ssl);
2558 SSL_get0_server_requested_CAs(const SSL *ssl);
2567 OPENSSL_EXPORT int SSL_add_client_CA(SSL *ssl, X509 *x509);
2601 OPENSSL_EXPORT int SSL_set_tlsext_host_name(SSL *ssl, const char *name);
2606 OPENSSL_EXPORT const char *SSL_get_servername(const SSL *ssl, const int type);
2610 OPENSSL_EXPORT int SSL_get_servername_type(const SSL *ssl);
2624 SSL_CTX *ctx, int (*callback)(SSL *ssl, int *out_alert, void *arg));
2649 OPENSSL_EXPORT SSL_CTX *SSL_set_SSL_CTX(SSL *ssl, SSL_CTX *ctx);
2675 OPENSSL_EXPORT int SSL_set_alpn_protos(SSL *ssl, const uint8_t *protos,
2693 SSL_CTX *ctx, int (*cb)(SSL *ssl, const uint8_t **out, uint8_t *out_len,
2701 OPENSSL_EXPORT void SSL_get0_alpn_selected(const SSL *ssl,
2729 typedef int (*ssl_cert_compression_func_t)(SSL *ssl, CBB *out,
2741 typedef int (*ssl_cert_decompression_func_t)(SSL *ssl, CRYPTO_BUFFER **out,
2777 int (*cb)(SSL *ssl, const uint8_t **out, unsigned *out_len, void *arg),
2792 SSL_CTX *ctx, int (*cb)(SSL *ssl, uint8_t **out, uint8_t *out_len,
2803 OPENSSL_EXPORT void SSL_get0_next_proto_negotiated(const SSL *ssl,
2843 OPENSSL_EXPORT void SSL_set_tls_channel_id_enabled(SSL *ssl, int enabled);
2854 OPENSSL_EXPORT int SSL_set1_tls_channel_id(SSL *ssl, EVP_PKEY *private_key);
2861 OPENSSL_EXPORT size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out,
2871 SSL_CTX *ctx, void (*channel_id_cb)(SSL *ssl, EVP_PKEY **out_pkey));
2876 SSL *ssl, EVP_PKEY **out_pkey);
2889 OPENSSL_EXPORT int SSL_set_token_binding_params(SSL *ssl, const uint8_t *params,
2897 OPENSSL_EXPORT int SSL_is_token_binding_negotiated(const SSL *ssl);
2903 OPENSSL_EXPORT uint8_t SSL_get_negotiated_token_binding_param(const SSL *ssl);
2938 OPENSSL_EXPORT int SSL_set_srtp_profiles(SSL *ssl, const char *profiles);
2942 SSL *ssl);
2947 SSL *ssl);
2979 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *hint, char *identity,
2987 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *hint, char *identity,
2999 SSL_CTX *ctx, unsigned (*cb)(SSL *ssl, const char *identity, uint8_t *psk,
3006 SSL *ssl, unsigned (*cb)(SSL *ssl, const char *identity, uint8_t *psk,
3018 OPENSSL_EXPORT int SSL_use_psk_identity_hint(SSL *ssl,
3023 OPENSSL_EXPORT const char *SSL_get_psk_identity_hint(const SSL *ssl);
3027 OPENSSL_EXPORT const char *SSL_get_psk_identity(const SSL *ssl);
3048 OPENSSL_EXPORT int SSL_set_quic_transport_params(SSL *ssl,
3057 OPENSSL_EXPORT void SSL_get_peer_quic_transport_params(const SSL *ssl,
3093 SSL *ssl, CRYPTO_BUFFER *dc, EVP_PKEY *pkey,
3158 int (*set_encryption_secrets)(SSL *ssl, enum ssl_encryption_level_t level,
3168 int (*add_handshake_data)(SSL *ssl, enum ssl_encryption_level_t level,
3173 int (*flush_flight)(SSL *ssl);
3176 int (*send_alert)(SSL *ssl, enum ssl_encryption_level_t level, uint8_t alert);
3185 const SSL *ssl, enum ssl_encryption_level_t level);
3188 OPENSSL_EXPORT enum ssl_encryption_level_t SSL_quic_read_level(const SSL *ssl);
3191 OPENSSL_EXPORT enum ssl_encryption_level_t SSL_quic_write_level(const SSL *ssl);
3197 OPENSSL_EXPORT int SSL_provide_quic_data(SSL *ssl,
3205 OPENSSL_EXPORT int SSL_process_quic_post_handshake(SSL *ssl);
3216 OPENSSL_EXPORT int SSL_set_quic_method(SSL *ssl,
3279 OPENSSL_EXPORT void SSL_set_early_data_enabled(SSL *ssl, int enabled);
3286 OPENSSL_EXPORT int SSL_in_early_data(const SSL *ssl);
3290 OPENSSL_EXPORT int SSL_early_data_accepted(const SSL *ssl);
3299 OPENSSL_EXPORT void SSL_reset_early_data_reject(SSL *ssl);
3305 SSL *ssl, uint8_t *out, size_t out_len, const char *label, size_t label_len,
3378 OPENSSL_EXPORT int SSL_send_fatal_alert(SSL *ssl, uint8_t alert);
3385 OPENSSL_EXPORT int SSL_set_ex_data(SSL *ssl, int idx, void *data);
3386 OPENSSL_EXPORT void *SSL_get_ex_data(const SSL *ssl, int idx);
3417 OPENSSL_EXPORT int SSL_get_ivs(const SSL *ssl, const uint8_t **out_read_iv,
3422 OPENSSL_EXPORT size_t SSL_get_key_block_len(const SSL *ssl);
3426 OPENSSL_EXPORT int SSL_generate_key_block(const SSL *ssl, uint8_t *out,
3433 OPENSSL_EXPORT uint64_t SSL_get_read_sequence(const SSL *ssl);
3438 OPENSSL_EXPORT uint64_t SSL_get_write_sequence(const SSL *ssl);
3462 const void *buf, size_t len, SSL *ssl, void *arg));
3471 SSL *ssl, void (*cb)(int write_p, int version, int content_type,
3472 const void *buf, size_t len, SSL *ssl, void *arg));
3475 OPENSSL_EXPORT void SSL_set_msg_callback_arg(SSL *ssl, void *arg);
3485 SSL_CTX *ctx, void (*cb)(const SSL *ssl, const char *line));
3490 const SSL *ssl, const char *line);
3497 SSL_CTX *ctx, void (*cb)(const SSL *ssl, struct timeval *out_clock));
3517 OPENSSL_EXPORT void SSL_set_shed_handshake_config(SSL *ssl, int enable);
3546 OPENSSL_EXPORT void SSL_set_renegotiate_mode(SSL *ssl,
3551 OPENSSL_EXPORT int SSL_renegotiate_pending(SSL *ssl);
3555 OPENSSL_EXPORT int SSL_total_renegotiations(const SSL *ssl);
3573 OPENSSL_EXPORT size_t SSL_get_max_cert_list(const SSL *ssl);
3578 OPENSSL_EXPORT void SSL_set_max_cert_list(SSL *ssl, size_t max_cert_list);
3591 OPENSSL_EXPORT int SSL_set_max_send_fragment(SSL *ssl,
3599 SSL *ssl;
3671 OPENSSL_EXPORT void SSL_set_enforce_rsa_key_usage(SSL *ssl, int enabled);
3736 SSL_CTX *ctx, void (*cb)(const SSL *ssl, int type, int value));
3740 OPENSSL_EXPORT void (*SSL_CTX_get_info_callback(SSL_CTX *ctx))(const SSL *ssl,
3747 SSL *ssl, void (*cb)(const SSL *ssl, int type, int value));
3750 OPENSSL_EXPORT void (*SSL_get_info_callback(const SSL *ssl))(const SSL *ssl,
3756 OPENSSL_EXPORT const char *SSL_state_string_long(const SSL *ssl);
3764 OPENSSL_EXPORT int SSL_get_shutdown(const SSL *ssl);
3768 OPENSSL_EXPORT uint16_t SSL_get_peer_signature_algorithm(const SSL *ssl);
3773 OPENSSL_EXPORT size_t SSL_get_client_random(const SSL *ssl, uint8_t *out,
3779 OPENSSL_EXPORT size_t SSL_get_server_random(const SSL *ssl, uint8_t *out,
3784 OPENSSL_EXPORT const SSL_CIPHER *SSL_get_pending_cipher(const SSL *ssl);
3792 OPENSSL_EXPORT void SSL_set_retain_only_sha256_of_client_certs(SSL *ssl,
3810 OPENSSL_EXPORT size_t SSL_max_seal_overhead(const SSL *ssl);
3815 OPENSSL_EXPORT int32_t SSL_get_ticket_age_skew(const SSL *ssl);
3830 OPENSSL_EXPORT void SSL_set_ignore_tls13_downgrade(SSL *ssl, int ignore);
3834 OPENSSL_EXPORT int SSL_is_tls13_downgrade(const SSL *ssl);
3842 OPENSSL_EXPORT void SSL_set_jdk11_workaround(SSL *ssl, int enable);
3929 OPENSSL_EXPORT int SSL_clear(SSL *ssl);
3933 SSL_CTX *ctx, RSA *(*cb)(SSL *ssl, int is_export, int keylength));
3936 OPENSSL_EXPORT void SSL_set_tmp_rsa_callback(SSL *ssl,
3937 RSA *(*cb)(SSL *ssl, int is_export,
3974 OPENSSL_EXPORT int SSL_cutthrough_complete(const SSL *ssl);
3977 OPENSSL_EXPORT int SSL_num_renegotiations(const SSL *ssl);
3983 OPENSSL_EXPORT int SSL_need_tmp_RSA(const SSL *ssl);
3989 OPENSSL_EXPORT int SSL_set_tmp_rsa(SSL *ssl, const RSA *rsa);
3998 OPENSSL_EXPORT int SSL_get_read_ahead(const SSL *ssl);
4001 OPENSSL_EXPORT int SSL_set_read_ahead(SSL *ssl, int yes);
4004 OPENSSL_EXPORT int SSL_renegotiate(SSL *ssl);
4007 OPENSSL_EXPORT void SSL_set_state(SSL *ssl, int state);
4011 OPENSSL_EXPORT char *SSL_get_shared_ciphers(const SSL *ssl, char *buf, int len);
4063 OPENSSL_EXPORT int SSL_set_tlsext_use_srtp(SSL *ssl, const char *profiles);
4066 OPENSSL_EXPORT const COMP_METHOD *SSL_get_current_compression(SSL *ssl);
4069 OPENSSL_EXPORT const COMP_METHOD *SSL_get_current_expansion(SSL *ssl);
4072 OPENSSL_EXPORT int SSL_get_server_tmp_key(SSL *ssl, EVP_PKEY **out_key);
4078 OPENSSL_EXPORT int SSL_set_tmp_dh(SSL *ssl, const DH *dh);
4082 SSL_CTX *ctx, DH *(*cb)(SSL *ssl, int is_export, int keylength));
4085 OPENSSL_EXPORT void SSL_set_tmp_dh_callback(SSL *ssl,
4086 DH *(*cb)(SSL *ssl, int is_export,
4108 OPENSSL_EXPORT int SSL_set1_sigalgs(SSL *ssl, const int *values,
4135 OPENSSL_EXPORT int SSL_set1_sigalgs_list(SSL *ssl, const char *str);
4205 OPENSSL_EXPORT int SSL_cache_hit(SSL *ssl);
4208 OPENSSL_EXPORT long SSL_get_default_timeout(const SSL *ssl);
4212 OPENSSL_EXPORT const char *SSL_get_version(const SSL *ssl);
4216 OPENSSL_EXPORT const char *SSL_get_cipher_list(const SSL *ssl, int n);
4233 SSL_CTX *ctx, int (*cb)(SSL *ssl, X509 **out_x509, EVP_PKEY **out_pkey));
4251 OPENSSL_EXPORT int SSL_want(const SSL *ssl);
4261 OPENSSL_EXPORT size_t SSL_get_finished(const SSL *ssl, void *buf, size_t count);
4269 OPENSSL_EXPORT size_t SSL_get_peer_finished(const SSL *ssl, void *buf,
4282 OPENSSL_EXPORT const char *SSL_state_string(const SSL *ssl);
4332 OPENSSL_EXPORT int SSL_state(const SSL *ssl);
4346 OPENSSL_EXPORT void SSL_set_shutdown(SSL *ssl, int mode);
4354 OPENSSL_EXPORT int SSL_set_tmp_ecdh(SSL *ssl, const EC_KEY *ec_key);
4367 OPENSSL_EXPORT void SSL_set_verify_result(SSL *ssl, long result);
4373 OPENSSL_EXPORT int SSL_enable_tls_channel_id(SSL *ssl);
4386 OPENSSL_EXPORT long BIO_set_ssl(BIO *bio, SSL *ssl, int take_owership);
4408 OPENSSL_EXPORT SSL_SESSION *SSL_get_session(const SSL *ssl);
4415 OPENSSL_EXPORT SSL_SESSION *SSL_get1_session(SSL *ssl);
4436 OPENSSL_EXPORT int SSL_set_tlsext_status_type(SSL *ssl, int type);
4444 OPENSSL_EXPORT int SSL_get_tlsext_status_type(const SSL *ssl);
4451 OPENSSL_EXPORT int SSL_set_tlsext_status_ocsp_resp(SSL *ssl, uint8_t *resp,
4461 OPENSSL_EXPORT size_t SSL_get_tlsext_status_ocsp_resp(const SSL *ssl,
4484 int (*callback)(SSL *ssl,
4650 BORINGSSL_MAKE_DELETER(SSL, SSL_free)
4676 OPENSSL_EXPORT OpenRecordResult OpenRecord(SSL *ssl, Span<uint8_t> *out,
4681 OPENSSL_EXPORT size_t SealRecordPrefixLen(const SSL *ssl, size_t plaintext_len);
4690 OPENSSL_EXPORT size_t SealRecordSuffixLen(const SSL *ssl, size_t plaintext_len);
4708 OPENSSL_EXPORT bool SealRecord(SSL *ssl, Span<uint8_t> out_prefix,
4753 OPENSSL_EXPORT void SSL_set_handoff_mode(SSL *SSL, bool on);
4754 OPENSSL_EXPORT bool SSL_serialize_handoff(const SSL *ssl, CBB *out);
4755 OPENSSL_EXPORT bool SSL_decline_handoff(SSL *ssl);
4756 OPENSSL_EXPORT bool SSL_apply_handoff(SSL *ssl, Span<const uint8_t> handoff);
4757 OPENSSL_EXPORT bool SSL_serialize_handback(const SSL *ssl, CBB *out);
4758 OPENSSL_EXPORT bool SSL_apply_handback(SSL *ssl, Span<const uint8_t> handback);
4765 const SSL *ssl, Span<const uint8_t> *out_read_traffic_secret,