blob: ec0d067332babd4d7dc9d418f93662d4032bf58c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#ifndef BOTAN_CHECK_BENCHMARK_H__
#define BOTAN_CHECK_BENCHMARK_H__
#include "../common.h"
#include <botan/rng.h>
#include <botan/transform.h>
#include <string>
using namespace Botan;
int speed_main(int argc, char* argv[]);
void benchmark(double seconds,
size_t buf_size);
void bench_algo(const std::string& algo_name,
RandomNumberGenerator& rng,
double seconds,
size_t buf_size);
void bench_pk(RandomNumberGenerator& rng,
const std::string& algo, double seconds);
#endif
|