PQS: Post Quantum Shell 1.0.0.0a (A1)
A quantum safe shell application
pqs_connection_state Struct Reference

Maintains the state for a PQS socket connection. More...

#include <pqs.h>

Data Fields

qsc_socket target
 
qsc_rcs_state rxcpr
 
qsc_rcs_state txcpr
 
uint64_t rxseq
 
uint64_t txseq
 
uint32_t cid
 
pqs_flags exflag
 
bool receiver
 

Detailed Description

Maintains the state for a PQS socket connection.

This structure encapsulates the socket, the transmit and receive cipher states, packet sequence numbers for both directions, a connection identifier, and additional flags used during key exchange.

Field Documentation

◆ cid

uint32_t cid

The connection instance count

◆ exflag

pqs_flags exflag

The key exchange stage flag

◆ receiver

bool receiver

True if the connection was initialized in listener mode

◆ rxcpr

qsc_rcs_state rxcpr

The receive channel cipher state

◆ rxseq

uint64_t rxseq

The receive channel 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 channel packet sequence number


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