5 #ifndef BITCOIN_CRYPTO_SHA3_H
6 #define BITCOIN_CRYPTO_SHA3_H
14 void KeccakF(uint64_t (&st)[25]);
30 static_assert(RATE_BITS % (8 *
sizeof(m_buffer)) == 0,
"Rate must be a multiple of 8 bytes");
33 static constexpr
size_t OUTPUT_SIZE = 32;
41 #endif // BITCOIN_CRYPTO_SHA3_H
static constexpr unsigned RATE_BITS
Sponge rate in bits.
void KeccakF(uint64_t(&st)[25])
The Keccak-f[1600] transform.
unsigned char m_buffer[8]
A Span is an object that can refer to a contiguous sequence of objects.
static constexpr unsigned RATE_BUFFERS
Sponge rate expressed as a multiple of the buffer size.