libdecaf
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
decaf::EdDSA< Ed448Goldilocks >::Prehash Class Reference

Prehash context for EdDSA. More...

#include <ed448.hxx>

Inheritance diagram for decaf::EdDSA< Ed448Goldilocks >::Prehash:
decaf::SHAKE< 256 > decaf::KeccakHash

Public Member Functions

 Prehash (const Block &context=NO_CONTEXT())
 Create the prehash.
 
void reset () DECAF_NOEXCEPT
 Reset this hash.
 
SecureBuffer final ()
 Output from this hash.
 
void final (Buffer &b)
 Output from this hash.
 
- Public Member Functions inherited from decaf::SHAKE< 256 >
 SHAKE () DECAF_NOEXCEPT
 Initializer.
 
- Public Member Functions inherited from decaf::KeccakHash
void update (const uint8_t *__restrict__ in, size_t len) DECAF_NOEXCEPT
 Add more data to running hash.
 
void update (const Block &s) DECAF_NOEXCEPT
 Add more data to running hash, C++ version.
 
KeccakHashoperator<< (const Block &s) DECAF_NOEXCEPT
 Add more data, stream version.
 
KeccakHashoperator+= (const Block &s) DECAF_NOEXCEPT
 Same as <<.
 
SecureBuffer output (size_t len)
 Output bytes from the sponge.
 
SecureBuffer final (size_t len)
 Output bytes from the sponge.
 
void output (Buffer b)
 Output bytes from the sponge.
 
void final (Buffer b)
 Output bytes from the sponge and reinitialize it.
 
size_t default_output_size () const DECAF_NOEXCEPT
 Return the sponge's default output size.
 
size_t max_output_size () const DECAF_NOEXCEPT
 Return the sponge's maximum output size.
 
SecureBuffer output ()
 Output the default number of bytes.
 
SecureBuffer final ()
 Output the default number of bytes, and reset hash.
 
void reset () DECAF_NOEXCEPT
 Reset the hash to the empty string.
 
 ~KeccakHash () DECAF_NOEXCEPT
 Destructor zeroizes state.
 

Static Public Attributes

static const size_t OUTPUT_BYTES = Super::DEFAULT_OUTPUT_BYTES
 Number of output bytes in prehash.
 
- Static Public Attributes inherited from decaf::SHAKE< 256 >
static const size_t MAX_OUTPUT_BYTES
 Number of bytes of output.
 
static const size_t DEFAULT_OUTPUT_BYTES
 Default number of bytes to output.
 

Additional Inherited Members

- Static Public Member Functions inherited from decaf::SHAKE< 256 >
static SecureBuffer hash (const Block &b, size_t outlen)
 Hash bytes with this SHAKE instance.
 

Detailed Description

Prehash context for EdDSA.


The documentation for this class was generated from the following file: