aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2009-10-29 02:07:39 +0000
committerlloyd <[email protected]>2009-10-29 02:07:39 +0000
commitd5412353bec03ae91d69286ee53369cd9588dcda (patch)
tree857cf5a624dd842b8eed7a58d8a631379411b9b8
parente9cb78ddb6ad81e562fd466481b8d93e5144e7a6 (diff)
Rename sse2 engine to simd
-rw-r--r--src/algo_factory/prov_weight.cpp2
-rw-r--r--src/engine/simd_engine/simd_engine.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/algo_factory/prov_weight.cpp b/src/algo_factory/prov_weight.cpp
index a55a8b1e6..d7e84a323 100644
--- a/src/algo_factory/prov_weight.cpp
+++ b/src/algo_factory/prov_weight.cpp
@@ -22,7 +22,7 @@ u32bit static_provider_weight(const std::string& prov_name)
if(prov_name == "core") return 5;
if(prov_name == "ia32") return 6;
if(prov_name == "amd64") return 7;
- if(prov_name == "sse2") return 8;
+ if(prov_name == "simd") return 8;
if(prov_name == "openssl") return 2;
if(prov_name == "gmp") return 1;
diff --git a/src/engine/simd_engine/simd_engine.h b/src/engine/simd_engine/simd_engine.h
index f7df6ff77..22a58e203 100644
--- a/src/engine/simd_engine/simd_engine.h
+++ b/src/engine/simd_engine/simd_engine.h
@@ -15,7 +15,7 @@ namespace Botan {
class BOTAN_DLL SIMD_Engine : public Engine
{
public:
- std::string provider_name() const { return "sse2"; }
+ std::string provider_name() const { return "simd"; }
private:
BlockCipher* find_block_cipher(const SCAN_Name&,
Algorithm_Factory&) const;