Botan 3.6.1
Crypto and TLS for C&
|
#include <dilithium_symmetric_primitives.h>
Public Member Functions | |
DilithiumMessageHash (DilithiumHashedPublicKey tr) | |
DilithiumMessageRepresentative | final () |
virtual bool | is_valid_user_context (std::span< const uint8_t > user_context) const |
std::string | name () const |
virtual void | start (std::span< const uint8_t > user_context) |
void | update (std::span< const uint8_t > data) |
virtual | ~DilithiumMessageHash ()=default |
Wrapper type for the H() function calculating the message representative for the Dilithium signature scheme. This wrapper may be used multiple times.
Namely: mu = H(tr || M)
Definition at line 31 of file dilithium_symmetric_primitives.h.
|
inline |
Definition at line 33 of file dilithium_symmetric_primitives.h.
|
virtualdefault |
|
inline |
Definition at line 58 of file dilithium_symmetric_primitives.h.
References Botan::DilithiumConstants::MESSAGE_HASH_BYTES, and Botan::XOF::output().
|
inlinevirtual |
Reimplemented in Botan::ML_DSA_MessageHash.
Definition at line 41 of file dilithium_symmetric_primitives.h.
Referenced by start().
|
inline |
Definition at line 37 of file dilithium_symmetric_primitives.h.
References Botan::fmt(), Botan::DilithiumConstants::MESSAGE_HASH_BYTES, and Botan::SHAKE_256_XOF::name().
|
inlinevirtual |
Reimplemented in Botan::ML_DSA_MessageHash.
Definition at line 46 of file dilithium_symmetric_primitives.h.
References BOTAN_ARG_CHECK, BOTAN_STATE_CHECK, is_valid_user_context(), and update.
Referenced by Botan::ML_DSA_MessageHash::start().
|
inline |
Definition at line 53 of file dilithium_symmetric_primitives.h.
References Botan::XOF::update().