mbedtls_ssl_context Struct Reference

#include <ssl.h>

Collaboration diagram for mbedtls_ssl_context:
Collaboration graph
[legend]

Data Fields

const mbedtls_ssl_configconf
int state
int renego_status
int renego_records_seen
int major_ver
int minor_ver
unsigned badmac_seen
mbedtls_ssl_send_tf_send
mbedtls_ssl_recv_tf_recv
mbedtls_ssl_recv_timeout_tf_recv_timeout
void * p_bio
mbedtls_ssl_sessionsession_in
mbedtls_ssl_sessionsession_out
mbedtls_ssl_sessionsession
mbedtls_ssl_sessionsession_negotiate
mbedtls_ssl_handshake_paramshandshake
mbedtls_ssl_transformtransform_in
mbedtls_ssl_transformtransform_out
mbedtls_ssl_transformtransform
mbedtls_ssl_transformtransform_negotiate
void * p_timer
mbedtls_ssl_set_timer_tf_set_timer
mbedtls_ssl_get_timer_tf_get_timer
unsigned char * in_buf
unsigned char * in_ctr
unsigned char * in_hdr
unsigned char * in_len
unsigned char * in_iv
unsigned char * in_msg
unsigned char * in_offt
int in_msgtype
size_t in_msglen
size_t in_left
uint16_t in_epoch
size_t next_record_offset
uint64_t in_window_top
uint64_t in_window
size_t in_hslen
int nb_zero
int keep_current_message
unsigned char * out_buf
unsigned char * out_ctr
unsigned char * out_hdr
unsigned char * out_len
unsigned char * out_iv
unsigned char * out_msg
int out_msgtype
size_t out_msglen
size_t out_left
unsigned char * compress_buf
signed char split_done
int client_auth
char * hostname
const char * alpn_chosen
unsigned char * cli_id
size_t cli_id_len
int secure_renegotiation
size_t verify_data_len
char own_verify_data [MBEDTLS_SSL_VERIFY_DATA_MAX_LEN]
char peer_verify_data [MBEDTLS_SSL_VERIFY_DATA_MAX_LEN]

Detailed Description

Definition at line 795 of file ssl.h.


Field Documentation

negotiated protocol

Definition at line 919 of file ssl.h.

records with a bad MAC received

Definition at line 814 of file ssl.h.

transport-level ID of the client

Definition at line 926 of file ssl.h.

length of cli_id

Definition at line 927 of file ssl.h.

flag for client auth.

Definition at line 908 of file ssl.h.

zlib data buffer

Definition at line 899 of file ssl.h.

configuration information

Definition at line 797 of file ssl.h.

get timer callback

Definition at line 849 of file ssl.h.

Callback for network receive

Definition at line 818 of file ssl.h.

Callback for network receive with timeout

Definition at line 820 of file ssl.h.

Callback for network send

Definition at line 817 of file ssl.h.

set timer callback

Definition at line 848 of file ssl.h.

params required only during the handshake process

Definition at line 832 of file ssl.h.

expected peer CN for verification (and SNI if available)

Definition at line 914 of file ssl.h.

input buffer

Definition at line 854 of file ssl.h.

64-bit incoming message counter TLS: maintained by us DTLS: read from peer

Definition at line 855 of file ssl.h.

DTLS epoch for incoming records

Definition at line 868 of file ssl.h.

start of record header

Definition at line 858 of file ssl.h.

current handshake message length, including the handshake header

Definition at line 877 of file ssl.h.

ivlen-byte IV

Definition at line 860 of file ssl.h.

amount of data read so far

Definition at line 866 of file ssl.h.

two-bytes message length field

Definition at line 859 of file ssl.h.

message contents (in_iv+ivlen)

Definition at line 861 of file ssl.h.

record header: message length

Definition at line 865 of file ssl.h.

record header: message type

Definition at line 864 of file ssl.h.

read offset in application data

Definition at line 862 of file ssl.h.

bitmask for replay detection

Definition at line 874 of file ssl.h.

last validated record seq_num

Definition at line 873 of file ssl.h.

drop or reuse current message on next call to record layer?

Definition at line 881 of file ssl.h.

equal to MBEDTLS_SSL_MAJOR_VERSION_3

Definition at line 810 of file ssl.h.

either 0 (SSL3) or 1 (TLS1.0)

Definition at line 811 of file ssl.h.

# of 0-length encrypted messages

Definition at line 879 of file ssl.h.

offset of the next record in datagram (equal to in_left if none)

Definition at line 869 of file ssl.h.

output buffer

Definition at line 887 of file ssl.h.

64-bit outgoing message counter

Definition at line 888 of file ssl.h.

start of record header

Definition at line 889 of file ssl.h.

ivlen-byte IV

Definition at line 891 of file ssl.h.

amount of data not yet written

Definition at line 896 of file ssl.h.

two-bytes message length field

Definition at line 890 of file ssl.h.

message contents (out_iv+ivlen)

Definition at line 892 of file ssl.h.

record header: message length

Definition at line 895 of file ssl.h.

record header: message type

Definition at line 894 of file ssl.h.

char mbedtls_ssl_context::own_verify_data[MBEDTLS_SSL_VERIFY_DATA_MAX_LEN]

previous handshake verify data

Definition at line 938 of file ssl.h.

context for I/O operations

Definition at line 822 of file ssl.h.

context for the timer callbacks

Definition at line 846 of file ssl.h.

char mbedtls_ssl_context::peer_verify_data[MBEDTLS_SSL_VERIFY_DATA_MAX_LEN]

previous handshake verify data

Definition at line 939 of file ssl.h.

Records since renego request, or with DTLS, number of retransmissions of request if renego_max_records is < 0

Definition at line 805 of file ssl.h.

Initial, in progress, pending?

Definition at line 804 of file ssl.h.

does peer support legacy or secure renegotiation

Definition at line 934 of file ssl.h.

negotiated session data

Definition at line 829 of file ssl.h.

current session data (in)

Definition at line 827 of file ssl.h.

session data in negotiation

Definition at line 830 of file ssl.h.

current session data (out)

Definition at line 828 of file ssl.h.

current record already splitted?

Definition at line 902 of file ssl.h.

SSL handshake: current state

Definition at line 802 of file ssl.h.

negotiated transform params

Definition at line 840 of file ssl.h.

current transform params (in)

Definition at line 838 of file ssl.h.

transform params in negotiation

Definition at line 841 of file ssl.h.

current transform params (in)

Definition at line 839 of file ssl.h.

length of verify data stored

Definition at line 937 of file ssl.h.


The documentation for this struct was generated from the following file:

Generated on 10 Aug 2020 for mbed TLS v2.7.16 by  doxygen 1.6.1