diff options
author | lloyd <[email protected]> | 2013-12-25 03:39:17 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2013-12-25 03:39:17 +0000 |
commit | 0aee3bb19849b56b56f57d5485c57c5202ebc432 (patch) | |
tree | e75e7ca27b59856ec33f2078ac4ad52ce7567645 /src/engine/core_engine/lookup_block.cpp | |
parent | 0beb8efebb8a03c5a795ea03b9da7e3c87daee23 (diff) |
Add Threefish-512 AVX2 decrypt
Diffstat (limited to 'src/engine/core_engine/lookup_block.cpp')
-rw-r--r-- | src/engine/core_engine/lookup_block.cpp | 9 |
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 a02c75daa..0a9c02311 100644 --- a/src/engine/core_engine/lookup_block.cpp +++ b/src/engine/core_engine/lookup_block.cpp @@ -107,6 +107,10 @@ #include <botan/twofish.h> #endif +#if defined(BOTAN_HAS_THREEFISH_512) + #include <botan/threefish.h> +#endif + #if defined(BOTAN_HAS_XTEA) #include <botan/xtea.h> #endif @@ -239,6 +243,11 @@ BlockCipher* Core_Engine::find_block_cipher(const SCAN_Name& request, return new Twofish; #endif +#if defined(BOTAN_HAS_TWOFISH) + if(request.algo_name() == "Threefish-512") + return new Threefish_512; +#endif + #if defined(BOTAN_HAS_XTEA) if(request.algo_name() == "XTEA") return new XTEA; |