diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-05-07 02:28:42 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-05-07 02:28:42 +0000 |
commit | 445cd8f0f132c44c2d4cc8dd94579edead849eec (patch) | |
tree | 7464552a7c8bf0811c4bd4c268e51a0a03384aa4 /src/or/or.h | |
parent | d0ff485e1b36e07d1edecdc6c454d636dea99061 (diff) | |
download | tor-445cd8f0f132c44c2d4cc8dd94579edead849eec.tar tor-445cd8f0f132c44c2d4cc8dd94579edead849eec.tar.gz |
Decrease DH group length to 1024. (Roger, you may want to read section 1 of the IETF draft: a 1024-bit DH key probably reduces our cipher strength to ~80 bits.)
svn:r269
Diffstat (limited to 'src/or/or.h')
-rw-r--r-- | src/or/or.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/or.h b/src/or/or.h index fd289c3b7..fac26daac 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -354,8 +354,8 @@ struct crypt_path_t { }; -#define DH_KEY_LEN 192 -#define DH_ONIONSKIN_LEN 208 +#define DH_KEY_LEN CRYPTO_DH_SIZE +#define DH_ONIONSKIN_LEN DH_KEY_LEN+16 typedef struct crypt_path_t crypt_path_t; |