aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/engine/simd_engine/simd_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/engine/simd_engine/simd_engine.h')
-rw-r--r--src/lib/engine/simd_engine/simd_engine.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/lib/engine/simd_engine/simd_engine.h b/src/lib/engine/simd_engine/simd_engine.h
new file mode 100644
index 000000000..66c8886f1
--- /dev/null
+++ b/src/lib/engine/simd_engine/simd_engine.h
@@ -0,0 +1,32 @@
+/*
+* SIMD Assembly Engine
+* (C) 1999-2009 Jack Lloyd
+*
+* Distributed under the terms of the Botan license
+*/
+
+#ifndef BOTAN_SIMD_ENGINE_H__
+#define BOTAN_SIMD_ENGINE_H__
+
+#include <botan/engine.h>
+
+namespace Botan {
+
+/**
+* Engine for implementations that use some kind of SIMD
+*/
+class SIMD_Engine : public Engine
+ {
+ public:
+ std::string provider_name() const { return "simd"; }
+
+ BlockCipher* find_block_cipher(const SCAN_Name&,
+ Algorithm_Factory&) const;
+
+ HashFunction* find_hash(const SCAN_Name& request,
+ Algorithm_Factory&) const;
+ };
+
+}
+
+#endif