Re: [PATCH RFC #2] hwrng: Add type categories

From: Pavel Machek
Date: Sun Jul 08 2007 - 09:00:37 EST


Hi!

> Instead of papering over the problem with borked solutions, maybe we should
> just export ALL HRNGs to userspace. While at it, please add whatever is
> needed so that userspace can talk to the kernel driver to get vital
> information about the HRNG device the driver might have (the current
> interface is a bad simplistic hack).
>
> Let userspace get the data from whichever HRNG it wants, process it in any
> way it wants and pipe it back through /dev/random IOCTLs. And let it do it
> for as many HRNGs it wants at the same time.

Hmm.... xor all available HRNGs together? That way you have random
data if you have at least one goot HRNG in your system :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/