diff options
author | lloyd <[email protected]> | 2010-11-01 17:25:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-11-01 17:25:48 +0000 |
commit | 04cb06b11bbb64a6bf947abec8849d1bf02ec093 (patch) | |
tree | dc6508dfcc6084d7e52cfb2861462b8614a4dec4 /src/benchmark | |
parent | ba069386cdfb31720fa5a305c81baa18a0c8504d (diff) |
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.
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/benchmark.cpp | 4 | ||||
-rw-r--r-- | src/benchmark/info.txt | 2 |
2 files changed, 3 insertions, 3 deletions
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 |