[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <86bn11r0bd.fsf@hiro.keithp.com>
Date: Tue, 09 Aug 2016 16:26:30 -0700
From: Keith Packard <keithp@...thp.com>
To: Henrique de Moraes Holschuh <hmh@....eng.br>,
Jason Cooper <jason@...edaemon.net>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] hwrng: core - Allow for multiple simultaneous active hwrng devices
Henrique de Moraes Holschuh <hmh@....eng.br> writes:
> IMHO, this is mightly annoying to use from inside a rngd-like utility in
> a race-free, safe way. It looks to me that ioctl() would be a much
> better interface for everything but the "enabled" functionality (which
> should be reported to the rngd-like utility as open() on the real device
> failing with, e.g., ENXIO, when that source is disabled).
What information does an rngd-like program actually want? All I can
think that it would need is the stream of random data. I guess some
estimate of the entropy available would be nice, but surely it would
want to verify that in any case.
--
-keith
Download attachment "signature.asc" of type "application/pgp-signature" (811 bytes)
Powered by blists - more mailing lists