From 34633c11226ee9562602cb6fda15c77f2d0c98d3 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 5 Apr 2004 20:52:16 +0000 Subject: [PATCH] add more constants svn:r1488 --- src/common/crypto.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/common/crypto.h b/src/common/crypto.h index 44ea11f824..36bc21fcaa 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -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