sha512.c update for esoteric PPC platfrom(s) [from HEAD].
PR: 1998
This commit is contained in:
parent
b26c45b033
commit
a5313cf360
@ -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; })
|
||||
|
Loading…
x
Reference in New Issue
Block a user