Botan 3.4.0
Crypto and TLS for C&
Namespaces | Functions
sp_wots.cpp File Reference
#include <botan/internal/sp_wots.h>
#include <botan/internal/sp_hash.h>
#include <botan/internal/stl_util.h>

Go to the source code of this file.

Namespaces

namespace  Botan
 

Functions

std::vector< WotsHashIndexBotan::chain_lengths (const SphincsTreeNode &msg, const Sphincs_Parameters &params)
 
WotsPublicKey Botan::wots_public_key_from_signature (const SphincsTreeNode &hashed_message, StrongSpan< const WotsSignature > signature, Sphincs_Address &address, const Sphincs_Parameters &params, Sphincs_Hash_Functions &hashes)
 
void Botan::wots_sign_and_pkgen (StrongSpan< WotsSignature > sig_out, StrongSpan< SphincsTreeNode > leaf_out, const SphincsSecretSeed &secret_seed, TreeNodeIndex leaf_idx, std::optional< TreeNodeIndex > sign_leaf_idx, const std::vector< WotsHashIndex > &wots_steps, Sphincs_Address &leaf_addr, Sphincs_Address &pk_addr, const Sphincs_Parameters &params, Sphincs_Hash_Functions &hashes)