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

The primary header for all HKDS messages. More...

#include <hkds_config.h>

Data Fields

hkds_packet_type flag
 
hkds_protocol_id protocol
 
uint8_t sequence
 
uint8_t length
 

Detailed Description

The primary header for all HKDS messages.

This structure represents the common header present at the beginning of every HKDS packet. It contains:

  • flag: The packet type.
  • protocol: The protocol identifier (indicating the SHAKE variant).
  • sequence: The packet sequence number.
  • length: The total length of the packet (including the header).

Field Documentation

◆ flag

The type of packet

◆ length

uint8_t length

The packet size including header

◆ protocol

hkds_protocol_id protocol

The protocol identifier

◆ sequence

uint8_t sequence

The packet sequence number


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