22 unsigned char out[32];
39 unsigned char out[32];
A hasher class for SHA-256.
void Finalize(unsigned char hash[OUTPUT_SIZE])
CSHA256 & Write(const unsigned char *data, size_t len)
Main entry point to nanobench's benchmarking facility.
Bench & run(char const *benchmarkName, Op &&op)
Repeatedly calls op() based on the configuration, and performs measurements.
static void PrePadded(benchmark::Bench &bench)
static void RegularPadded(benchmark::Bench &bench)
BENCHMARK(PrePadded, benchmark::PriorityLevel::HIGH)
uint256 GetRandHash() noexcept
Generate a random uint256.