Hello,

RAND_bytes() will use the proper OS-provided RNG e.g. /dev/urandom or
/dev/randomon Linux and CryptGenRandom() on Windows.

I want to know how it works in Pre-boot environement?

In pre-boot environment, if RAND_bytes() returns zero then what does it
mean?

Is it because PRNG is not properly seeded? If yes, how to resolve it?


~Baban

Reply via email to