[openssl-users] DH_generate_key Hangs
Michael Wojcik
Michael.Wojcik at microfocus.com
Fri Oct 6 13:33:21 UTC 2017
> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf Of Jason Qian via openssl-users
> Sent: Friday, October 06, 2017 07:14
> The challenge is that, we are not directly calling RAND_poll(). We just call DH_generate_key for DH key.
> From the following call stacks, you can see the RAND_poll() is triggered by ssleay_rand_bytes.
RAND_poll is being called because the PRNG does not have enough entropy. Seed it with sufficient entropy first, and it won't be called by DH_generate_key.
--
Michael Wojcik
Distinguished Engineer, Micro Focus
More information about the openssl-users
mailing list