aboutsummaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2017-02-28 22:54:28 +0100
committerAndy Polyakov <appro@openssl.org>2017-03-02 16:16:52 +0100
commit604c853d453282a3ef4d7d1ed8cbae57097c3813 (patch)
tree707c09740c6f065a03b646fb26f75383a4d4d492 /crypto
parenta3004c820370b6bee82c919721fb1cbe95f72f3f (diff)
downloadopenssl-604c853d453282a3ef4d7d1ed8cbae57097c3813.zip
openssl-604c853d453282a3ef4d7d1ed8cbae57097c3813.tar.gz
openssl-604c853d453282a3ef4d7d1ed8cbae57097c3813.tar.bz2
des/des_locl.h: clean up unused/irrelevant macros.
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/des/des_locl.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/crypto/des/des_locl.h b/crypto/des/des_locl.h
index 53881d4..3c08ce8 100644
--- a/crypto/des/des_locl.h
+++ b/crypto/des/des_locl.h
@@ -26,10 +26,6 @@
# define ITERATIONS 16
# define HALF_ITERATIONS 8
-/* used in des_read and des_write */
-# define MAXWRITE (1024*16)
-# define BSIZE (MAXWRITE+4)
-
# define c2l(c,l) (l =((DES_LONG)(*((c)++))) , \
l|=((DES_LONG)(*((c)++)))<< 8L, \
l|=((DES_LONG)(*((c)++)))<<16L, \
@@ -60,7 +56,6 @@
* replacements for htonl and ntohl since I have no idea what to do when
* faced with machines with 8 byte longs.
*/
-# define HDRSIZE 4
# define n2l(c,l) (l =((DES_LONG)(*((c)++)))<<24L, \
l|=((DES_LONG)(*((c)++)))<<16L, \
@@ -87,7 +82,7 @@
} \
}
-# if (defined(OPENSSL_SYS_WIN32) && defined(_MSC_VER))
+# if defined(_MSC_VER)
# define ROTATE(a,n) (_lrotr(a,n))
# elif defined(__ICC)
# define ROTATE(a,n) (_rotr(a,n))