diff options
author | jsing <> | 2016-09-04 14:06:46 +0000 |
---|---|---|
committer | jsing <> | 2016-09-04 14:06:46 +0000 |
commit | 392813b7d9ed86b80127b58bc6e108cc28530eca (patch) | |
tree | 8494faa8d6a64a635803db2bcff9d555fe5adcae /src/lib/libcrypto/whrlpool | |
parent | becd55246777151f47f161f226165d6bbae02434 (diff) | |
download | openbsd-392813b7d9ed86b80127b58bc6e108cc28530eca.tar.gz openbsd-392813b7d9ed86b80127b58bc6e108cc28530eca.tar.bz2 openbsd-392813b7d9ed86b80127b58bc6e108cc28530eca.zip |
Less IA64.
ok deraadt@
Diffstat (limited to 'src/lib/libcrypto/whrlpool')
-rw-r--r-- | src/lib/libcrypto/whrlpool/wp_block.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/lib/libcrypto/whrlpool/wp_block.c b/src/lib/libcrypto/whrlpool/wp_block.c index 57f5b5df7a..d8c1b89ba3 100644 --- a/src/lib/libcrypto/whrlpool/wp_block.c +++ b/src/lib/libcrypto/whrlpool/wp_block.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: wp_block.c,v 1.11 2016/09/04 13:39:48 jsing Exp $ */ | 1 | /* $OpenBSD: wp_block.c,v 1.12 2016/09/04 14:06:46 jsing Exp $ */ |
2 | /** | 2 | /** |
3 | * The Whirlpool hashing function. | 3 | * The Whirlpool hashing function. |
4 | * | 4 | * |
@@ -73,14 +73,6 @@ typedef unsigned long long u64; | |||
73 | # if defined(__x86_64) || defined(__x86_64__) | 73 | # if defined(__x86_64) || defined(__x86_64__) |
74 | # define ROTATE(a,n) ({ u64 ret; asm ("rolq %1,%0" \ | 74 | # define ROTATE(a,n) ({ u64 ret; asm ("rolq %1,%0" \ |
75 | : "=r"(ret) : "J"(n),"0"(a) : "cc"); ret; }) | 75 | : "=r"(ret) : "J"(n),"0"(a) : "cc"); ret; }) |
76 | # elif defined(__ia64) || defined(__ia64__) | ||
77 | # if BYTE_ORDER == LITTLE_ENDIAN | ||
78 | # define ROTATE(a,n) ({ u64 ret; asm ("shrp %0=%1,%1,%2" \ | ||
79 | : "=r"(ret) : "r"(a),"M"(64-(n))); ret; }) | ||
80 | # else | ||
81 | # define ROTATE(a,n) ({ u64 ret; asm ("shrp %0=%1,%1,%2" \ | ||
82 | : "=r"(ret) : "r"(a),"M"(n)); ret; }) | ||
83 | # endif | ||
84 | # endif | 76 | # endif |
85 | #endif | 77 | #endif |
86 | 78 | ||