Hello,

In the documentation it is written: "The pseudo-random number generator must be seeded prior to calling RSA_generate_key_ex()".

After reading the documentation in https://wiki.openssl.org/index.php/Random_Numbers and investigating the source code, it seems that the seeding is in fact done automatically from /dev/random in systems that have it. Also, when examining the source code of apps/genrsa.c there does not seem to be any explicit seeding either.

Do I still need to explicitly seed before calling RSA_generate_key_ex?

Best
Andres

--
openssl-users mailing list
To unsubscribe: https://mta.openssl.org/mailman/listinfo/openssl-users

Reply via email to