Open Sc00bz opened 5 years ago
LibreSSL's getentropy_urandom() calls gotdata() which checks if the data is not all zeros. If you are calling this for short random integers, then all zeros is a very possible random value.
getentropy_urandom()
gotdata()
LibreSSL's
getentropy_urandom()
callsgotdata()
which checks if the data is not all zeros. If you are calling this for short random integers, then all zeros is a very possible random value.