summaryrefslogtreecommitdiffstats
path: root/crypto/sha/sha512.c
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2006-05-01 13:35:03 +0000
committerAndy Polyakov <appro@openssl.org>2006-05-01 13:35:03 +0000
commita9c32ace06f53df167e59d6d3e95e69d063bd608 (patch)
tree1da15fb19b0f7e21359652ac972a31c2fe19ece5 /crypto/sha/sha512.c
parent2c5d4daac5d23416ab619bfbcb0189227ffdf71f (diff)
SHA1 for PowerPC.
Diffstat (limited to 'crypto/sha/sha512.c')
-rw-r--r--crypto/sha/sha512.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/sha/sha512.c b/crypto/sha/sha512.c
index e48e2febbe..dba4c49c0b 100644
--- a/crypto/sha/sha512.c
+++ b/crypto/sha/sha512.c
@@ -330,7 +330,7 @@ static const SHA_LONG64 K512[80] = {
: "0"(p[1]),"1"(p[0])); \
((SHA_LONG64)hi)<<32|lo; })
# endif
-# elif defined(_ARCH_PPC) && defined(__64BIT__)
+# elif (defined(_ARCH_PPC) && defined(__64BIT__)) || defined(_ARCH_PPC64)
# define ROTR(a,n) ({ unsigned long ret; \
asm ("rotrdi %0,%1,%2" \
: "=r"(ret) \