[PATCH] getrandom: new applet

Denys Vlasenko vda.linux at googlemail.com
Tue Jul 5 20:08:59 UTC 2016


On Tue, Jul 5, 2016 at 1:42 PM, Etienne Champetier
<champetier.etienne at gmail.com> wrote:
> not exactly, as i said in my mail of 29 june 2016 at 17:04:
> you have
> - /dev/urandom, which never block
> - getrandom(), which block until /dev/urandom is properly initialized
> (system wide), then never block again and read from /dev/urandom
> - /dev/random, which only start it initialization after getrandom()
> unblock, and block when it estimates entropy is low

It's confusing. Why getrandom() unblocks sooner than /dev/random?
>From what I read, both are "cryptographically secure"
and use the same entropy pool?


More information about the busybox mailing list