|
PQS: Post Quantum Shell 1.0.0.0a (A1)
A quantum safe shell application
|
Represents a network packet in the PQS protocol. More...
#include <pqs.h>
Data Fields | |
| uint8_t | flag |
| uint32_t | msglen |
| uint64_t | sequence |
| uint64_t | utctime |
| uint8_t * | pmessage |
Represents a network packet in the PQS protocol.
The packet contains a flag indicating its type, the length of the payload, a sequence number, a timestamp, and a pointer to the message buffer.
| uint8_t flag |
The packet flag
| uint32_t msglen |
The length in bytes of the message payload
| uint8_t* pmessage |
Pointer to the packet's message buffer
| uint64_t sequence |
The packet sequence number
| uint64_t utctime |
The UTC timestamp when the packet was created (in seconds)