PQS: Post Quantum Shell 1.0.0.0a (A1)
A quantum safe shell application
|
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 |
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.
uint32_t cid |
The connection instance count
pqs_flags exflag |
The key exchange stage flag
bool receiver |
True if the connection was initialized in listener mode
qsc_rcs_state rxcpr |
The receive channel cipher state
uint64_t rxseq |
The receive channel packet sequence number
qsc_socket target |
The target socket structure
qsc_rcs_state txcpr |
The transmit channel cipher state
uint64_t txseq |
The transmit channel packet sequence number