Botan 3.4.0
Crypto and TLS for C&
Namespaces | Typedefs | Functions
sp_treehash.h File Reference

Internal Header. More...

#include <botan/sp_parameters.h>
#include <botan/internal/sp_types.h>
#include <functional>
#include <optional>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Typedefs

using Botan::GenerateLeafFunction = std::function<void(StrongSpan<SphincsTreeNode> , TreeNodeIndex)>
 

Functions

void Botan::compute_root (StrongSpan< SphincsTreeNode > out, const Sphincs_Parameters &params, Sphincs_Hash_Functions &hashes, const SphincsTreeNode &leaf, TreeNodeIndex leaf_idx, uint32_t idx_offset, StrongSpan< const SphincsAuthenticationPath > authentication_path, uint32_t total_tree_height, Sphincs_Address &tree_address)
 
void Botan::treehash (StrongSpan< SphincsTreeNode > out_root, StrongSpan< SphincsAuthenticationPath > out_auth_path, const Sphincs_Parameters &params, Sphincs_Hash_Functions &hashes, std::optional< TreeNodeIndex > leaf_idx, uint32_t idx_offset, uint32_t total_tree_height, const GenerateLeafFunction &gen_leaf, Sphincs_Address &tree_address)
 

Detailed Description

Internal Header.

Definition in file sp_treehash.h.