11#ifndef BOTAN_XMSS_TREE_BUILDER_H_
12#define BOTAN_XMSS_TREE_BUILDER_H_
14#include <botan/secmem.h>
15#include <botan/xmss.h>
16#include <botan/internal/xmss_address.h>
17#include <botan/internal/xmss_wots.h>
39 m_wots_params(wots_params),
40 m_wots_derivation_method(wots_derivation_method),
42 m_private_seed(private_seed) {}
45 size_t target_node_height,
59 std::span<uint8_t> leaves,
size_t start_idx,
size_t count,
const XMSS_Address& adrs,
XMSS_Hash& hash)
const;
65 void wots_private_keys(std::span<uint8_t> sks, std::span<const XMSS_Address> addrs,
XMSS_Hash& hash)
const;
secure_vector< uint8_t > tree_hash(size_t start_idx, size_t target_node_height, const XMSS_Address &adrs, XMSS_Hash &hash) const
XMSS_WOTS_PrivateKey wots_private_key_for(const XMSS_Address &adrs, XMSS_Hash &hash) const
XMSS_Tree_Builder(const XMSS_WOTS_Parameters &wots_params, WOTS_Derivation_Method wots_derivation_method, const secure_vector< uint8_t > &public_seed, const secure_vector< uint8_t > &private_seed)
const secure_vector< uint8_t > & public_seed() const
std::vector< T, secure_allocator< T > > secure_vector