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

Internal state for the Simplex key exchange (server-side). More...

#include <kex.h>

Data Fields

uint8_t keyid [QSMP_KEYID_SIZE]
 
uint8_t schash [QSMP_SIMPLEX_SCHASH_SIZE]
 
uint8_t prikey [QSMP_ASYMMETRIC_PRIVATE_KEY_SIZE]
 
uint8_t pubkey [QSMP_ASYMMETRIC_PUBLIC_KEY_SIZE]
 
uint8_t sigkey [QSMP_ASYMMETRIC_SIGNING_KEY_SIZE]
 
uint8_t verkey [QSMP_ASYMMETRIC_VERIFY_KEY_SIZE]
 
uint64_t expiration
 

Detailed Description

Internal state for the Simplex key exchange (server-side).

This structure holds the server-side state for a Simplex key exchange operation. It includes the key identity, a session token hash, asymmetric keys for encryption and signing, the local verification key, and an expiration time indicating the validity of the session.

Field Documentation

◆ expiration

uint64_t expiration

The expiration time, in seconds from epoch

◆ keyid

uint8_t keyid[QSMP_KEYID_SIZE]

The key identity string

◆ prikey

The asymmetric cipher private key

◆ pubkey

The asymmetric cipher public key

◆ schash

uint8_t schash[QSMP_SIMPLEX_SCHASH_SIZE]

The session token hash

◆ sigkey

The asymmetric signature signing-key

◆ verkey

The local asymmetric signature verification-key


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