aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/benchmark
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-18 18:17:08 +0000
committerlloyd <[email protected]>2014-01-18 18:17:08 +0000
commitb96ad4c05c0a8f835b54ef4e2cff849c749409b0 (patch)
treed8a5805e6d85cd66d2336f624f0cbeaaf1d5bed3 /src/lib/benchmark
parent6b457468faa88180142de9bd2ba0fee90be43463 (diff)
Split off the keyed interfaces of transform to Keyed_Transform
Remove the unhelpful 'Algorithm' base class which had previously acted more or less as a global base.
Diffstat (limited to 'src/lib/benchmark')
-rw-r--r--src/lib/benchmark/benchmark.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/benchmark/benchmark.cpp b/src/lib/benchmark/benchmark.cpp
index 396670168..df15ffa6f 100644
--- a/src/lib/benchmark/benchmark.cpp
+++ b/src/lib/benchmark/benchmark.cpp
@@ -103,7 +103,7 @@ time_algorithm_ops(const std::string& name,
if(enc && dec)
{
- const SymmetricKey key(rng, enc->maximum_keylength());
+ const SymmetricKey key(rng, enc->key_spec().maximum_keylength());
return std::map<std::string, double>({
{ "key schedule", time_op(runtime / 4, [&]() { enc->set_key(key); dec->set_key(key); }) / 2 },