]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
add more constants
authorNick Mathewson <nickm@torproject.org>
Mon, 5 Apr 2004 20:52:16 +0000 (20:52 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 5 Apr 2004 20:52:16 +0000 (20:52 +0000)
svn:r1488

src/common/crypto.h

index 44ea11f824371cecb3ae526774fb51f77c6f36f5..36bc21fcaa4774424682dac15e86e41ecc8ad582 100644 (file)
@@ -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