#include <ssl.h>
int mbedtls_ssl_context::client_auth |
flag for client auth.
const mbedtls_ssl_config* mbedtls_ssl_context::conf |
configuration information
unsigned char mbedtls_ssl_context::cur_out_ctr[8] |
Outgoing record sequence number.
mbedtls_ssl_get_timer_t* mbedtls_ssl_context::f_get_timer |
get timer callback
mbedtls_ssl_recv_t* mbedtls_ssl_context::f_recv |
Callback for network receive
mbedtls_ssl_recv_timeout_t* mbedtls_ssl_context::f_recv_timeout |
Callback for network receive with timeout
mbedtls_ssl_send_t* mbedtls_ssl_context::f_send |
Callback for network send
mbedtls_ssl_set_timer_t* mbedtls_ssl_context::f_set_timer |
set timer callback
mbedtls_ssl_handshake_params* mbedtls_ssl_context::handshake |
params required only during the handshake process
unsigned char* mbedtls_ssl_context::in_buf |
input buffer
unsigned char* mbedtls_ssl_context::in_ctr |
64-bit incoming message counter TLS: maintained by us DTLS: read from peer
unsigned char* mbedtls_ssl_context::in_hdr |
start of record header
size_t mbedtls_ssl_context::in_hslen |
current handshake message length, including the handshake header
unsigned char* mbedtls_ssl_context::in_iv |
ivlen-byte IV
size_t mbedtls_ssl_context::in_left |
amount of data read so far
unsigned char* mbedtls_ssl_context::in_len |
two-bytes message length field
unsigned char* mbedtls_ssl_context::in_msg |
message contents (in_iv+ivlen)
size_t mbedtls_ssl_context::in_msglen |
record header: message length
int mbedtls_ssl_context::in_msgtype |
record header: message type
unsigned char* mbedtls_ssl_context::in_offt |
read offset in application data
int mbedtls_ssl_context::keep_current_message |
drop or reuse current message on next call to record layer?
int mbedtls_ssl_context::major_ver |
equal to MBEDTLS_SSL_MAJOR_VERSION_3
int mbedtls_ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
int mbedtls_ssl_context::nb_zero |
unsigned char* mbedtls_ssl_context::out_buf |
output buffer
unsigned char* mbedtls_ssl_context::out_ctr |
64-bit outgoing message counter
unsigned char* mbedtls_ssl_context::out_hdr |
start of record header
unsigned char* mbedtls_ssl_context::out_iv |
ivlen-byte IV
size_t mbedtls_ssl_context::out_left |
amount of data not yet written
unsigned char* mbedtls_ssl_context::out_len |
two-bytes message length field
unsigned char* mbedtls_ssl_context::out_msg |
message contents (out_iv+ivlen)
size_t mbedtls_ssl_context::out_msglen |
record header: message length
int mbedtls_ssl_context::out_msgtype |
record header: message type
void* mbedtls_ssl_context::p_bio |
context for I/O operations
void* mbedtls_ssl_context::p_timer |
context for the timer callbacks
int mbedtls_ssl_context::secure_renegotiation |
does peer support legacy or secure renegotiation
mbedtls_ssl_session* mbedtls_ssl_context::session |
negotiated session data
mbedtls_ssl_session* mbedtls_ssl_context::session_in |
current session data (in)
mbedtls_ssl_session* mbedtls_ssl_context::session_negotiate |
session data in negotiation
mbedtls_ssl_session* mbedtls_ssl_context::session_out |
current session data (out)
int mbedtls_ssl_context::state |
SSL handshake: current state
mbedtls_ssl_transform* mbedtls_ssl_context::transform |
negotiated transform params
mbedtls_ssl_transform* mbedtls_ssl_context::transform_in |
current transform params (in)
mbedtls_ssl_transform* mbedtls_ssl_context::transform_negotiate |
transform params in negotiation
mbedtls_ssl_transform* mbedtls_ssl_context::transform_out |
current transform params (in)