summaryrefslogtreecommitdiff
path: root/sha.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-05-19 16:46:01 -0400
committerJeffrey Walton <noloader@gmail.com>2019-05-19 16:46:01 -0400
commit62d53e6c446688c9ccdcafed20e8ac6400fdcd16 (patch)
tree46e0fa43511fde311baadff665cbfdd37145a199 /sha.cpp
parentd38e5a954df411b0fa83d22479af85cdaa772adb (diff)
downloadcryptopp-git-62d53e6c446688c9ccdcafed20e8ac6400fdcd16.tar.gz
Disable Cryptogams ASM on static Transform function
This needs mmore testing.
Diffstat (limited to 'sha.cpp')
-rw-r--r--sha.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sha.cpp b/sha.cpp
index e2949b1c..6262a023 100644
--- a/sha.cpp
+++ b/sha.cpp
@@ -307,7 +307,7 @@ void SHA1::Transform(word32 *state, const word32 *data)
return;
}
#endif
-#if CRYPTOGAMS_ARM_SHA1
+#if CRYPTOGAMS_ARM_SHA1 && 0
if (HasARMv7())
{
static const bool unused = CryptogamsArmCaps();
@@ -858,7 +858,7 @@ void SHA256::Transform(word32 *state, const word32 *data)
return;
}
#endif
-#if CRYPTOGAMS_ARM_SHA256
+#if CRYPTOGAMS_ARM_SHA256 && 0
if (HasARMv7())
{
static const bool unused = CryptogamsArmCaps();
@@ -1344,7 +1344,7 @@ void SHA512::Transform(word64 *state, const word64 *data)
return;
}
#endif
-#if CRYPTOGAMS_ARM_SHA512
+#if CRYPTOGAMS_ARM_SHA512 && 0
if (HasARMv7())
{
static const bool unused = CryptogamsArmCaps();