diff options
author | lloyd <[email protected]> | 2008-06-28 01:12:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-06-28 01:12:10 +0000 |
commit | c7994492cd10fc350686afa1ac55bc6be2b18d29 (patch) | |
tree | 42a54a6266038b12ba89198086c7efb21281605b /checks/bench.h | |
parent | adfc19b00668f641c07c89bd08452bd3099e99d2 (diff) |
Remove most of the direct references to the global_rng() call
Diffstat (limited to 'checks/bench.h')
-rw-r--r-- | checks/bench.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/checks/bench.h b/checks/bench.h index 40d3cab8a..e101acdc2 100644 --- a/checks/bench.h +++ b/checks/bench.h @@ -2,8 +2,17 @@ #ifndef BOTAN_BENCHMARCH_H__ #define BOTAN_BENCHMARCH_H__ -void benchmark(const std::string&, bool html, double seconds); -void bench_pk(const std::string&, bool html, double seconds); -u32bit bench_algo(const std::string&, double); +#include <botan/rng.h> +#include <string> + +void benchmark(const std::string&, Botan::RandomNumberGenerator&, + bool html, double seconds); + +void bench_pk(Botan::RandomNumberGenerator&, + const std::string&, bool html, double seconds); + +u32bit bench_algo(const std::string&, + Botan::RandomNumberGenerator&, + double); #endif |