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

Function SHA256D64_1024

src/bench/crypto_hash.cpp:67–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67static void SHA256D64_1024(benchmark::Bench& bench)
68{
69 std::vector<uint8_t> in(64 * 1024, 0);
70 bench.batch(in.size()).unit("byte").run([&] {
71 SHA256D64(in.data(), in.data(), 1024);
72 });
73}
74
75static void SHA512(benchmark::Bench& bench)
76{

Callers

nothing calls this directly

Calls 5

SHA256D64Function · 0.85
runMethod · 0.45
batchMethod · 0.45
sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected