projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
des/des_locl.h: clean up unused/irrelevant macros.
[openssl.git]
/
crypto
/
des
/
des_locl.h
diff --git
a/crypto/des/des_locl.h
b/crypto/des/des_locl.h
index 53881d4175ea910b5d702f36d8c3dc31305709ee..3c08ce8e080a82aa1da77332ed966f097053c6e2 100644
(file)
--- a/
crypto/des/des_locl.h
+++ b/
crypto/des/des_locl.h
@@
-26,10
+26,6
@@
# define ITERATIONS 16
# define HALF_ITERATIONS 8
# 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, \
# 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.
*/
* 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, \
# 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))
# define ROTATE(a,n) (_lrotr(a,n))
# elif defined(__ICC)
# define ROTATE(a,n) (_rotr(a,n))