Botan 2.19.1
Crypto and TLS for C&
|
#include <xmss_signature_operation.h>
Public Member Functions | |
secure_vector< uint8_t > | sign (RandomNumberGenerator &) override |
size_t | signature_length () const override |
void | update (const uint8_t msg[], size_t msg_len) override |
XMSS_Signature_Operation (const XMSS_PrivateKey &private_key) | |
Signature generation operation for Extended Hash-Based Signatures (XMSS) as defined in:
[1] XMSS: Extended Hash-Based Signatures, Request for Comments: 8391 Release: May 2018. https://datatracker.ietf.org/doc/rfc8391/
Definition at line 28 of file xmss_signature_operation.h.
Botan::XMSS_Signature_Operation::XMSS_Signature_Operation | ( | const XMSS_PrivateKey & | private_key | ) |
Definition at line 21 of file xmss_signature_operation.cpp.
|
overridevirtual |
Creates an XMSS signature for the message provided through call to update().
Implements Botan::PK_Ops::Signature.
Definition at line 87 of file xmss_signature_operation.cpp.
References Botan::XMSS_Hash::h_msg_final(), and sign().
Referenced by sign().
|
overridevirtual |
Implements Botan::PK_Ops::Signature.
Definition at line 56 of file xmss_signature_operation.cpp.
References Botan::XMSS_Parameters::element_size(), Botan::XMSS_Parameters::len(), and Botan::XMSS_Parameters::tree_height().
|
overridevirtual |
Implements Botan::PK_Ops::Signature.
Definition at line 80 of file xmss_signature_operation.cpp.
References Botan::XMSS_Hash::h_msg_update().