Theodore Tso wrote:
Note that even paranoid applicatons should not be using /dev/random for session keys; again, /dev/random isn't magic, and entropy isn't unlimited. Instead, such an application should pull 16 bytes or so, and then use it to seed a cryptographic random number generator.
What good does using multiple levels of RNG do? Why seed one RNG from another? Wouldn't it be better to have just one RNG that everybody uses? Doesn't the act of reading from the RNG add entropy to it, since no one reader has any idea how often and at what times other readers are stirring the pool?
-- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Follow-Ups:
- RE: Why does reading from /dev/urandom deplete entropy so much?
- From: "David Schwartz" <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: "Ray Lee" <[email protected]>
- RE: Why does reading from /dev/urandom deplete entropy so much?
- References:
- Why does reading from /dev/urandom deplete entropy so much?
- From: Marc Haber <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Adrian Bunk <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Alan Cox <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Eric Dumazet <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Matt Mackall <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Marc Haber <[email protected]>
- Re: Why does reading from /dev/urandom deplete entropy so much?
- From: Theodore Tso <[email protected]>
- Why does reading from /dev/urandom deplete entropy so much?
- Prev by Date: Re: [PATCH 08/28] SECURITY: Allow kernel services to override LSM settings for task actions [try #2]
- Next by Date: Re: [PATCH] Intel Management Engine Interface
- Previous by thread: Re: Why does reading from /dev/urandom deplete entropy so much?
- Next by thread: Re: Why does reading from /dev/urandom deplete entropy so much?
- Index(es):