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 record_read
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
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 753 of file ssl.h.


Field Documentation

negotiated protocol

Definition at line 875 of file ssl.h.

records with a bad MAC received

Definition at line 772 of file ssl.h.

transport-level ID of the client

Definition at line 882 of file ssl.h.

length of cli_id

Definition at line 883 of file ssl.h.

flag for client auth.

Definition at line 864 of file ssl.h.

configuration information

Definition at line 755 of file ssl.h.

get timer callback

Definition at line 807 of file ssl.h.

Callback for network receive

Definition at line 776 of file ssl.h.

Callback for network receive with timeout

Definition at line 778 of file ssl.h.

Callback for network send

Definition at line 775 of file ssl.h.

set timer callback

Definition at line 806 of file ssl.h.

params required only during the handshake process

Definition at line 790 of file ssl.h.

expected peer CN for verification (and SNI if available)

Definition at line 870 of file ssl.h.

input buffer

Definition at line 812 of file ssl.h.

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

Definition at line 813 of file ssl.h.

DTLS epoch for incoming records

Definition at line 826 of file ssl.h.

start of record header

Definition at line 816 of file ssl.h.

current handshake message length, including the handshake header

Definition at line 835 of file ssl.h.

ivlen-byte IV

Definition at line 818 of file ssl.h.

amount of data read so far

Definition at line 824 of file ssl.h.

two-bytes message length field

Definition at line 817 of file ssl.h.

message contents (in_iv+ivlen)

Definition at line 819 of file ssl.h.

record header: message length

Definition at line 823 of file ssl.h.

record header: message type

Definition at line 822 of file ssl.h.

read offset in application data

Definition at line 820 of file ssl.h.

bitmask for replay detection

Definition at line 832 of file ssl.h.

last validated record seq_num

Definition at line 831 of file ssl.h.

equal to MBEDTLS_SSL_MAJOR_VERSION_3

Definition at line 768 of file ssl.h.

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

Definition at line 769 of file ssl.h.

# of 0-length encrypted messages

Definition at line 837 of file ssl.h.

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

Definition at line 827 of file ssl.h.

output buffer

Definition at line 843 of file ssl.h.

64-bit outgoing message counter

Definition at line 844 of file ssl.h.

start of record header

Definition at line 845 of file ssl.h.

ivlen-byte IV

Definition at line 847 of file ssl.h.

amount of data not yet written

Definition at line 852 of file ssl.h.

two-bytes message length field

Definition at line 846 of file ssl.h.

message contents (out_iv+ivlen)

Definition at line 848 of file ssl.h.

record header: message length

Definition at line 851 of file ssl.h.

record header: message type

Definition at line 850 of file ssl.h.

char mbedtls_ssl_context::own_verify_data[MBEDTLS_SSL_VERIFY_DATA_MAX_LEN]

previous handshake verify data

Definition at line 894 of file ssl.h.

context for I/O operations

Definition at line 780 of file ssl.h.

context for the timer callbacks

Definition at line 804 of file ssl.h.

char mbedtls_ssl_context::peer_verify_data[MBEDTLS_SSL_VERIFY_DATA_MAX_LEN]

previous handshake verify data

Definition at line 895 of file ssl.h.

record is already present

Definition at line 838 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 763 of file ssl.h.

Initial, in progress, pending?

Definition at line 762 of file ssl.h.

does peer support legacy or secure renegotiation

Definition at line 890 of file ssl.h.

negotiated session data

Definition at line 787 of file ssl.h.

current session data (in)

Definition at line 785 of file ssl.h.

session data in negotiation

Definition at line 788 of file ssl.h.

current session data (out)

Definition at line 786 of file ssl.h.

current record already splitted?

Definition at line 858 of file ssl.h.

SSL handshake: current state

Definition at line 760 of file ssl.h.

negotiated transform params

Definition at line 798 of file ssl.h.

current transform params (in)

Definition at line 796 of file ssl.h.

transform params in negotiation

Definition at line 799 of file ssl.h.

current transform params (in)

Definition at line 797 of file ssl.h.

length of verify data stored

Definition at line 893 of file ssl.h.


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

Generated on 30 Jun 2016 for mbed TLS v2.3.0 by  doxygen 1.6.1