|
XenevaOS
|
#include <ssl.h>
| int mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | alert_reason | ) |
The error code to be returned to the user once the fatal alert has been sent.
| unsigned char mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | alert_type | ) |
Type of alert if send_alert != 0
| unsigned mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | badmac_seen_or_in_hsfraglen | ) |
Multipurpose field.
in_hslen).This field is multipurpose in order to preserve the ABI in the Mbed TLS 3.6 LTS branch. Until 3.6.2, it was only used in DTLS and called badmac_seen.
| const mbedtls_ssl_config * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | conf | ) |
configuration information
| unsigned char mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | cur_out_ctr | ) |
Outgoing record sequence number.
| mbedtls_ssl_export_keys_t * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | f_export_keys | ) |
Callback to export key block and master secret
| mbedtls_ssl_get_timer_t * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | f_get_timer | ) |
get timer callback
| mbedtls_ssl_recv_t * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | f_recv | ) |
Callback for network receive
| mbedtls_ssl_recv_timeout_t * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | f_recv_timeout | ) |
Callback for network receive with timeout
| mbedtls_ssl_send_t * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | f_send | ) |
Callback for network send
| mbedtls_ssl_set_timer_t * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | f_set_timer | ) |
set timer callback
| mbedtls_ssl_handshake_params * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | handshake | ) |
params required only during the handshake process
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_buf | ) |
input buffer
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_ctr | ) |
64-bit incoming message counter TLS: maintained by us DTLS: read from peer
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_hdr | ) |
start of record header
| size_t mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_hslen | ) |
current handshake message length, including the handshake header
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_iv | ) |
ivlen-byte IV
| size_t mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_left | ) |
amount of data read so far
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_len | ) |
two-bytes message length field
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_msg | ) |
message contents (in_iv+ivlen)
| size_t mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_msglen | ) |
record header: message length
| int mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_msgtype | ) |
record header: message type
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | in_offt | ) |
read offset in application data
| int mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | keep_current_message | ) |
drop or reuse current message on next call to record layer?
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_buf | ) |
output buffer
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_ctr | ) |
64-bit outgoing message counter
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_hdr | ) |
start of record header
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_iv | ) |
ivlen-byte IV
| size_t mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_left | ) |
amount of data not yet written
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_len | ) |
two-bytes message length field
| unsigned char * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_msg | ) |
message contents (out_iv+ivlen)
| size_t mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_msglen | ) |
record header: message length
| int mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | out_msgtype | ) |
record header: message type
| void * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | p_bio | ) |
context for I/O operations
| void * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | p_export_keys | ) |
context for key export callback
| void * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | p_timer | ) |
context for the timer callbacks
| int mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | secure_renegotiation | ) |
does peer support legacy or secure renegotiation
| unsigned char mbedtls_ssl_context::MBEDTLS_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. | mbedtls_ssl_session * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | session | ) |
negotiated session data
| mbedtls_ssl_session * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | session_in | ) |
current session data (in)
| mbedtls_ssl_session * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | session_negotiate | ) |
session data in negotiation
| mbedtls_ssl_session * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | session_out | ) |
current session data (out)
| int mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | state | ) |
SSL handshake: current state
| mbedtls_ssl_protocol_version mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | tls_version | ) |
Maximum TLS version to be negotiated, then negotiated TLS version.
It is initialized as the configured maximum TLS version to be negotiated by mbedtls_ssl_setup().
When renegotiating or resuming a session, it is overwritten in the ClientHello writing preparation stage with the previously negotiated TLS version.
On client side, it is updated to the TLS version selected by the server for the handshake when the ServerHello is received.
On server side, it is updated to the TLS version the server selects for the handshake when the ClientHello is received.
| mbedtls_ssl_transform * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | transform | ) |
negotiated transform params This pointer owns the transform it references.
| mbedtls_ssl_transform * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | transform_in | ) |
current transform params (in) This is always a reference, never an owning pointer.
| mbedtls_ssl_transform * mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | transform_out | ) |
current transform params (out) This is always a reference, never an owning pointer.
| mbedtls_ssl_user_data_t mbedtls_ssl_context::MBEDTLS_PRIVATE | ( | user_data | ) |
User data pointer or handle.
The library sets this to 0 when creating a context and does not access it afterwards.