11#ifndef BOTAN_SPHINCS_PLUS_FORS_H_
12#define BOTAN_SPHINCS_PLUS_FORS_H_
14#include <botan/internal/sp_types.h>
19class Sphincs_Hash_Functions;
20class Sphincs_Parameters;
32 const Sphincs_Address& address,
33 const Sphincs_Parameters& params,
34 Sphincs_Hash_Functions& hashes);
44 StrongSpan<const ForsSignature> signature,
45 const Sphincs_Address& address,
46 const Sphincs_Parameters& params,
47 Sphincs_Hash_Functions& hash);
Strong< std::vector< uint8_t >, struct SphincsTreeNode_ > SphincsTreeNode
Either an XMSS or FORS tree node or leaf.
SphincsTreeNode fors_sign_and_pkgen(StrongSpan< ForsSignature > sig_out, const SphincsHashedMessage &hashed_message, const SphincsSecretSeed &secret_seed, const Sphincs_Address &address, const Sphincs_Parameters ¶ms, Sphincs_Hash_Functions &hashes)
FIPS 205, Algorithm 16: fors_sign (with simultaneous FORS pk generation)
Strong< secure_vector< uint8_t >, struct SphincsSecretSeed_ > SphincsSecretSeed
Strong< std::vector< uint8_t >, struct SphincsHashedMessage_ > SphincsHashedMessage
SphincsTreeNode fors_public_key_from_signature(const SphincsHashedMessage &hashed_message, StrongSpan< const ForsSignature > signature, const Sphincs_Address &address, const Sphincs_Parameters ¶ms, Sphincs_Hash_Functions &hashes)
FIPS 205, Algorithm 17: fors_pkFromSig.