MCPcopy Create free account
hub / github.com/ElementsProject/elements / MuHashDiv

Function MuHashDiv

src/bench/crypto_hash.cpp:131–140  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

129}
130
131static void MuHashDiv(benchmark::Bench& bench)
132{
133 MuHash3072 acc;
134 FastRandomContext rng(true);
135 MuHash3072 muhash{rng.randbytes(32)};
136
137 bench.run([&] {
138 acc /= muhash;
139 });
140}
141
142static void MuHashPrecompute(benchmark::Bench& bench)
143{

Callers

nothing calls this directly

Calls 2

randbytesMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected