[PATCH] API for true Random Number Generators to add entropy (2.6.11)

Jeff Garzik jgarzik at pobox.com
Thu Mar 24 04:33:00 UTC 2005


On Thu, Mar 24, 2005 at 02:27:08PM +1000, David McCullough wrote:
> 
> Hi all,
> 
> Here is a small patch for 2.6.11 that adds a routine:
> 
> 	add_true_randomness(__u32 *buf, int nwords);
> 
> so that true random number generator device drivers can add a entropy
> to the system.  Drivers that use this can be found in the latest release
> of ocf-linux,  an asynchronous crypto implementation for linux based on
> the *BSD Cryptographic Framework.
> 
> 	http://ocf-linux.sourceforge.net/
> 
> Adding this can dramatically improve the performance of /dev/random on
> small embedded systems which do not generate much entropy.

We've already had hardware RNG support for a while now.

No kernel patching needed.

	Jeff





More information about the CryptoAPI mailing list