MCPcopy Create free account
hub / github.com/LUX-Core/lux / BenchMarkSignature

Function BenchMarkSignature

src/cryptopp/bench2.cpp:251–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249
250template <class SCHEME>
251void BenchMarkSignature(const char *filename, const char *name, double timeTotal)
252{
253 FileSource f(filename, true, new HexDecoder());
254 typename SCHEME::Signer priv(f);
255 typename SCHEME::Verifier pub(priv);
256 BenchMarkSigning(name, priv, timeTotal);
257 BenchMarkVerification(name, priv, pub, timeTotal);
258}
259
260template <class D>
261void BenchMarkKeyAgreement(const char *filename, const char *name, double timeTotal)

Callers

nothing calls this directly

Calls 2

BenchMarkSigningFunction · 0.85
BenchMarkVerificationFunction · 0.85

Tested by

no test coverage detected