projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Ooops! No ROTATE on some platforms after x86_64 performance patch...
[openssl.git]
/
crypto
/
rc5
/
rc5_locl.h
diff --git
a/crypto/rc5/rc5_locl.h
b/crypto/rc5/rc5_locl.h
index c700dfb1a5ec7c41a33cfebae4b76148e91f2435..658190940c91d7c8a6df05aea832890c310d0ed3 100644
(file)
--- a/
crypto/rc5/rc5_locl.h
+++ b/
crypto/rc5/rc5_locl.h
@@
-166,8
+166,11
@@
ret; \
})
# endif
-#else
+#endif
+#ifndef ROTATE_l32
#define ROTATE_l32(a,n) (((a)<<(n&0x1f))|(((a)&0xffffffff)>>(32-(n&0x1f))))
+#endif
+#ifndef ROTATE_r32
#define ROTATE_r32(a,n) (((a)<<(32-(n&0x1f)))|(((a)&0xffffffff)>>(n&0x1f)))
#endif