HKDS: Heirarchal Key Derivation System 1.0.0.2 (A2)
A fast post-quantum secure replacement for DUKPT
|
Contains the queue context state. More...
#include <hkds_queue.h>
Data Fields | |
uint8_t ** | queue |
uint64_t | tags [HKDS_QUEUE_MAX_DEPTH] |
size_t | count |
size_t | depth |
size_t | position |
size_t | width |
Contains the queue context state.
This structure holds the internal state of a generic HKDS queue, including:
size_t count |
The number of queue items currently in the queue.
size_t depth |
The maximum number of items in the queue.
size_t position |
The index of the next empty slot in the queue.
uint8_t** queue |
Pointer to a 2-dimensional queue array.
uint64_t tags[HKDS_QUEUE_MAX_DEPTH] |
64-bit tag associated with each queue item.
size_t width |
The maximum byte length of a queue item.