summaryrefslogtreecommitdiff
path: root/sysdep/unix/random.c
AgeCommit message (Collapse)Author
2021-06-06sysdep: Add wrapper to get random bytes - updateOndrej Zajicek (work)
Simplify the code and fix an issue with getentropy() return value.
2021-06-06sysdep: Add wrapper to get random bytesToke Høiland-Jørgensen
Add a wrapper function in sysdep to get random bytes, and required checks in configure.ac to select how to do it. The configure script tries, in order, getrandom(), getentropy() and reading from /dev/urandom.
2000-06-05Split random number functions off io.c, so that they can be documentedMartin Mares
separately.