diff options
Diffstat (limited to 'src/lib/libcrypto/md32_common.h')
-rw-r--r-- | src/lib/libcrypto/md32_common.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/lib/libcrypto/md32_common.h b/src/lib/libcrypto/md32_common.h index 5276abfadc..3e02776d30 100644 --- a/src/lib/libcrypto/md32_common.h +++ b/src/lib/libcrypto/md32_common.h | |||
@@ -142,18 +142,7 @@ | |||
142 | */ | 142 | */ |
143 | #undef ROTATE | 143 | #undef ROTATE |
144 | #ifndef PEDANTIC | 144 | #ifndef PEDANTIC |
145 | # if defined(_MSC_VER) || defined(__ICC) | 145 | # if defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) |
146 | # define ROTATE(a,n) _lrotl(a,n) | ||
147 | # elif defined(__MWERKS__) | ||
148 | # if defined(__POWERPC__) | ||
149 | # define ROTATE(a,n) __rlwinm(a,n,0,31) | ||
150 | # elif defined(__MC68K__) | ||
151 | /* Motorola specific tweak. <appro@fy.chalmers.se> */ | ||
152 | # define ROTATE(a,n) ( n<24 ? __rol(a,n) : __ror(a,32-n) ) | ||
153 | # else | ||
154 | # define ROTATE(a,n) __rol(a,n) | ||
155 | # endif | ||
156 | # elif defined(__GNUC__) && __GNUC__>=2 && !defined(OPENSSL_NO_ASM) && !defined(OPENSSL_NO_INLINE_ASM) | ||
157 | /* | 146 | /* |
158 | * Some GNU C inline assembler templates. Note that these are | 147 | * Some GNU C inline assembler templates. Note that these are |
159 | * rotates by *constant* number of bits! But that's exactly | 148 | * rotates by *constant* number of bits! But that's exactly |