summaryrefslogtreecommitdiff
path: root/validat1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2017-08-11 17:13:15 -0400
committerJeffrey Walton <noloader@gmail.com>2017-08-11 17:13:15 -0400
commit953252e44d25ce820c9d8b7aa708c0dfc1223e6e (patch)
treeb7116470776d45e831015e93d0691ec725709313 /validat1.cpp
parent173dd0b530620d1a31388eaf1ca07e922f371729 (diff)
downloadcryptopp-git-953252e44d25ce820c9d8b7aa708c0dfc1223e6e.tar.gz
Move from 'static' to 'enum' for class constants
Enums don't take up space in class objects. Its should result in smaller objects and faster code
Diffstat (limited to 'validat1.cpp')
-rw-r--r--validat1.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/validat1.cpp b/validat1.cpp
index 57b67d1e..58ddcae9 100644
--- a/validat1.cpp
+++ b/validat1.cpp
@@ -342,7 +342,6 @@ bool TestSettings()
std::cout << std::endl;
#ifdef CRYPTOPP_CPUID_AVAILABLE
- bool hasISSE = HasISSE();
bool hasSSE2 = HasSSE2();
bool hasSSSE3 = HasSSSE3();
bool hasSSE4 = HasSSE4();
@@ -357,8 +356,9 @@ bool TestSettings()
else
std::cout << "passed: ";
- std::cout << "hasISSE == " << hasISSE << "hasSSE2 == " << hasSSE2 << ", hasSSSE3 == " << hasSSSE3 << ", hasSSE4 == " << hasSSE4;
- std::cout << ", hasAESNI == " << HasAESNI() << ", hasCLMUL == " << HasCLMUL() << ", hasRDRAND == " << HasRDRAND() << ", hasRDSEED == " << HasRDSEED();
+ std::cout << "hasSSE2 == " << hasSSE2 << ", hasSSSE3 == " << hasSSSE3 << ", hasSSE4 == " << hasSSE4;
+ std::cout << ", hasAESNI == " << HasAESNI() << ", hasCLMUL == " << HasCLMUL();
+ std::cout << ", hasRDRAND == " << HasRDRAND() << ", hasRDSEED == " << HasRDSEED();
std::cout << ", hasSHA == " << HasSHA() << ", isP4 == " << isP4 << ", cacheLineSize == " << cacheLineSize << std::endl;
#elif (CRYPTOPP_BOOL_ARM32 || CRYPTOPP_BOOL_ARM64)