| 239 | |
| 240 | template <class SCHEME> |
| 241 | void BenchMarkCrypto(const char *filename, const char *name, double timeTotal) |
| 242 | { |
| 243 | FileSource f(filename, true, new HexDecoder()); |
| 244 | typename SCHEME::Decryptor priv(f); |
| 245 | typename SCHEME::Encryptor pub(priv); |
| 246 | BenchMarkEncryption(name, pub, timeTotal); |
| 247 | BenchMarkDecryption(name, priv, pub, timeTotal); |
| 248 | } |
| 249 | |
| 250 | template <class SCHEME> |
| 251 | void BenchMarkSignature(const char *filename, const char *name, double timeTotal) |
nothing calls this directly
no test coverage detected