aboutsummaryrefslogtreecommitdiffstats
path: root/src/engine/core_engine
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/core_engine')
-rw-r--r--src/engine/core_engine/lookup_block.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/core_engine/lookup_block.cpp b/src/engine/core_engine/lookup_block.cpp
index cc5239dd1..c27a13237 100644
--- a/src/engine/core_engine/lookup_block.cpp
+++ b/src/engine/core_engine/lookup_block.cpp
@@ -17,6 +17,10 @@
#include <botan/blowfish.h>
#endif
+#if defined(BOTAN_HAS_CAMELLIA)
+ #include <botan/camellia.h>
+#endif
+
#if defined(BOTAN_HAS_CAST)
#include <botan/cast128.h>
#include <botan/cast256.h>
@@ -130,6 +134,11 @@ BlockCipher* Core_Engine::find_block_cipher(const SCAN_Name& request,
return new Blowfish;
#endif
+#if defined(BOTAN_HAS_CAMELLIA)
+ if(request.algo_name() == "Camellia")
+ return new Camellia;
+#endif
+
#if defined(BOTAN_HAS_CAST)
if(request.algo_name() == "CAST-128")
return new CAST_128;