diff options
author | lloyd <[email protected]> | 2008-11-11 00:00:10 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2008-11-11 00:00:10 +0000 |
commit | 894a225d14043cbd0cbd42c677ab4063b461fa24 (patch) | |
tree | d86973c4bc9bcddf4ac1970728479bf04e8f6522 /checks/pk.cpp | |
parent | e6abb0fd8289619d559ff430dff84f0de4f82808 (diff) |
Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpp
Diffstat (limited to 'checks/pk.cpp')
-rw-r--r-- | checks/pk.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/checks/pk.cpp b/checks/pk.cpp index bafbc57d2..ab6fab665 100644 --- a/checks/pk.cpp +++ b/checks/pk.cpp @@ -33,6 +33,7 @@ #if defined(BOTAN_HAS_DLIES) #include <botan/dlies.h> + #include <botan/kdf.h> #endif #include <botan/filters.h> @@ -542,8 +543,8 @@ u32bit validate_dlies(const std::string& algo, if(options.size() != 3) throw Exception("DLIES needs three options: " + opt_str); - std::string kdf = options[0]; - std::string mac = options[1]; + KDF* kdf = get_kdf(options[0]); + MessageAuthenticationCode* mac = get_mac(options[1]); u32bit mac_key_len = to_u32bit(options[2]); PK_Decryptor* d = new DLIES_Decryptor(to, kdf, mac, mac_key_len); |