HKDS: Heirarchal Key Derivation System 1.0.0.2 (A2)
A fast post-quantum secure replacement for DUKPT
|
Contains the HKDS server state. More...
#include <hkds_server.h>
Data Fields | |
uint8_t | ksn [HKDS_KSN_SIZE] |
hkds_master_key * | mdk |
size_t | count |
size_t | rate |
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). size_t count |
The token count
uint8_t ksn[HKDS_KSN_SIZE] |
The key serial number array
hkds_master_key* mdk |
A pointer to the master derivation key
size_t rate |
The derivation function's rate