summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto
diff options
context:
space:
mode:
authormiod <>2014-04-23 19:20:36 +0000
committermiod <>2014-04-23 19:20:36 +0000
commit856c714a6ff8b0f85adf73bdb99087dcb8d70417 (patch)
tree026b3787b029f9c6cd5298211c94ed6701f6da8f /src/lib/libcrypto
parentd00940e5e20f9781f7b51788398c2bbc89795cb4 (diff)
downloadopenbsd-856c714a6ff8b0f85adf73bdb99087dcb8d70417.tar.gz
openbsd-856c714a6ff8b0f85adf73bdb99087dcb8d70417.tar.bz2
openbsd-856c714a6ff8b0f85adf73bdb99087dcb8d70417.zip
One last Dec C tentacle on alpha.
Diffstat (limited to 'src/lib/libcrypto')
-rw-r--r--src/lib/libcrypto/bn/bn_lcl.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/libcrypto/bn/bn_lcl.h b/src/lib/libcrypto/bn/bn_lcl.h
index 22b4d17eb6..e46cbc2ef8 100644
--- a/src/lib/libcrypto/bn/bn_lcl.h
+++ b/src/lib/libcrypto/bn/bn_lcl.h
@@ -235,10 +235,7 @@ extern "C" {
235 * <appro@fy.chalmers.se> 235 * <appro@fy.chalmers.se>
236 */ 236 */
237# if defined(__alpha) && (defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT)) 237# if defined(__alpha) && (defined(SIXTY_FOUR_BIT_LONG) || defined(SIXTY_FOUR_BIT))
238# if defined(__DECC) 238# if defined(__GNUC__) && __GNUC__>=2
239# include <c_asm.h>
240# define BN_UMULT_HIGH(a,b) (BN_ULONG)asm("umulh %a0,%a1,%v0",(a),(b))
241# elif defined(__GNUC__) && __GNUC__>=2
242# define BN_UMULT_HIGH(a,b) ({ \ 239# define BN_UMULT_HIGH(a,b) ({ \
243 register BN_ULONG ret; \ 240 register BN_ULONG ret; \
244 asm ("umulh %1,%2,%0" \ 241 asm ("umulh %1,%2,%0" \