aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/benchmark/benchmark.cpp
diff options
context:
space:
mode:
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)
{