SKDP: Symmetric Key Distribution Protocol 1.1.0.0 (A1)
Encrypted tunneling protocol using pre-shared keys
skdp_server_state Struct Reference

The SKDP server state structure. More...

#include <skdpserver.h>

Data Fields

qsc_rcs_state rxcpr
 
qsc_rcs_state txcpr
 
uint8_t did [SKDP_KID_SIZE]
 
uint8_t dsh [SKDP_STH_SIZE]
 
uint8_t kid [SKDP_KID_SIZE]
 
uint8_t ssh [SKDP_STH_SIZE]
 
uint8_t sdk [SKDP_SDK_SIZE]
 
uint64_t expiration
 
uint64_t rxseq
 
uint64_t txseq
 
skdp_flags exflag
 

Detailed Description

The SKDP server state structure.

This structure maintains the state of an SKDP server connection during the key exchange and secure communication session. It includes the cipher states for both the receive and transmit channels, identity and session hashes, as well as the server derivation key. The structure also holds expiration information and packet sequence numbers for both receiving and transmitting messages. The exflag field indicates the current position within the key exchange process.

Field Documentation

◆ did

uint8_t did[SKDP_KID_SIZE]

The device identity string

◆ dsh

uint8_t dsh[SKDP_STH_SIZE]

The device session hash

◆ exflag

skdp_flags exflag

The key exchange (kex) position flag

◆ expiration

uint64_t expiration

The expiration time, in seconds from epoch

◆ kid

uint8_t kid[SKDP_KID_SIZE]

The key identity string

◆ rxcpr

qsc_rcs_state rxcpr

The receive channel cipher state

◆ rxseq

uint64_t rxseq

The receive channel packet sequence number

◆ sdk

uint8_t sdk[SKDP_SDK_SIZE]

The server derivation key

◆ ssh

uint8_t ssh[SKDP_STH_SIZE]

The server session hash

◆ 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: