From 7f6a017a61fc6ef97d9d7b37236df52d6170e7d6 Mon Sep 17 00:00:00 2001 From: lloyd Date: Tue, 15 Sep 2009 14:14:32 +0000 Subject: Add an implementation of Blue Midnight Wish (512 bit version only) --- src/engine/def_engine/lookup_hash.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/engine/def_engine/lookup_hash.cpp') diff --git a/src/engine/def_engine/lookup_hash.cpp b/src/engine/def_engine/lookup_hash.cpp index 58136fc5a..9b2018736 100644 --- a/src/engine/def_engine/lookup_hash.cpp +++ b/src/engine/def_engine/lookup_hash.cpp @@ -22,6 +22,10 @@ #include #endif +#if defined(BOTAN_HAS_BMW_512) + #include +#endif + #if defined(BOTAN_HAS_FORK_256) #include #endif @@ -103,6 +107,11 @@ Default_Engine::find_hash(const SCAN_Name& request, return new CRC32; #endif +#if defined(BOTAN_HAS_BMW_512) + if(request.algo_name() == "BMW-512") + return new BMW_512; +#endif + #if defined(BOTAN_HAS_FORK_256) if(request.algo_name() == "FORK-256") return new FORK_256; -- cgit v1.2.3