blob: b423a2215855989d371a3bbd576ba79798fa59b2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#ifndef BOTAN_CHECK_BENCHMARK_H__
#define BOTAN_CHECK_BENCHMARK_H__
#include <botan/rng.h>
#include <string>
void benchmark(Botan::RandomNumberGenerator& rng,
double seconds,
u32bit buf_size);
bool bench_algo(const std::string& algo_name,
Botan::RandomNumberGenerator& rng,
double seconds,
u32bit buf_size);
void bench_pk(Botan::RandomNumberGenerator&,
const std::string&, double seconds);
#endif
|