Closed cemeyer closed 4 years ago
Libsodium uses getrandom(2) on recent (2018/12 and newer) versions of FreeBSD, as well as recent versions of Linux. So amend the text, which previously incorrectly suggested /dev/urandom was used on FreeBSD.
/dev/urandom
https://github.com/jedisct1/libsodium/blob/master/src/libsodium/randombytes/internal/randombytes_internal_random.c#L35-L38
Thanks,
Libsodium uses getrandom(2) on recent (2018/12 and newer) versions of FreeBSD, as well as recent versions of Linux. So amend the text, which previously incorrectly suggested
/dev/urandom
was used on FreeBSD.https://github.com/jedisct1/libsodium/blob/master/src/libsodium/randombytes/internal/randombytes_internal_random.c#L35-L38