Messages in this thread | | | From | Keith Packard <> | Subject | Re: [PATCH] hwrng: core - Allow for multiple simultaneous active hwrng devices | Date | Tue, 09 Aug 2016 16:26:30 -0700 |
| |
Henrique de Moraes Holschuh <hmh@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 [unhandled content-type:application/pgp-signature] | |