24 bench.batch(in.size()).unit(
"byte").run([&] {
static constexpr uint64_t BUFFER_SIZE_LARGE
static constexpr uint64_t BUFFER_SIZE_TINY
static constexpr uint64_t BUFFER_SIZE_SMALL
static void POLY1305_256BYTES(benchmark::Bench &bench)
static void POLY1305(benchmark::Bench &bench, size_t buffersize)
static void POLY1305_64BYTES(benchmark::Bench &bench)
static void POLY1305_1MB(benchmark::Bench &bench)
C++ wrapper with std::byte span interface around poly1305_donna code.
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().
Main entry point to nanobench's benchmarking facility.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.