![]() |
Bitcoin Core 31.0.0
P2P Digital Currency
|
#include <sha3.h>
Public Member Functions | |
| SHA3_256 ()=default | |
| SHA3_256 & | Write (std::span< const unsigned char > data) |
| SHA3_256 & | Finalize (std::span< unsigned char > output) |
| SHA3_256 & | Reset () |
Static Public Attributes | |
| static constexpr size_t | OUTPUT_SIZE = 32 |
Private Attributes | |
| uint64_t | m_state [25] = {0} |
| unsigned char | m_buffer [8] |
| unsigned | m_bufsize = 0 |
| unsigned | m_pos = 0 |
Static Private Attributes | |
| static constexpr unsigned | RATE_BITS = 1088 |
| Sponge rate in bits. | |
| static constexpr unsigned | RATE_BUFFERS = RATE_BITS / (8 * sizeof(m_buffer)) |
| Sponge rate expressed as a multiple of the buffer size. | |
|
default |
| SHA3_256 & SHA3_256::Reset | ( | ) |