lkml.org 
[lkml]   [2000]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: /dev/random blocks forever on 2.2.12 and 2.2.16
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:58    [W:0.084 / U:0.140 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site