QSC Post Quantum Cryptographic Library 1.1.0.2 (B2)
A post quantum secure library written in Ansi C
Loading...
Searching...
No Matches
qsc_collection_state Struct Reference

Collection state structure. More...

#include <collection.h>

Data Fields

uint8_t * items
uint8_t * keys
uint32_t count
uint32_t width
qsc_mutex opmtx

Detailed Description

Collection state structure.

This structure represents the state of a keyed collection. It maintains pointers to the array of stored items and the corresponding keys, along with the count of items and the fixed size (in bytes) of each item.

Field Documentation

◆ count

uint32_t count

[uint32_t] Number of items currently stored in the collection.

◆ items

uint8_t* items

[uint8_t*] Pointer to the contiguous array storing collection items.

◆ keys

uint8_t* keys

[uint8_t*] Pointer to the array storing keys corresponding to each item.

◆ opmtx

qsc_mutex opmtx

[mutex] The operations mutex.

◆ width

uint32_t width

[uint32_t] Fixed byte size of an individual item in the collection.


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/collection.h