diff options
author | lloyd <[email protected]> | 2014-02-08 14:50:52 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2014-02-08 14:50:52 +0000 |
commit | d9356dd618329fd9801f24e38caa1e331b8d5c89 (patch) | |
tree | 344eb95942ef7ee2852d8a6866aaa27591d37d71 /src | |
parent | d0f4cf5eb7fb1c7cc4484ce9b8df3704b6bc8122 (diff) |
Remove the engine hooks
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/engine/core_engine/lookup_block.cpp | 32 | ||||
-rw-r--r-- | src/lib/engine/core_engine/lookup_hash.cpp | 9 |
2 files changed, 0 insertions, 41 deletions
diff --git a/src/lib/engine/core_engine/lookup_block.cpp b/src/lib/engine/core_engine/lookup_block.cpp index 0a9c02311..fc2f1e982 100644 --- a/src/lib/engine/core_engine/lookup_block.cpp +++ b/src/lib/engine/core_engine/lookup_block.cpp @@ -51,10 +51,6 @@ #include <botan/lion.h> #endif -#if defined(BOTAN_HAS_LUBY_RACKOFF) - #include <botan/lubyrack.h> -#endif - #if defined(BOTAN_HAS_MARS) #include <botan/mars.h> #endif @@ -91,14 +87,6 @@ #include <botan/serpent.h> #endif -#if defined(BOTAN_HAS_SKIPJACK) - #include <botan/skipjack.h> -#endif - -#if defined(BOTAN_HAS_SQUARE) - #include <botan/square.h> -#endif - #if defined(BOTAN_HAS_TEA) #include <botan/tea.h> #endif @@ -223,16 +211,6 @@ BlockCipher* Core_Engine::find_block_cipher(const SCAN_Name& request, return new Serpent; #endif -#if defined(BOTAN_HAS_SKIPJACK) - if(request.algo_name() == "Skipjack") - return new Skipjack; -#endif - -#if defined(BOTAN_HAS_SQUARE) - if(request.algo_name() == "Square") - return new Square; -#endif - #if defined(BOTAN_HAS_TEA) if(request.algo_name() == "TEA") return new TEA; @@ -253,16 +231,6 @@ BlockCipher* Core_Engine::find_block_cipher(const SCAN_Name& request, return new XTEA; #endif -#if defined(BOTAN_HAS_LUBY_RACKOFF) - if(request.algo_name() == "Luby-Rackoff" && request.arg_count() == 1) - { - const HashFunction* hash = af.prototype_hash_function(request.arg(0)); - - if(hash) - return new LubyRackoff(hash->clone()); - } -#endif - #if defined(BOTAN_HAS_CASCADE) if(request.algo_name() == "Cascade" && request.arg_count() == 2) { diff --git a/src/lib/engine/core_engine/lookup_hash.cpp b/src/lib/engine/core_engine/lookup_hash.cpp index a2d813f90..5665b3040 100644 --- a/src/lib/engine/core_engine/lookup_hash.cpp +++ b/src/lib/engine/core_engine/lookup_hash.cpp @@ -21,10 +21,6 @@ #include <botan/crc32.h> #endif -#if defined(BOTAN_HAS_BMW_512) - #include <botan/bmw_512.h> -#endif - #if defined(BOTAN_HAS_GOST_34_11) #include <botan/gost_3411.h> #endif @@ -112,11 +108,6 @@ HashFunction* Core_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_GOST_34_11) if(request.algo_name() == "GOST-R-34.11-94") return new GOST_34_11; |