DKTP: Dual Key Tunneling Protocol 1.0.0.0a (A1)
A quantum secure dual-key encrypted tunneling protocol
dktp_connection_state Struct Reference

The DKTP socket connection state structure. More...

#include <dktp.h>

Data Fields

qsc_socket target
qsc_rcs_state rxcpr
qsc_rcs_state txcpr
uint8_t deckey [DKTP_ASYMMETRIC_DECAPSULATION_KEY_SIZE]
uint8_t enckey [DKTP_ASYMMETRIC_ENCAPSULATION_KEY_SIZE]
uint8_t pssl [DKTP_SECRET_SIZE]
uint8_t pssr [DKTP_SECRET_SIZE]
uint8_t sigkey [DKTP_ASYMMETRIC_SIGNING_KEY_SIZE]
uint8_t verkey [DKTP_ASYMMETRIC_VERIFY_KEY_SIZE]
uint64_t rxseq
uint64_t txseq
uint32_t cid
dktp_flags exflag
bool receiver

Detailed Description

The DKTP socket connection state structure.

Field Documentation

◆ cid

uint32_t cid

The connections instance count

◆ deckey

The decasulation key storage

◆ enckey

The encasulation key storage

◆ exflag

dktp_flags exflag

The KEX position flag

◆ pssl

uint8_t pssl[DKTP_SECRET_SIZE]

The local pre-shared secret

◆ pssr

uint8_t pssr[DKTP_SECRET_SIZE]

The remote pre-shared secret

◆ receiver

bool receiver

The instance was initialized in listener mode

◆ rxcpr

qsc_rcs_state rxcpr

The receive channel cipher state

◆ rxseq

uint64_t rxseq

The receive channels packet sequence number

◆ sigkey

The local signing key

◆ 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

◆ verkey

The remote signature verification key


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/DKTP/DKTP/dktp.h