diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libcrypto/bn/bn_lcl.h | 5 | ||||
| -rw-r--r-- | src/lib/libssl/src/crypto/bn/bn_lcl.h | 5 | 
2 files changed, 2 insertions, 8 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" \ | 
| diff --git a/src/lib/libssl/src/crypto/bn/bn_lcl.h b/src/lib/libssl/src/crypto/bn/bn_lcl.h index 22b4d17eb6..e46cbc2ef8 100644 --- a/src/lib/libssl/src/crypto/bn/bn_lcl.h +++ b/src/lib/libssl/src/crypto/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" \ | 
