8#ifndef BOTAN_XMSS_INDEX_REGISTRY_H_
9#define BOTAN_XMSS_INDEX_REGISTRY_H_
13#include <botan/mutex.h>
14#include <botan/secmem.h>
15#include <botan/internal/atomic.h>
55 static const std::string m_index_hash_function;
74 size_t get(uint64_t
id)
const;
90 size_t add(uint64_t
id,
size_t last_unused = 0);
92 std::vector<uint64_t> m_key_ids;
93 std::vector<std::shared_ptr<Atomic<size_t>>> m_leaf_indices;
std::shared_ptr< Atomic< size_t > > get(const secure_vector< uint8_t > &private_seed, const secure_vector< uint8_t > &prf)
static XMSS_Index_Registry & get_instance()
XMSS_Index_Registry(const XMSS_Index_Registry &)=delete
XMSS_Index_Registry & operator=(const XMSS_Index_Registry &)=delete
int(* final)(unsigned char *, CTX *)
std::vector< T, secure_allocator< T > > secure_vector