From: Nick Mathewson Date: Mon, 5 Apr 2004 20:52:16 +0000 (+0000) Subject: add more constants X-Git-Tag: tor-0.0.6incompat-merged~156 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=34633c11226ee9562602cb6fda15c77f2d0c98d3;p=thirdparty%2Ftor.git add more constants svn:r1488 --- 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