Re: [PATCH] [3/4] /dev/random: Use separate entropy store for /dev/urandom

From: Theodore Ts'o
Date: Sun Aug 29 2004 - 21:12:42 EST


On Sat, Aug 28, 2004 at 12:29:40PM +0200, Balint Marton wrote:
> Hi,
>
> After using this patch, an already resolved bug returned (Tested with
> 2.6.9-rc1-bk3). For the old bug, see this thread (get_random_bytes returns
> the same on every boot):
> http://marc.theaimsgroup.com/?l=linux-kernel&m=109053711812560&w=2
>
> Now the situation is almost the same, except we read from the urandom pool
> this time. The urandom pool is only cleared, and not initialized, and
> because there is nothing in the primary pool, the reseeding is not
> successful. The solution is also the same, initialize not just the primary
> and secondary, but also the urandom pool:

Yes, good point. Thanks. I'll make sure this gets pushed to Andrew/Linus.

- Ted
-
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/