aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.h
blob: 835db010107ed05e45b3fb6aeb861bb6f4f2e68b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

#ifndef BOTAN_CHECK_BENCHMARK_H__
#define BOTAN_CHECK_BENCHMARK_H__

#include <botan/rng.h>
#include <string>

void benchmark(Botan::RandomNumberGenerator& rng,
               double seconds);

bool bench_algo(const std::string& algo_name,
                Botan::RandomNumberGenerator& rng,
                double seconds);

void bench_pk(Botan::RandomNumberGenerator&,
              const std::string&, double seconds);

#endif