Lines Matching defs:ssl_st

3711 struct ssl_st {  struct
3713 int version;
3717 uint16_t max_version;
3721 uint16_t min_version;
3725 const SSL_PROTOCOL_METHOD *method;
3729 const SSL3_ENC_METHOD *enc_method;
3734 BIO *rbio; /* used by SSL_read */
3735 BIO *wbio; /* used by SSL_write */
3744 BIO *bbio;
3746 int (*handshake_func)(SSL *);
3754 int shutdown; /* we have shut things down, 0x01 sent, 0x02
3756 int state; /* where we are */
3758 BUF_MEM *init_buf; /* buffer used during init */
3759 uint8_t *init_msg; /* pointer to handshake message body, set by
3761 int init_num; /* amount read/written */
3762 int init_off; /* amount read/written */
3764 struct ssl3_state_st *s3; /* SSLv3 variables */
3765 struct dtls1_state_st *d1; /* DTLSv1 variables */
3768 void (*msg_callback)(int write_p, int version, int content_type,
3770 void *msg_callback_arg;
3772 X509_VERIFY_PARAM *param;
3775 struct ssl_cipher_preference_list_st *cipher_list;
3778 SSL_AEAD_CTX *aead_read_ctx;
3779 SSL_AEAD_CTX *aead_write_ctx;
3785 struct cert_st /* CERT */ *cert;
3790 int rwstate;
3794 unsigned int sid_ctx_length;
3795 uint8_t sid_ctx[SSL_MAX_SID_CTX_LENGTH];
3798 SSL_SESSION *session;
3800 int (*verify_callback)(int ok,
3803 void (*info_callback)(const SSL *ssl, int type, int value);
3807 char *psk_identity_hint;
3809 unsigned int (*psk_client_callback)(SSL *ssl, const char *hint,
3813 unsigned int (*psk_server_callback)(SSL *ssl, const char *identity,
3816 SSL_CTX *ctx;
3819 long verify_result;
3820 CRYPTO_EX_DATA ex_data;
3825 uint32_t options; /* protocol behaviour */
3826 uint32_t mode; /* API behaviour */
3827 uint32_t max_cert_list;
3828 int client_version; /* what was passed, used for
3830 uint16_t max_send_fragment;
3831 char *tlsext_hostname;
3833 int tlsext_ticket_expected;
3834 size_t tlsext_ellipticcurvelist_length;
3835 uint16_t *tlsext_ellipticcurvelist; /* our list */
3837 SSL_CTX *initial_ctx; /* initial ctx, used to store sessions */
3845 uint8_t *next_proto_negotiated;
3846 size_t next_proto_negotiated_len;
3854 const SRTP_PROTECTION_PROFILE *srtp_profile;
3857 EVP_PKEY *tlsext_channel_id_private;
3861 uint8_t *alpn_client_proto_list;
3862 unsigned alpn_client_proto_list_len;
3865 enum ssl_renegotiate_mode_t renegotiate_mode;
3870 EVP_CIPHER_CTX *enc_read_ctx;
3871 EVP_MD_CTX *read_hash;
3875 int in_handshake;
3878 uint8_t verify_mode;
3881 unsigned hit:1;
3886 unsigned server:1;
3890 unsigned quiet_shutdown:1;
3893 unsigned signed_cert_timestamps_enabled:1;
3897 unsigned ocsp_stapling_enabled:1;
3902 unsigned tlsext_channel_id_enabled:1;