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

Function MuHashMul

src/bench/crypto_hash.cpp:120–129  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static void MuHashMul(benchmark::Bench& bench)
121{
122 MuHash3072 acc;
123 FastRandomContext rng(true);
124 MuHash3072 muhash{rng.randbytes(32)};
125
126 bench.run([&] {
127 acc *= muhash;
128 });
129}
130
131static void MuHashDiv(benchmark::Bench& bench)
132{

Callers

nothing calls this directly

Calls 2

randbytesMethod · 0.80
runMethod · 0.45

Tested by

no test coverage detected