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

Jeff Garzik jgarzik at pobox.com
Thu Mar 24 05:17:06 UTC 2005


Andrew Morton wrote:
> David McCullough <davidm at snapgear.com> wrote:
> 
>>Here is a small patch for 2.6.11 that adds a routine:
>>
>> 	add_true_randomness(__u32 *buf, int nwords);
> 
> 
> It neither applies correctly nor compiles in current kernels.  2.6.11 is
> very old in kernel time.

Hrm.  This is getting pretty lame, if you can't take patches from the 
-latest- stable release.  It's pretty easy in BK:

	bk clone -ql -rv2.6.11 linux-2.6 rng-2.6.11
	cd rng-2.6.11
	{ apply patch }
	bk pull ../linux-2.6

Can you set up something like that?


> Are we likely to see any in-kernel users of this?

We already have a hardware RNG system.  This is completely unneeded.

	Jeff




More information about the CryptoAPI mailing list