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

Function SipHash_32b

src/bench/crypto_hash.cpp:84–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84static void SipHash_32b(benchmark::Bench& bench)
85{
86 uint256 x;
87 uint64_t k1 = 0;
88 bench.run([&] {
89 *((uint64_t*)x.begin()) = SipHashUint256(0, ++k1, x);
90 });
91}
92
93static void FastRandom_32bit(benchmark::Bench& bench)
94{

Callers

nothing calls this directly

Calls 3

SipHashUint256Function · 0.85
runMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected