On Mon, May 12, 2014 at 03:00:23AM -0700, harika_n wrote: > I am using RAND_bytes function to generate cryptographically secure random > numbers. I want to know if it uses Hash based DRBG or HMAC based DRBG. If it > uses Hash based DRBG what is the underlying hash function used? I looked at > the source code and found that it uses some MD function but I could not find > which MD it is using.
Depending on what random generator engine is used. The default builtin one is a hash based DRBG. crypto/rand/rand_lcl.h ... the default MD is SHA1. Ciao, Marcus ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List openssl-users@openssl.org Automated List Manager majord...@openssl.org