diff options
author | lloyd <[email protected]> | 2010-07-13 17:32:24 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-07-13 17:32:24 +0000 |
commit | e51e9aa6a6033710920f0934178ef770fd25498f (patch) | |
tree | 8f753df6deac2531c6792e277102d95dda7a3bc5 /src/engine/amd64_eng/amd64_engine.cpp | |
parent | 2006b4d305039cb9ff18d21b65c37ba1f2c39819 (diff) |
Consolidate the two engines that provided assembler implementations
(amd64_eng and ia32_eng) into a new asm_engine. This same engine could
also be used in the event that asm code for other CPUs was added later
on.
Diffstat (limited to 'src/engine/amd64_eng/amd64_engine.cpp')
-rw-r--r-- | src/engine/amd64_eng/amd64_engine.cpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/engine/amd64_eng/amd64_engine.cpp b/src/engine/amd64_eng/amd64_engine.cpp deleted file mode 100644 index 262bd5809..000000000 --- a/src/engine/amd64_eng/amd64_engine.cpp +++ /dev/null @@ -1,27 +0,0 @@ -/* -* AMD64 Assembly Implementation Engine -* (C) 1999-2008 Jack Lloyd -* -* Distributed under the terms of the Botan license -*/ - -#include <botan/internal/amd64_engine.h> - -#if defined(BOTAN_HAS_SHA1_AMD64) - #include <botan/sha1_amd64.h> -#endif - -namespace Botan { - -HashFunction* AMD64_Assembler_Engine::find_hash(const SCAN_Name& request, - Algorithm_Factory&) const - { -#if defined(BOTAN_HAS_SHA1_AMD64) - if(request.algo_name() == "SHA-160") - return new SHA_160_AMD64; -#endif - - return 0; - } - -} |