aboutsummaryrefslogtreecommitdiffstats
path: root/checks/bench.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2008-06-28 01:12:10 +0000
committerlloyd <[email protected]>2008-06-28 01:12:10 +0000
commitc7994492cd10fc350686afa1ac55bc6be2b18d29 (patch)
tree42a54a6266038b12ba89198086c7efb21281605b /checks/bench.h
parentadfc19b00668f641c07c89bd08452bd3099e99d2 (diff)
Remove most of the direct references to the global_rng() call
Diffstat (limited to 'checks/bench.h')
-rw-r--r--checks/bench.h15
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