use 512 bits of entropy for secret DH exponents

This commit is contained in:
Andreas Steffen
2008-10-26 23:53:52 +00:00
parent 82d20c0588
commit 21a45f2f2d
4 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -279,7 +279,7 @@ extern const char sparse_end[];
"4009438B 481C6CD7 889A002E D5EE382B C9190DA6 FC026E47" \
"9558E447 5677E9AA 9E3050E2 765694DF C81F56E8 80B96E71" \
"60C980DD 98EDD3DF FFFFFFFF FFFFFFFF"
#define LOCALSECRETSIZE (256 / BITS_PER_BYTE)
#define LOCALSECRETSIZE (512 / BITS_PER_BYTE)
/* limits on nonce sizes. See RFC2409 "The internet key exchange (IKE)" 5 */
#define MINIMUM_NONCE_SIZE 8 /* bytes */