summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/md32_common.h
diff options
context:
space:
mode:
authormiod <>2014-04-17 21:11:01 +0000
committermiod <>2014-04-17 21:11:01 +0000
commit83dba8f46a8d85fa607f51d18cd239d367c96b6d (patch)
tree6ad194b139c15c87fc32186104109840046f63bd /src/lib/libcrypto/md32_common.h
parent1c6d8e10c55680bf1b3261a5be4aa6974c5623e7 (diff)
downloadopenbsd-83dba8f46a8d85fa607f51d18cd239d367c96b6d.tar.gz
openbsd-83dba8f46a8d85fa607f51d18cd239d367c96b6d.tar.bz2
openbsd-83dba8f46a8d85fa607f51d18cd239d367c96b6d.zip
There are no plans to ever build this with the Metrojerks compiler.
Diffstat (limited to 'src/lib/libcrypto/md32_common.h')
-rw-r--r--src/lib/libcrypto/md32_common.h13
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