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

Represents the client's encrypted message request packet. More...

#include <hkds_config.h>

Data Fields

hkds_packet_header header
 
uint8_t ksn [HKDS_KSN_SIZE]
 
uint8_t message [HKDS_MESSAGE_SIZE]
 
uint8_t tag [HKDS_TAG_SIZE]
 

Detailed Description

Represents the client's encrypted message request packet.

This structure defines the layout of the client message request packet. It contains:

  • A common HKDS packet header.
  • The client's Key Serial Number (KSN).
  • The encrypted message.
  • An optional authentication tag (MAC) appended to the message.

Field Documentation

◆ header

The HKDS packet header

◆ ksn

uint8_t ksn[HKDS_KSN_SIZE]

The client's Key Serial Number (KSN)

◆ message

uint8_t message[HKDS_MESSAGE_SIZE]

The client's encrypted message

◆ tag

uint8_t tag[HKDS_TAG_SIZE]

The optional authentication tag


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