From 04cb06b11bbb64a6bf947abec8849d1bf02ec093 Mon Sep 17 00:00:00 2001 From: lloyd <lloyd@randombit.net> Date: Mon, 1 Nov 2010 17:25:48 +0000 Subject: Add new top-level algorithm which provides basic functionality: name query, clearing, and cloning. Applies to ciphers, hashes, MACs, and PBKDFs. May extend to KDFs later as well. A single combined hierarchy in particular will make the algo_factory much simpler. --- src/benchmark/benchmark.cpp | 4 ++-- src/benchmark/info.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/benchmark') diff --git a/src/benchmark/benchmark.cpp b/src/benchmark/benchmark.cpp index 1a27cffac..dbccd45c1 100644 --- a/src/benchmark/benchmark.cpp +++ b/src/benchmark/benchmark.cpp @@ -19,9 +19,9 @@ namespace Botan { namespace { /** -* Benchmark BufferedComputation (hash or MAC) +* Benchmark Buffered_Computation (hash or MAC) */ -std::pair<u64bit, u64bit> bench_buf_comp(BufferedComputation* buf_comp, +std::pair<u64bit, u64bit> bench_buf_comp(Buffered_Computation* buf_comp, u64bit nanoseconds_max, const byte buf[], size_t buf_len) { diff --git a/src/benchmark/info.txt b/src/benchmark/info.txt index 3a817435a..30bb679ca 100644 --- a/src/benchmark/info.txt +++ b/src/benchmark/info.txt @@ -3,7 +3,7 @@ define RUNTIME_BENCHMARKING <requires> algo_factory block -buf_comp +algo_base hash mac rng -- cgit v1.2.3