RetroArch
|
#include <ssl.h>
const char* mbedtls_ssl_context::alpn_chosen |
negotiated protocol
unsigned mbedtls_ssl_context::badmac_seen |
records with a bad MAC received
unsigned char* mbedtls_ssl_context::cli_id |
transport-level ID of the client
size_t mbedtls_ssl_context::cli_id_len |
length of cli_id
int mbedtls_ssl_context::client_auth |
flag for client auth.
const mbedtls_ssl_config* mbedtls_ssl_context::conf |
configuration information
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
char* mbedtls_ssl_context::hostname |
expected peer CN for verification (and SNI if available)
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
uint16_t mbedtls_ssl_context::in_epoch |
DTLS epoch for incoming records
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
uint64_t mbedtls_ssl_context::in_window |
bitmask for replay detection
uint64_t mbedtls_ssl_context::in_window_top |
last validated record seq_num
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 |
size_t mbedtls_ssl_context::next_record_offset |
offset of the next record in datagram (equal to in_left if none)
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
char mbedtls_ssl_context::own_verify_data[MBEDTLS_SSL_VERIFY_DATA_MAX_LEN] |
previous handshake verify data
void* mbedtls_ssl_context::p_bio |
context for I/O operations
void* mbedtls_ssl_context::p_timer |
context for the timer callbacks
char mbedtls_ssl_context::peer_verify_data[MBEDTLS_SSL_VERIFY_DATA_MAX_LEN] |
previous handshake verify data
int mbedtls_ssl_context::renego_records_seen |
Records since renego request, or with DTLS, number of retransmissions of request if renego_max_records is < 0
int mbedtls_ssl_context::renego_status |
Initial, in progress, pending?
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)
signed char mbedtls_ssl_context::split_done |
current record already splitted?
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)
size_t mbedtls_ssl_context::verify_data_len |
length of verify data stored