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
@@ -217,6 +217,7 @@ openssl_diffie_hellman_t *openssl_diffie_hellman_create(diffie_hellman_group_t g
free(this);
return NULL;
}
this->dh->length = DH_EXPONENT_ENTROPY_SIZE;
this->group = group;
this->computed = FALSE;