aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/benchmark/benchmark.cpp
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-02-03 08:11:45 +0000
committerlloyd <[email protected]>2015-02-03 08:11:45 +0000
commitf9a7c85b74be0f4a7273e8e0591703af83036e81 (patch)
tree075dbe119fc16863cad99b432ca6251778bd8fd1 /src/lib/benchmark/benchmark.cpp
parent69d2cd919c698a6b138b2ccba0de5d5aa2a33a03 (diff)
Convert PK operations to using Algo_Registry instead of Engine.
Remove global PRNG.
Diffstat (limited to 'src/lib/benchmark/benchmark.cpp')
-rw-r--r--src/lib/benchmark/benchmark.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/benchmark/benchmark.cpp b/src/lib/benchmark/benchmark.cpp
index 0508af79d..8e0c9fdf2 100644
--- a/src/lib/benchmark/benchmark.cpp
+++ b/src/lib/benchmark/benchmark.cpp
@@ -97,8 +97,8 @@ time_algorithm_ops(const std::string& name,
}
else
{
- std::unique_ptr<AEAD_Mode> enc(get_aead(name, ENCRYPTION));
- std::unique_ptr<AEAD_Mode> dec(get_aead(name, DECRYPTION));
+ std::unique_ptr<Cipher_Mode> enc(get_cipher_mode(name, ENCRYPTION));
+ std::unique_ptr<Cipher_Mode> dec(get_cipher_mode(name, DECRYPTION));
if(enc && dec)
{