aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_dlies.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2015-09-21 14:59:01 -0400
committerJack Lloyd <[email protected]>2015-09-21 14:59:01 -0400
commit04319af23bf8ed467b17f9b74c814343e051ab6b (patch)
tree630d1a0cc931e77e7e1f07319e5cf89d00af4458 /src/tests/test_dlies.cpp
parent408ea0a9b8ed0f575f8ee26891473920b42ef026 (diff)
Remove use of lookup.h in favor of new T::create API.
Diffstat (limited to 'src/tests/test_dlies.cpp')
-rw-r--r--src/tests/test_dlies.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/tests/test_dlies.cpp b/src/tests/test_dlies.cpp
index f282a9387..bf367efb8 100644
--- a/src/tests/test_dlies.cpp
+++ b/src/tests/test_dlies.cpp
@@ -19,7 +19,6 @@
#include <botan/dh.h>
#include <botan/hex.h>
#include <botan/pubkey.h>
-#include <botan/lookup.h>
using namespace Botan;
@@ -54,13 +53,13 @@ size_t dlies_kat(const std::string& p,
const size_t mac_key_len = to_u32bit(options[2]);
DLIES_Encryptor e(from,
- get_kdf(options[0]),
- get_mac(options[1]),
+ KDF::create(options[0]).release(),
+ MessageAuthenticationCode::create(options[1]).release(),
mac_key_len);
DLIES_Decryptor d(to,
- get_kdf(options[0]),
- get_mac(options[1]),
+ KDF::create(options[0]).release(),
+ MessageAuthenticationCode::create(options[1]).release(),
mac_key_len);
e.set_other_key(to.public_value());