Struct SYN_TLS_Context¶
#include <syn_tls.h>
Public Attributes¶
| Type | Name |
|---|---|
| uint8_t | app_rx_buf |
| size_t | app_rx_head |
| size_t | app_rx_tail |
| uint8_t | client_app_iv |
| uint8_t | client_app_key |
| uint8_t | client_app_secret |
| uint8_t | client_handshake_secret |
| uint64_t | client_seq_num |
| SYN_TLS_Config | config |
| uint32_t | handshake_start_ms |
| uint8_t | master_secret |
| uint8_t | my_privkey |
| uint8_t | my_pubkey |
| uint8_t | peer_pubkey |
| uint8_t * | rx_buf |
| size_t | rx_buf_size |
| uint8_t | rx_content_type |
| size_t | rx_pos |
| size_t | rx_record_len |
| uint8_t | server_app_iv |
| uint8_t | server_app_key |
| uint8_t | server_app_secret |
| uint8_t | server_handshake_secret |
| uint64_t | server_seq_num |
| SYN_TLS_State | state |
| SYN_SHA256 | transcript_hash |
| uint8_t * | tx_buf |
| size_t | tx_buf_size |
| SYN_Transport * | underlying_transport |
Detailed Description¶
TLS 1.3 Engine Context (Caller-owned, zero-heap).
Public Attributes Documentation¶
variable app_rx_buf¶
Decrypted app data ring buffer
variable app_rx_head¶
App data head index
variable app_rx_tail¶
App data tail index
variable client_app_iv¶
Cached client AEAD base IV
variable client_app_key¶
Cached client AEAD key
variable client_app_secret¶
Client application traffic secret
variable client_handshake_secret¶
Client handshake traffic secret
variable client_seq_num¶
Encryption record sequence counter
variable config¶
Engine configuration copy
variable handshake_start_ms¶
Handshake start timestamp
variable master_secret¶
Master secret
variable my_privkey¶
Ephemeral X25519 private key
variable my_pubkey¶
Ephemeral X25519 public key
variable peer_pubkey¶
Peer ephemeral X25519 public key
variable rx_buf¶
Caller-owned RX record buffer
variable rx_buf_size¶
RX record buffer capacity
variable rx_content_type¶
Current record content type
variable rx_pos¶
Bytes accumulated in rx_buf
variable rx_record_len¶
Expected record payload length
variable server_app_iv¶
Cached server AEAD base IV
variable server_app_key¶
Cached server AEAD key
variable server_app_secret¶
Server application traffic secret
variable server_handshake_secret¶
Server handshake traffic secret
variable server_seq_num¶
Decryption record sequence counter
variable state¶
Current handshake state
variable transcript_hash¶
Running handshake transcript hash
variable tx_buf¶
Caller-owned TX record buffer
variable tx_buf_size¶
TX record buffer capacity
variable underlying_transport¶
Wire transport (TCP, UDP, Serial)
The documentation for this class was generated from the following file src/syntropic/net/syn_tls.h