CDC Badge OS
Firmware for the CDC Badge v1.0 hardware security key
Loading...
Searching...
No Matches
cdc::mod_gpg::gpg_recv_index_entry_t Struct Reference

Sort entry used to expose a stable ordered index over NVS keys. More...

#include <GpgRecvStore.h>

Public Attributes

char nvs_key [16]
uint32_t received_at
uint8_t flags

Detailed Description

Sort entry used to expose a stable ordered index over NVS keys.

NVS iteration order is unspecified, so callers build a sorted snapshot before reading by index. Allocate gpg_recv_index_entry_t[kMaxKeys] in PSRAM (see cdc::core::psramAlloc).

Definition at line 45 of file GpgRecvStore.h.

Member Data Documentation

◆ flags

uint8_t cdc::mod_gpg::gpg_recv_index_entry_t::flags

Definition at line 48 of file GpgRecvStore.h.

Referenced by cdc::mod_gpg::GpgRecvStore::listIndex().

◆ nvs_key

char cdc::mod_gpg::gpg_recv_index_entry_t::nvs_key[16]

Definition at line 46 of file GpgRecvStore.h.

◆ received_at

uint32_t cdc::mod_gpg::gpg_recv_index_entry_t::received_at

Definition at line 47 of file GpgRecvStore.h.

Referenced by cdc::mod_gpg::GpgRecvStore::listIndex().


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