std::vector< T > ConsumeBytes(size_t num_bytes)
C++ wrapper with std::byte span interface around poly1305_donna code.
void Finalize(std::span< std::byte > out) noexcept
Write authentication tag to 16-byte out.
Poly1305 & Update(std::span< const std::byte > msg) noexcept
Process message bytes.
static constexpr unsigned KEYLEN
Length of the keys expected by the constructor.
static constexpr unsigned TAGLEN
Length of the output produced by Finalize().
#define LIMITED_WHILE(condition, limit)
Can be used to limit a theoretically unbounded loop.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
FuzzedDataProvider & fuzzed_data_provider