CoreComponents 3.0.0
A Modern C++ Toolkit
Loading...
Searching...
No Matches
KeccakSource< Capacity, Padding > Class Template Reference

Default policy for reading input bytes. More...

#include <Keccak>

Public Member Functions

 KeccakSource (const Bytes &data, long offset=0)
 
uint8_t readByte ()
 
bool eoi () const
 

Static Public Attributes

static constexpr int FeedRate = (1600 - Capacity) / 8
 Rate of the sponge function (in bytes)
 

Detailed Description

template<int Capacity, class Padding>
class cc::KeccakSource< Capacity, Padding >

Default policy for reading input bytes.

Member Data Documentation

◆ FeedRate

template<int Capacity, class Padding >
constexpr int FeedRate = (1600 - Capacity) / 8
staticconstexpr

Rate of the sponge function (in bytes)