Botan 3.14.1
Crypto and TLS for C&
lm_ots.cpp File Reference
#include <botan/internal/lm_ots.h>
#include <botan/exceptn.h>
#include <botan/strong_type.h>
#include <botan/internal/bit_ops.h>
#include <botan/internal/buffer_slicer.h>
#include <botan/internal/buffer_stuffer.h>
#include <botan/internal/ct_utils.h>
#include <botan/internal/hash_engine.h>
#include <botan/internal/hss_lms_utils.h>
#include <botan/internal/int_utils.h>

Go to the source code of this file.

Namespaces

namespace  Botan

Functions

LMOTS_K Botan::lmots_compute_pubkey_from_sig (const LMOTS_Signature &sig, const LMS_Message &msg, const LMS_Identifier &identifier, LMS_Tree_Node_Idx q)
 Compute a public key candidate for an OTS-signature-message pair and the OTS instance parameters.
void Botan::lmots_compute_pubkeys (std::span< uint8_t > out_ks, const LMOTS_Params &params, const LMS_Identifier &identifier, LMS_Tree_Node_Idx first_q, size_t count, const LMS_Seed &seed, Hash_Engine &engine)
 Compute the public key hash values K (RFC 8554 4.3) of count consecutive LM-OTS instances beginning at first_q, deriving the instances' secrets from seed. The hashing is batched across all instances' chains.