You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some platforms have a getentropy() call for retrieving randomly generated data, Linux has recently added getrandom(), an equivalent call. s2n should support these where available and avoid using /dev/urandom.
The text was updated successfully, but these errors were encountered:
Beware, as the name indicates getentropy(2) is a source of entropy not a direct source of randomness. getentropy(2) data should be fed into a PRNG, not used directly as randomness as the man page indicates:
getentropy() is not intended for regular code; please use the arc4random(3) family of functions instead.
Some platforms have a getentropy() call for retrieving randomly generated data, Linux has recently added getrandom(), an equivalent call. s2n should support these where available and avoid using /dev/urandom.
The text was updated successfully, but these errors were encountered: