#include <ssl.h>
Definition at line 1457 of file ssl.h.
int mbedtls_ssl_context::private_alert_reason |
The error code to be returned to the user once the fatal alert has been sent.
Definition at line 1583 of file ssl.h.
unsigned char mbedtls_ssl_context::private_alert_type |
Type of alert if send_alert != 0
Definition at line 1581 of file ssl.h.
const char* mbedtls_ssl_context::private_alpn_chosen |
negotiated protocol
Definition at line 1633 of file ssl.h.
unsigned mbedtls_ssl_context::private_badmac_seen |
records with a bad MAC received
Definition at line 1478 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_cli_id |
transport-level ID of the client
Definition at line 1647 of file ssl.h.
size_t mbedtls_ssl_context::private_cli_id_len |
length of cli_id
Definition at line 1648 of file ssl.h.
int mbedtls_ssl_context::private_client_auth |
flag for client auth.
Definition at line 1622 of file ssl.h.
configuration information
Definition at line 1459 of file ssl.h.
Outgoing record sequence number.
Definition at line 1613 of file ssl.h.
uint8_t mbedtls_ssl_context::private_disable_datagram_packing |
Disable packing multiple records within a single datagram.
Definition at line 1588 of file ssl.h.
Callback to export key block and master secret
Definition at line 1679 of file ssl.h.
get timer callback
Definition at line 1532 of file ssl.h.
Callback for network receive
Definition at line 1487 of file ssl.h.
Callback for network receive with timeout
Definition at line 1488 of file ssl.h.
Callback for network send
Definition at line 1486 of file ssl.h.
set timer callback
Definition at line 1531 of file ssl.h.
int(* mbedtls_ssl_context::private_f_vrfy)(void *, mbedtls_x509_crt *, int, uint32_t *) |
Callback to customize X.509 certificate chain verification
Definition at line 1482 of file ssl.h.
params required only during the handshake process
Definition at line 1501 of file ssl.h.
char* mbedtls_ssl_context::private_hostname |
expected peer CN for verification (and SNI if available)
Definition at line 1628 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_buf |
input buffer
Definition at line 1537 of file ssl.h.
size_t mbedtls_ssl_context::private_in_buf_len |
length of input buffer
Definition at line 1555 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_cid |
The start of the CID; (the end is marked by in_len).
Definition at line 1543 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_ctr |
64-bit incoming message counter TLS: maintained by us DTLS: read from peer
Definition at line 1538 of file ssl.h.
uint16_t mbedtls_ssl_context::private_in_epoch |
DTLS epoch for incoming records
Definition at line 1558 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_hdr |
start of record header
Definition at line 1541 of file ssl.h.
size_t mbedtls_ssl_context::private_in_hslen |
current handshake message length, including the handshake header
Definition at line 1567 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_iv |
ivlen-byte IV
Definition at line 1547 of file ssl.h.
size_t mbedtls_ssl_context::private_in_left |
amount of data read so far
Definition at line 1553 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_len |
two-bytes message length field
Definition at line 1546 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_msg |
message contents (in_iv+ivlen)
Definition at line 1548 of file ssl.h.
size_t mbedtls_ssl_context::private_in_msglen |
record header: message length
Definition at line 1552 of file ssl.h.
int mbedtls_ssl_context::private_in_msgtype |
record header: message type
Definition at line 1551 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_in_offt |
read offset in application data
Definition at line 1549 of file ssl.h.
uint64_t mbedtls_ssl_context::private_in_window |
bitmask for replay detection
Definition at line 1564 of file ssl.h.
uint64_t mbedtls_ssl_context::private_in_window_top |
last validated record seq_num
Definition at line 1563 of file ssl.h.
int mbedtls_ssl_context::private_keep_current_message |
drop or reuse current message on next call to record layer?
Definition at line 1571 of file ssl.h.
int mbedtls_ssl_context::private_major_ver |
equal to MBEDTLS_SSL_MAJOR_VERSION_3
Definition at line 1472 of file ssl.h.
int mbedtls_ssl_context::private_minor_ver |
one of MBEDTLS_SSL_MINOR_VERSION_x macros
Definition at line 1477 of file ssl.h.
uint16_t mbedtls_ssl_context::private_mtu |
path mtu, used to fragment outgoing messages
Definition at line 1616 of file ssl.h.
int mbedtls_ssl_context::private_nb_zero |
of 0-length encrypted messages
Definition at line 1569 of file ssl.h.
uint8_t mbedtls_ssl_context::private_negotiate_cid |
size_t mbedtls_ssl_context::private_next_record_offset |
offset of the next record in datagram (equal to in_left if none)
Definition at line 1559 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_buf |
output buffer
Definition at line 1595 of file ssl.h.
size_t mbedtls_ssl_context::private_out_buf_len |
length of output buffer
Definition at line 1610 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_cid |
The start of the CID; (the end is marked by in_len).
Definition at line 1599 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_ctr |
64-bit outgoing message counter
Definition at line 1596 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_hdr |
start of record header
Definition at line 1597 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_iv |
ivlen-byte IV
Definition at line 1603 of file ssl.h.
size_t mbedtls_ssl_context::private_out_left |
amount of data not yet written
Definition at line 1608 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_len |
two-bytes message length field
Definition at line 1602 of file ssl.h.
unsigned char* mbedtls_ssl_context::private_out_msg |
message contents (out_iv+ivlen)
Definition at line 1604 of file ssl.h.
size_t mbedtls_ssl_context::private_out_msglen |
record header: message length
Definition at line 1607 of file ssl.h.
int mbedtls_ssl_context::private_out_msgtype |
record header: message type
Definition at line 1606 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 1670 of file ssl.h.
uint8_t mbedtls_ssl_context::private_own_cid_len |
The length of own_cid
.
Definition at line 1671 of file ssl.h.
previous handshake verify data
Definition at line 1659 of file ssl.h.
void* mbedtls_ssl_context::private_p_bio |
context for I/O operations
Definition at line 1491 of file ssl.h.
void* mbedtls_ssl_context::private_p_export_keys |
context for key export callback
Definition at line 1680 of file ssl.h.
void* mbedtls_ssl_context::private_p_timer |
context for the timer callbacks
Definition at line 1529 of file ssl.h.
void* mbedtls_ssl_context::private_p_vrfy |
context for X.509 verify callback
Definition at line 1483 of file ssl.h.
previous handshake verify data
Definition at line 1660 of file ssl.h.
int mbedtls_ssl_context::private_renego_records_seen |
Records since renego request, or with DTLS, number of retransmissions of request if renego_max_records is < 0
Definition at line 1467 of file ssl.h.
int mbedtls_ssl_context::private_renego_status |
Initial, in progress, pending?
Definition at line 1466 of file ssl.h.
int mbedtls_ssl_context::private_secure_renegotiation |
does peer support legacy or secure renegotiation
Definition at line 1655 of file ssl.h.
unsigned char mbedtls_ssl_context::private_send_alert |
Determines if a fatal alert should be sent. Values:
0
, no alert is to be sent.
1
, alert is to be sent.
Definition at line 1577 of file ssl.h.
negotiated session data
Definition at line 1498 of file ssl.h.
current session data (in)
Definition at line 1496 of file ssl.h.
session data in negotiation
Definition at line 1499 of file ssl.h.
current session data (out)
Definition at line 1497 of file ssl.h.
int mbedtls_ssl_context::private_state |
SSL handshake: current state
Definition at line 1464 of file ssl.h.
negotiated transform params This pointer owns the transform it references.
Definition at line 1513 of file ssl.h.
The application data transform in TLS 1.3. This pointer owns the transform it references.
Definition at line 1523 of file ssl.h.
current transform params (in) This is always a reference, never an owning pointer.
Definition at line 1507 of file ssl.h.
transform params in negotiation This pointer owns the transform it references.
Definition at line 1516 of file ssl.h.
current transform params (out) This is always a reference, never an owning pointer.
Definition at line 1510 of file ssl.h.
size_t mbedtls_ssl_context::private_verify_data_len |
length of verify data stored
Definition at line 1658 of file ssl.h.
The documentation for this struct was generated from the following file: