SATP: Symmetric Authenticated Tunneling Protocol 1.0.0.0a (A1)
A quantum secure symmetric pre-shared key tunneling protocol
satp_kex_server_state Struct Reference

The SATP server state structure. More...

#include <kex.h>

Data Fields

QSC_SIMD_ALIGN uint8_t hc [SATP_HASH_SIZE]
QSC_SIMD_ALIGN uint8_t sdk [SATP_SKEY_SIZE]
QSC_SIMD_ALIGN uint8_t sid [SATP_SID_SIZE]
QSC_SIMD_ALIGN uint8_t sp [SATP_HASH_SIZE]
QSC_SIMD_ALIGN uint8_t stc [SATP_SALT_SIZE]
uint64_t expiration

Detailed Description

The SATP server state structure.

This structure maintains the state of an SATP 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

◆ expiration

uint64_t expiration

The expiration time in seconds from epoch

◆ hc

QSC_SIMD_ALIGN uint8_t hc[SATP_HASH_SIZE]

The device session hash

◆ sdk

QSC_SIMD_ALIGN uint8_t sdk[SATP_SKEY_SIZE]

The server derivation key

◆ sid

QSC_SIMD_ALIGN uint8_t sid[SATP_SID_SIZE]

The server identity string

◆ sp

QSC_SIMD_ALIGN uint8_t sp[SATP_HASH_SIZE]

The passphrase token hash

◆ stc

QSC_SIMD_ALIGN uint8_t stc[SATP_SALT_SIZE]

The server session salt


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