HKDS: Heirarchal Key Derivation System 1.0.0.2 (A2)
A fast post-quantum secure replacement for DUKPT
|
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 |
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). hkds_packet_type flag |
The type of packet
uint8_t length |
The packet size including header
hkds_protocol_id protocol |
The protocol identifier
uint8_t sequence |
The packet sequence number