diff options
author | lloyd <[email protected]> | 2009-09-15 14:14:32 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-09-15 14:14:32 +0000 |
commit | 7f6a017a61fc6ef97d9d7b37236df52d6170e7d6 (patch) | |
tree | 79873bd67321ba54207a964de94ceeda54c568b7 /src/engine | |
parent | 467cfb8b8a31eecfaf63c30cfa13b69bef4cd566 (diff) |
Add an implementation of Blue Midnight Wish (512 bit version only)
Diffstat (limited to 'src/engine')
-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 58136fc5a..9b2018736 100644 --- a/src/engine/def_engine/lookup_hash.cpp +++ b/src/engine/def_engine/lookup_hash.cpp @@ -22,6 +22,10 @@ #include <botan/crc32.h> #endif +#if defined(BOTAN_HAS_BMW_512) + #include <botan/bmw_512.h> +#endif + #if defined(BOTAN_HAS_FORK_256) #include <botan/fork256.h> #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; |