diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-08-17 12:33:43 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-17 12:33:43 -0400 |
commit | e2c377effd9a4eca0291c217e9c3256b033511dc (patch) | |
tree | a33fa7d52e14b923a034bafb9a05172a983a0e7c /bench1.cpp | |
parent | 74d21068a16c2b3e879336ae7eed180d4466e8b5 (diff) | |
download | cryptopp-git-e2c377effd9a4eca0291c217e9c3256b033511dc.tar.gz |
Split source files to support Base Implementation + SIMD implementation (GH #461)
Split source files to support Base Implementation + SIMD implementation
Diffstat (limited to 'bench1.cpp')
-rw-r--r-- | bench1.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -506,11 +506,11 @@ void Benchmark2(double t, double hertz) std::cout << "\n<TBODY style=\"background: white;\">";
{
-#if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE
+#if CRYPTOPP_AESNI_AVAILABLE
if (HasCLMUL())
BenchMarkByName2<AuthenticatedSymmetricCipher, MessageAuthenticationCode>("AES/GCM", 0, "GMAC(AES)");
else
-#elif CRYPTOPP_BOOL_ARM_PMULL_AVAILABLE
+#elif CRYPTOPP_ARM_PMULL_AVAILABLE
if (HasPMULL())
BenchMarkByName2<AuthenticatedSymmetricCipher, MessageAuthenticationCode>("AES/GCM", 0, "GMAC(AES)");
else
@@ -595,11 +595,11 @@ void Benchmark2(double t, double hertz) std::cout << "\n<TBODY style=\"background: yellow;\">";
{
-#if CRYPTOPP_BOOL_AESNI_INTRINSICS_AVAILABLE
+#if CRYPTOPP_AESNI_AVAILABLE
if (HasCLMUL())
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/GCM", 0, "AES/GCM");
else
-#elif CRYPTOPP_BOOL_ARM_PMULL_AVAILABLE
+#elif CRYPTOPP_ARM_PMULL_AVAILABLE
if (HasPMULL())
BenchMarkByName2<AuthenticatedSymmetricCipher, AuthenticatedSymmetricCipher>("AES/GCM", 0, "AES/GCM");
else
|