#include <ssl.h>
Definition at line 1143 of file ssl.h.
const char* mbedtls_ssl_context::alpn_chosen |
negotiated protocol
Definition at line 1298 of file ssl.h.
unsigned mbedtls_ssl_context::badmac_seen |
records with a bad MAC received
Definition at line 1162 of file ssl.h.
unsigned char* mbedtls_ssl_context::cli_id |
transport-level ID of the client
Definition at line 1305 of file ssl.h.
size_t mbedtls_ssl_context::cli_id_len |
length of cli_id
Definition at line 1306 of file ssl.h.
int mbedtls_ssl_context::client_auth |
flag for client auth.
Definition at line 1287 of file ssl.h.
unsigned char* mbedtls_ssl_context::compress_buf |
zlib data buffer
Definition at line 1278 of file ssl.h.
configuration information
Definition at line 1145 of file ssl.h.
unsigned char mbedtls_ssl_context::cur_out_ctr[8] |
Outgoing record sequence number.
Definition at line 1271 of file ssl.h.
uint8_t mbedtls_ssl_context::disable_datagram_packing |
Disable packing multiple records within a single datagram.
Definition at line 1246 of file ssl.h.
get timer callback
Definition at line 1203 of file ssl.h.
Callback for network receive
Definition at line 1172 of file ssl.h.
Callback for network receive with timeout
Definition at line 1173 of file ssl.h.
Callback for network send
Definition at line 1171 of file ssl.h.
set timer callback
Definition at line 1202 of file ssl.h.
Callback to customize X.509 certificate chain verification
Definition at line 1167 of file ssl.h.
params required only during the handshake process
Definition at line 1186 of file ssl.h.
char* mbedtls_ssl_context::hostname |
expected peer CN for verification (and SNI if available)
Definition at line 1293 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_buf |
input buffer
Definition at line 1208 of file ssl.h.
size_t mbedtls_ssl_context::in_buf_len |
length of input buffer
Definition at line 1226 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_cid |
The start of the CID; (the end is marked by in_len).
Definition at line 1214 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_ctr |
64-bit incoming message counter TLS: maintained by us DTLS: read from peer
Definition at line 1209 of file ssl.h.
uint16_t mbedtls_ssl_context::in_epoch |
DTLS epoch for incoming records
Definition at line 1229 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_hdr |
start of record header
Definition at line 1212 of file ssl.h.
size_t mbedtls_ssl_context::in_hslen |
current handshake message length, including the handshake header
Definition at line 1238 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_iv |
ivlen-byte IV
Definition at line 1218 of file ssl.h.
size_t mbedtls_ssl_context::in_left |
amount of data read so far
Definition at line 1224 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_len |
two-bytes message length field
Definition at line 1217 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_msg |
message contents (in_iv+ivlen)
Definition at line 1219 of file ssl.h.
size_t mbedtls_ssl_context::in_msglen |
record header: message length
Definition at line 1223 of file ssl.h.
int mbedtls_ssl_context::in_msgtype |
record header: message type
Definition at line 1222 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_offt |
read offset in application data
Definition at line 1220 of file ssl.h.
uint64_t mbedtls_ssl_context::in_window |
bitmask for replay detection
Definition at line 1235 of file ssl.h.
uint64_t mbedtls_ssl_context::in_window_top |
last validated record seq_num
Definition at line 1234 of file ssl.h.
int mbedtls_ssl_context::keep_current_message |
drop or reuse current message on next call to record layer?
Definition at line 1242 of file ssl.h.
int mbedtls_ssl_context::major_ver |
equal to MBEDTLS_SSL_MAJOR_VERSION_3
Definition at line 1158 of file ssl.h.
int mbedtls_ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
Definition at line 1159 of file ssl.h.
uint16_t mbedtls_ssl_context::mtu |
path mtu, used to fragment outgoing messages
Definition at line 1274 of file ssl.h.
int mbedtls_ssl_context::nb_zero |
of 0-length encrypted messages
Definition at line 1240 of file ssl.h.
uint8_t mbedtls_ssl_context::negotiate_cid |
size_t mbedtls_ssl_context::next_record_offset |
offset of the next record in datagram (equal to in_left if none)
Definition at line 1230 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_buf |
output buffer
Definition at line 1253 of file ssl.h.
size_t mbedtls_ssl_context::out_buf_len |
length of output buffer
Definition at line 1268 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_cid |
The start of the CID; (the end is marked by in_len).
Definition at line 1257 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_ctr |
64-bit outgoing message counter
Definition at line 1254 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_hdr |
start of record header
Definition at line 1255 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_iv |
ivlen-byte IV
Definition at line 1261 of file ssl.h.
size_t mbedtls_ssl_context::out_left |
amount of data not yet written
Definition at line 1266 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_len |
two-bytes message length field
Definition at line 1260 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_msg |
message contents (out_iv+ivlen)
Definition at line 1262 of file ssl.h.
size_t mbedtls_ssl_context::out_msglen |
record header: message length
Definition at line 1265 of file ssl.h.
int mbedtls_ssl_context::out_msgtype |
record header: message type
Definition at line 1264 of file ssl.h.
The next incoming CID, chosen by the user and applying to all subsequent handshakes. This may be different from the CID currently used in case the user has re-configured the CID after an initial handshake.
Definition at line 1328 of file ssl.h.
uint8_t mbedtls_ssl_context::own_cid_len |
The length of own_cid
.
Definition at line 1329 of file ssl.h.
previous handshake verify data
Definition at line 1317 of file ssl.h.
void* mbedtls_ssl_context::p_bio |
context for I/O operations
Definition at line 1176 of file ssl.h.
void* mbedtls_ssl_context::p_timer |
context for the timer callbacks
Definition at line 1200 of file ssl.h.
void* mbedtls_ssl_context::p_vrfy |
context for X.509 verify callback
Definition at line 1168 of file ssl.h.
previous handshake verify data
Definition at line 1318 of file ssl.h.
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
Definition at line 1153 of file ssl.h.
int mbedtls_ssl_context::renego_status |
Initial, in progress, pending?
Definition at line 1152 of file ssl.h.
int mbedtls_ssl_context::secure_renegotiation |
does peer support legacy or secure renegotiation
Definition at line 1313 of file ssl.h.
negotiated session data
Definition at line 1183 of file ssl.h.
current session data (in)
Definition at line 1181 of file ssl.h.
session data in negotiation
Definition at line 1184 of file ssl.h.
current session data (out)
Definition at line 1182 of file ssl.h.
signed char mbedtls_ssl_context::split_done |
current record already splitted?
Definition at line 1281 of file ssl.h.
int mbedtls_ssl_context::state |
SSL handshake: current state
Definition at line 1150 of file ssl.h.
negotiated transform params
Definition at line 1194 of file ssl.h.
current transform params (in)
Definition at line 1192 of file ssl.h.
transform params in negotiation
Definition at line 1195 of file ssl.h.
current transform params (in)
Definition at line 1193 of file ssl.h.
size_t mbedtls_ssl_context::verify_data_len |
length of verify data stored
Definition at line 1316 of file ssl.h.
The documentation for this struct was generated from the following file: