News for hackers. Stuff that matters.
Re:On Linux's Random Number Generation by ben_bai on Saturday December 21, 2019 @05:00AM (#21850587)
So like the standard arc4random_buf(3) which everybody has except for Linux.

Don't worry the name is historic it does not us the arc4 cipher any longer, at least on OpenBSD. They switched to chacha20 as stream cipher.

Re:On Linux's Random Number Generation by dchest on Saturday December 21, 2019 @05:41AM (#21850683)
The interface is the same, but arc4random_buf is a user-space CSPRNG.

The analog of zx_cprng_draw is getentropy(2): http://man.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man2/... except zx_cprng_draw kills the process, while getentropy returns an error.

Re:On Linux's Random Number Generation by cyphar on Saturday December 21, 2019 @05:55AM (#21850723)
Linux has had getrandom(2) for quite a few years, and there are glibc wrappers which use it.