diff options
author | lloyd <[email protected]> | 2013-03-20 02:32:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-03-20 02:32:24 +0000 |
commit | bd2cd28b7766b6d7d61960aa5b2dfaa491b664c2 (patch) | |
tree | ed67bb056200a74b5867bec12cc7f4b01c12568e /src/libstate | |
parent | 89f9ff94bf8f8d3f0acd5c0e28a5bb40e6e57cf8 (diff) |
Update callers
Diffstat (limited to 'src/libstate')
-rw-r--r-- | src/libstate/lookup.cpp | 4 | ||||
-rw-r--r-- | src/libstate/lookup.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/libstate/lookup.cpp b/src/libstate/lookup.cpp index 1263c0897..5c5f038ee 100644 --- a/src/libstate/lookup.cpp +++ b/src/libstate/lookup.cpp @@ -108,12 +108,12 @@ Keyed_Filter* get_cipher(const std::string& algo_spec, key, InitializationVector(), direction); } -AEAD_Mode* get_aead(const std::string& algo_spec, +AEAD_Filter* get_aead(const std::string& algo_spec, Cipher_Dir direction) { std::unique_ptr<Keyed_Filter> c(get_cipher(algo_spec, direction)); - if(AEAD_Mode* aead = dynamic_cast<AEAD_Mode*>(c.get())) + if(AEAD_Filter* aead = dynamic_cast<AEAD_Filter*>(c.get())) { c.release(); return aead; diff --git a/src/libstate/lookup.h b/src/libstate/lookup.h index 2a47c7f14..c9d1ee707 100644 --- a/src/libstate/lookup.h +++ b/src/libstate/lookup.h @@ -11,7 +11,7 @@ #include <botan/libstate.h> #include <botan/engine.h> #include <botan/filters.h> -#include <botan/aead.h> +#include <botan/aead_filt.h> #include <botan/mode_pad.h> #include <botan/kdf.h> #include <botan/eme.h> @@ -227,7 +227,7 @@ BOTAN_DLL Keyed_Filter* get_cipher(const std::string& algo_spec, * decrypting filter * @return pointer to the encryption or decryption filter */ -BOTAN_DLL AEAD_Mode* get_aead(const std::string& algo_spec, +BOTAN_DLL AEAD_Filter* get_aead(const std::string& algo_spec, Cipher_Dir direction); /** |