diff options
Diffstat (limited to 'src/engine/sse2_eng/eng_sse2.cpp')
-rw-r--r-- | src/engine/sse2_eng/eng_sse2.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/sse2_eng/eng_sse2.cpp b/src/engine/sse2_eng/eng_sse2.cpp index 07c625c7c..51b7d04e3 100644 --- a/src/engine/sse2_eng/eng_sse2.cpp +++ b/src/engine/sse2_eng/eng_sse2.cpp @@ -16,6 +16,10 @@ #include <botan/serp_sse2.h> #endif +#if defined(BOTAN_HAS_XTEA_SSE2) + #include <botan/xtea_sse2.h> +#endif + namespace Botan { BlockCipher* @@ -30,6 +34,11 @@ SSE2_Assembler_Engine::find_block_cipher(const SCAN_Name& request, return new Serpent_SSE2; #endif +#if defined(BOTAN_HAS_XTEA_SSE2) + if(request.algo_name() == "XTEA") + return new XTEA_SSE2; +#endif + return 0; } |