#include <ssl.h>
Definition at line 643 of file ssl.h.
const char* mbedtls_ssl_context::alpn_chosen |
negotiated protocol
Definition at line 765 of file ssl.h.
unsigned mbedtls_ssl_context::badmac_seen |
records with a bad MAC received
Definition at line 662 of file ssl.h.
unsigned char* mbedtls_ssl_context::cli_id |
transport-level ID of the client
Definition at line 772 of file ssl.h.
size_t mbedtls_ssl_context::cli_id_len |
length of cli_id
Definition at line 773 of file ssl.h.
int mbedtls_ssl_context::client_auth |
flag for client auth.
Definition at line 754 of file ssl.h.
unsigned char* mbedtls_ssl_context::compress_buf |
zlib data buffer
Definition at line 745 of file ssl.h.
int(* mbedtls_ssl_context::f_get_timer) (void *) |
get timer callback
Definition at line 697 of file ssl.h.
int(* mbedtls_ssl_context::f_recv) (void *, unsigned char *, size_t) |
int(* mbedtls_ssl_context::f_recv_timeout) (void *, unsigned char *, size_t, uint32_t) |
int(* mbedtls_ssl_context::f_send) (void *, const unsigned char *, size_t) |
void(* mbedtls_ssl_context::f_set_timer) (void *, uint32_t, uint32_t) |
set timer callback
Definition at line 696 of file ssl.h.
char* mbedtls_ssl_context::hostname |
expected peer CN for verification (and SNI if available)
Definition at line 760 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_buf |
input buffer
Definition at line 702 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 703 of file ssl.h.
uint16_t mbedtls_ssl_context::in_epoch |
DTLS epoch for incoming records
Definition at line 716 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_hdr |
start of record header
Definition at line 706 of file ssl.h.
size_t mbedtls_ssl_context::in_hslen |
current handshake message length, including the handshake header
Definition at line 725 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_iv |
ivlen-byte IV
Definition at line 708 of file ssl.h.
size_t mbedtls_ssl_context::in_left |
amount of data read so far
Definition at line 714 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_len |
two-bytes message length field
Definition at line 707 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_msg |
message contents (in_iv+ivlen)
Definition at line 709 of file ssl.h.
size_t mbedtls_ssl_context::in_msglen |
record header: message length
Definition at line 713 of file ssl.h.
int mbedtls_ssl_context::in_msgtype |
record header: message type
Definition at line 712 of file ssl.h.
unsigned char* mbedtls_ssl_context::in_offt |
read offset in application data
Definition at line 710 of file ssl.h.
uint64_t mbedtls_ssl_context::in_window |
bitmask for replay detection
Definition at line 722 of file ssl.h.
uint64_t mbedtls_ssl_context::in_window_top |
last validated record seq_num
Definition at line 721 of file ssl.h.
int mbedtls_ssl_context::major_ver |
equal to MBEDTLS_SSL_MAJOR_VERSION_3
Definition at line 658 of file ssl.h.
int mbedtls_ssl_context::minor_ver |
either 0 (SSL3) or 1 (TLS1.0)
Definition at line 659 of file ssl.h.
int mbedtls_ssl_context::nb_zero |
of 0-length encrypted messages
Definition at line 727 of file ssl.h.
size_t mbedtls_ssl_context::next_record_offset |
offset of the next record in datagram (equal to in_left if none)
Definition at line 717 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_buf |
output buffer
Definition at line 733 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_ctr |
64-bit outgoing message counter
Definition at line 734 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_hdr |
start of record header
Definition at line 735 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_iv |
ivlen-byte IV
Definition at line 737 of file ssl.h.
size_t mbedtls_ssl_context::out_left |
amount of data not yet written
Definition at line 742 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_len |
two-bytes message length field
Definition at line 736 of file ssl.h.
unsigned char* mbedtls_ssl_context::out_msg |
message contents (out_iv+ivlen)
Definition at line 738 of file ssl.h.
size_t mbedtls_ssl_context::out_msglen |
record header: message length
Definition at line 741 of file ssl.h.
int mbedtls_ssl_context::out_msgtype |
record header: message type
Definition at line 740 of file ssl.h.
previous handshake verify data
Definition at line 784 of file ssl.h.
void* mbedtls_ssl_context::p_bio |
context for I/O operations
Definition at line 671 of file ssl.h.
void* mbedtls_ssl_context::p_timer |
context for the timer callbacks
Definition at line 695 of file ssl.h.
previous handshake verify data
Definition at line 785 of file ssl.h.
int mbedtls_ssl_context::record_read |
record is already present
Definition at line 728 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 653 of file ssl.h.
int mbedtls_ssl_context::renego_status |
Initial, in progress, pending?
Definition at line 652 of file ssl.h.
int mbedtls_ssl_context::secure_renegotiation |
does peer support legacy or secure renegotiation
Definition at line 780 of file ssl.h.
negotiated session data
Definition at line 678 of file ssl.h.
current session data (in)
Definition at line 676 of file ssl.h.
session data in negotiation
Definition at line 679 of file ssl.h.
current session data (out)
Definition at line 677 of file ssl.h.
signed char mbedtls_ssl_context::split_done |
current record already splitted?
Definition at line 748 of file ssl.h.
int mbedtls_ssl_context::state |
SSL handshake: current state
Definition at line 650 of file ssl.h.
negotiated transform params
Definition at line 689 of file ssl.h.
current transform params (in)
Definition at line 687 of file ssl.h.
transform params in negotiation
Definition at line 690 of file ssl.h.
current transform params (in)
Definition at line 688 of file ssl.h.
size_t mbedtls_ssl_context::verify_data_len |
length of verify data stored
Definition at line 783 of file ssl.h.
The documentation for this struct was generated from the following file: