Re: /dev/random blocks forever on 2.2.12 and 2.2.16

From: Christoph Rohland (cr@sap.com)
Date: Fri Aug 11 2000 - 03:04:34 EST


Olaf Titz <olaf@bigred.inka.de> writes:

> > better to periodically get randomness from /dev/random, and then use
> > that as seeds for a cryptographically secure, pseudo-random number
> > generator.
>
> Isn't that basically what /dev/urandom does?
> (Yes I'm using urandom for session keys...)

To do that /dev/urandom should only be functional after getting some
seed from /dev/random. And it does not work like that. It will happily
give you data without anything from external sources.

Just my 2 cents
                Christoph

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Aug 15 2000 - 21:00:23 EST