|
Botan 3.10.0
Crypto and TLS for C&
|
#include <sponge.h>
Classes | |
| struct | Config |
Public Types | |
| using | state_t = std::array<word, words> |
| using | word_t = word |
Public Member Functions | |
| size_t & | _cursor () |
| constexpr size_t | bit_capacity () const |
| constexpr size_t | bit_rate () const |
| constexpr size_t | byte_capacity () const |
| constexpr size_t | byte_rate () const |
| size_t | cursor () const |
| constexpr | Sponge (Config config) |
| constexpr auto & | state () |
Static Public Member Functions | |
| static constexpr size_t | state_bits () |
| static constexpr size_t | state_bytes () |
Static Public Attributes | |
| static constexpr size_t | word_bits = word_bytes * 8 |
| static constexpr size_t | word_bytes = sizeof(word) |
Protected Member Functions | |
| void | reset_cursor () |
A generic sponge construction with a fixed state size defined in terms of "words" of an unsigned integral type.
This is meant to be used as a base class for specific sponge constructions like Keccak or Ascon.
| using Botan::Sponge< words, word >::state_t = std::array<word, words> |
| using Botan::Sponge< words, word >::word_t = word |
|
inlineexplicitconstexpr |
|
inline |
|
inlineconstexpr |
|
inlineconstexpr |
Definition at line 48 of file sponge.h.
Referenced by bit_capacity(), and Sponge().
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
|
inlineprotected |
|
inlineconstexpr |
|
inlinestaticconstexpr |
|
inlinestaticconstexpr |
|
staticconstexpr |
|
staticconstexpr |