HKDS: Heirarchal Key Derivation System 1.0.0.2 (A2)
A fast post-quantum secure replacement for DUKPT
hkds_server_state Struct Reference

Contains the HKDS server state. More...

#include <hkds_server.h>

Data Fields

uint8_t ksn [HKDS_KSN_SIZE]
 
hkds_master_keymdk
 
size_t count
 
size_t rate
 

Detailed Description

Contains the HKDS server state.

This structure represents the state of an HKDS server instance. It includes:

  • ksn: The client's Key Serial Number (KSN).
  • mdk: A pointer to the master key set used for deriving keys.
  • count: The token or transaction count.
  • rate: The output rate for the key derivation function (PRF).

Field Documentation

◆ count

size_t count

The token count

◆ ksn

uint8_t ksn[HKDS_KSN_SIZE]

The key serial number array

◆ mdk

A pointer to the master derivation key

◆ rate

size_t rate

The derivation function's rate


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