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

Function MuHash

src/bench/crypto_hash.cpp:109–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109static void MuHash(benchmark::Bench& bench)
110{
111 MuHash3072 acc;
112 unsigned char key[32] = {0};
113 uint32_t i = 0;
114 bench.run([&] {
115 key[0] = ++i & 0xFF;
116 acc *= MuHash3072(key);
117 });
118}
119
120static void MuHashMul(benchmark::Bench& bench)
121{

Callers

nothing calls this directly

Calls 2

MuHash3072Class · 0.50
runMethod · 0.45

Tested by

no test coverage detected