aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/engine/asm_engine/asm_engine.h
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-01-10 03:41:59 +0000
committerlloyd <[email protected]>2014-01-10 03:41:59 +0000
commit6894dca64c04936d07048c0e8cbf7e25858548c3 (patch)
tree5d572bfde9fe667dab14e3f04b5285a85d8acd95 /src/lib/engine/asm_engine/asm_engine.h
parent9efa3be92442afb3d0b69890a36c7f122df18eda (diff)
Move lib into src
Diffstat (limited to 'src/lib/engine/asm_engine/asm_engine.h')
-rw-r--r--src/lib/engine/asm_engine/asm_engine.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/engine/asm_engine/asm_engine.h b/src/lib/engine/asm_engine/asm_engine.h
new file mode 100644
index 000000000..40fe5342f
--- /dev/null
+++ b/src/lib/engine/asm_engine/asm_engine.h
@@ -0,0 +1,32 @@
+/*
+* Assembly Implementation Engine
+* (C) 1999-2010 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_X86_32_ASM_ENGINE_H__
+#define BOTAN_X86_32_ASM_ENGINE_H__
+
+#include <botan/engine.h>
+
+namespace Botan {
+
+/**
+* Engine for x86-32 specific implementations
+*/
+class Assembler_Engine : public Engine
+ {
+ public:
+ std::string provider_name() const { return "asm"; }
+
+ BlockCipher* find_block_cipher(const SCAN_Name&,
+ Algorithm_Factory&) const;
+
+ HashFunction* find_hash(const SCAN_Name& request,
+ Algorithm_Factory&) const;
+ };
+
+}
+
+#endif