[or-cvs] add more constants
Nick Mathewson
nickm at seul.org
Mon Apr 5 20:52:18 UTC 2004
Update of /home/or/cvsroot/src/common
In directory moria.mit.edu:/tmp/cvs-serv21857/src/common
Modified Files:
crypto.h
Log Message:
add more constants
Index: crypto.h
===================================================================
RCS file: /home/or/cvsroot/src/common/crypto.h,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -d -r1.36 -r1.37
--- crypto.h 5 Apr 2004 17:36:30 -0000 1.36
+++ crypto.h 5 Apr 2004 20:52:16 -0000 1.37
@@ -12,7 +12,9 @@
#define CIPHER_IV_LEN 0
#define PK_BITS 1024
#define PK_BYTES (PK_BITS/8)
-#define CRYPTO_DH_SIZE (1024 / 8)
+#define DH_BITS 1024
+#define DH_BYTES (DH_BITS/8)
+#define CRYPTO_DH_SIZE DH_BYTES
#define PK_NO_PADDING 60000
#define PK_PKCS1_PADDING 60001
More information about the tor-commits
mailing list