diff options
Diffstat (limited to 'src/engine/def_engine/lookup_hash.cpp')
-rw-r--r-- | src/engine/def_engine/lookup_hash.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/engine/def_engine/lookup_hash.cpp b/src/engine/def_engine/lookup_hash.cpp index f59d4c7e1..d1a8e4503 100644 --- a/src/engine/def_engine/lookup_hash.cpp +++ b/src/engine/def_engine/lookup_hash.cpp @@ -63,6 +63,10 @@ #include <botan/sha2_64.h> #endif +#if defined(BOTAN_HAS_SKEIN_512) + #include <botan/skein_512.h> +#endif + #if defined(BOTAN_HAS_TIGER) #include <botan/tiger.h> #endif @@ -161,6 +165,11 @@ Default_Engine::find_hash(const SCAN_Name& request, request.arg_as_u32bit(1, 3)); // # passes #endif +#if defined(BOTAN_HAS_SKEIN_512) + if(request.algo_name() == "Skein-512") + return new Skein_512(request.arg_as_u32bit(0, 512)); +#endif + #if defined(BOTAN_HAS_WHIRLPOOL) if(request.algo_name() == "Whirlpool") return new Whirlpool; |