| 249 | |
| 250 | template <class SCHEME> |
| 251 | void 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 | |
| 260 | template <class D> |
| 261 | void BenchMarkKeyAgreement(const char *filename, const char *name, double timeTotal) |
nothing calls this directly
no test coverage detected