From 11eb9957d4b70d9d164cb526ae91479f6e19e679 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Sun, 19 Jul 2015 13:33:41 -0400 Subject: [PATCH] HasISSE -> HasSSE. That's how old this function is... --- cpu.h | 4 ++-- validat1.cpp | 2 +- whrlpool.cpp | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpu.h b/cpu.h index 65029d33..a994d805 100644 --- a/cpu.h +++ b/cpu.h @@ -112,7 +112,7 @@ CRYPTOPP_DLL bool CRYPTOPP_API CpuId(word32 input, word32 *output); #if CRYPTOPP_BOOL_X64 inline bool HasSSE2() {return true;} -inline bool HasISSE() {return true;} +inline bool HasSSE() {return true;} inline bool HasMMX() {return true;} #else @@ -127,7 +127,7 @@ inline bool HasSSE2() return g_hasSSE2; } -inline bool HasISSE() +inline bool HasSSE() { if (!g_x86DetectionDone) DetectX86Features(); diff --git a/validat1.cpp b/validat1.cpp index 5bb62a77..75d7db06 100644 --- a/validat1.cpp +++ b/validat1.cpp @@ -242,7 +242,7 @@ bool TestSettings() #ifdef CRYPTOPP_CPUID_AVAILABLE bool hasMMX = HasMMX(); - bool hasISSE = HasISSE(); + bool hasISSE = HasSSE(); bool hasSSE2 = HasSSE2(); bool hasSSSE3 = HasSSSE3(); bool isP4 = IsP4(); diff --git a/whrlpool.cpp b/whrlpool.cpp index 9da12e3d..6de6747f 100644 --- a/whrlpool.cpp +++ b/whrlpool.cpp @@ -392,7 +392,7 @@ static const word64 Whirlpool_C[4*256+R] = { void Whirlpool::Transform(word64 *digest, const word64 *block) { #if CRYPTOPP_BOOL_SSE2_ASM_AVAILABLE - if (HasISSE()) + if (HasSSE()) { // MMX version has the same structure as C version below #ifdef __GNUC__