Messages in this thread | | | Date | Thu, 12 Sep 2013 20:00:11 -0400 | From | Jörn Engel <> | Subject | Re: [PATCH] /dev/random: Insufficient of entropy on many architectures |
| |
On Thu, 12 September 2013 19:35:36 -0400, Jörn Engel wrote: > > I think the existing code is doing just fine for low interrupt loads. > It makes sense to spend a bit more work to squeeze the last bit of > randomness out. But when you get lots of interrupts, you can be > sloppy and just xor things into the pool.
Btw, if we make collection cheap enough, we can start collecting entropy from the scheduler. Computers are fairly deterministic, but not that much. The exact time when calling schedule(), the kernel stack pointer and the userspace stack pointer all contain a bit of entropy. Particularly on machines that lack input and disk randomness I would expect some benefits from this.
Jörn
-- Audacity augments courage; hesitation, fear. -- Publilius Syrus -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |