Botan 3.6.1
Crypto and TLS for C&
|
#include <xmss_index_registry.h>
Public Member Functions | |
std::shared_ptr< Atomic< size_t > > | get (const secure_vector< uint8_t > &private_seed, const secure_vector< uint8_t > &prf) |
XMSS_Index_Registry & | operator= (const XMSS_Index_Registry &)=delete |
XMSS_Index_Registry (const XMSS_Index_Registry &)=delete | |
Static Public Member Functions | |
static XMSS_Index_Registry & | get_instance () |
A registry for XMSS private keys, keeps track of the leaf index for independend copies of the same key.
Definition at line 23 of file xmss_index_registry.h.
|
delete |
std::shared_ptr< Atomic< size_t > > Botan::XMSS_Index_Registry::get | ( | const secure_vector< uint8_t > & | private_seed, |
const secure_vector< uint8_t > & | prf ) |
Retrieves the last unused leaf index for the private key identified by private_seed and prf. The leaf index will be updated properly across independent copies of private_key.
private_seed | Part of the unique identifier for an XMSS_PrivateKey. |
prf | Part of the unique identifier for an XMSS_PrivateKey. |
Definition at line 35 of file xmss_index_registry.cpp.
References get().
Referenced by get().
|
inlinestatic |
Retrieves a handle to the process-wide unique XMSS index registry.
Definition at line 33 of file xmss_index_registry.h.
|
delete |