[openssl-users] RAND_bytes() Properly Reseeding

Michael Wojcik Michael.Wojcik at microfocus.com
Tue Oct 4 12:33:37 UTC 2016

> From: openssl-users [mailto:openssl-users-bounces at openssl.org] On Behalf
> Of Robert Schmicker
> Sent: Sunday, October 02, 2016 12:21
> I’m a little unsure on the recommended way to properly reseed the
> RAND_bytes() function. My output provides random numbers, but only the
> first 16 bytes. The output of byte 16 and on is just some period of the first 16
> bytes and therefore has several duplicated numbers.

Do you have a small program that demonstrates the problem?

Michael Wojcik 
Distinguished Engineer, Micro Focus 

More information about the openssl-users mailing list