diff options
author | Andy Polyakov <appro@openssl.org> | 2002-12-15 01:47:47 +0100 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2002-12-15 01:47:47 +0100 |
commit | 6be4688bdc521e1a4fcf8a6ff4f479ec6f47c6b4 (patch) | |
tree | 129144fb395ae34a3aaa02e86193380e6a80a4ac /crypto/rc5 | |
parent | As you might have noticed I tried to change for . prefix, because it's (diff) | |
download | openssl-6be4688bdc521e1a4fcf8a6ff4f479ec6f47c6b4.tar.xz openssl-6be4688bdc521e1a4fcf8a6ff4f479ec6f47c6b4.zip |
Ooops! No ROTATE on some platforms after x86_64 performance patch...
Diffstat (limited to 'crypto/rc5')
-rw-r--r-- | crypto/rc5/rc5_locl.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crypto/rc5/rc5_locl.h b/crypto/rc5/rc5_locl.h index c700dfb1a5..658190940c 100644 --- 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 |