projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b26c45b
)
sha512.c update for esoteric PPC platfrom(s) [from HEAD].
author
Andy Polyakov
<appro@openssl.org>
Wed, 30 Dec 2009 11:53:33 +0000
(11:53 +0000)
committer
Andy Polyakov
<appro@openssl.org>
Wed, 30 Dec 2009 11:53:33 +0000
(11:53 +0000)
PR: 1998
crypto/sha/sha512.c
patch
|
blob
|
history
diff --git
a/crypto/sha/sha512.c
b/crypto/sha/sha512.c
index d1aa7614b2f6bab444b0cd4d98c23330b82aaf68..cbc0e58c48865a4318daeae1c35a2121d501e418 100644
(file)
--- a/
crypto/sha/sha512.c
+++ b/
crypto/sha/sha512.c
@@
-380,7
+380,7
@@
static const SHA_LONG64 K512[80] = {
((SHA_LONG64)hi)<<32|lo; })
# endif
# elif (defined(_ARCH_PPC) && defined(__64BIT__)) || defined(_ARCH_PPC64)
-# define ROTR(a,n) ({
unsigned long ret;
\
+# define ROTR(a,n) ({
SHA_LONG64 ret;
\
asm ("rotrdi %0,%1,%2" \
: "=r"(ret) \
: "r"(a),"K"(n)); ret; })