QSMP: Quantum Secure Messaging Protocol 1.3.0.0a (A3)
A quantum secure encrypted tunneling protocol
qsmp_connection_state Struct Reference

The QSMP socket connection state structure. More...

#include <qsmp.h>

Data Fields

uint8_t rtcs [QSMP_DUPLEX_SYMMETRIC_KEY_SIZE]
 
qsc_socket target
 
qsc_rcs_state rxcpr
 
qsc_rcs_state txcpr
 
uint64_t rxseq
 
uint64_t txseq
 
uint32_t cid
 
qsmp_flags exflag
 
bool receiver
 
qsmp_mode mode
 

Detailed Description

The QSMP socket connection state structure.

Field Documentation

◆ cid

uint32_t cid

The connections instance count

◆ exflag

qsmp_flags exflag

The KEX position flag

◆ mode

qsmp_mode mode

The QSMP operations mode

◆ receiver

bool receiver

The instance was initialized in listener mode

◆ rtcs

The ratchet key generation state

◆ rxcpr

qsc_rcs_state rxcpr

The receive channel cipher state

◆ rxseq

uint64_t rxseq

The receive channels packet sequence number

◆ target

qsc_socket target

The target socket structure

◆ txcpr

qsc_rcs_state txcpr

The transmit channel cipher state

◆ txseq

uint64_t txseq

The transmit channels packet sequence number


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