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
+5
View File
@@ -40,6 +40,11 @@
*/
#define BUF_LEN 512
/**
* Entropy in bits of secret Diffie-Hellman exponents
*/
#define DH_EXPONENT_ENTROPY_SIZE 512
/**
* Macro compares two strings for equality
*/