On Tue, Dec 21, 2010 at 08:36:35PM +0100, Kurt Knochner wrote:

> 2010/12/21 Otto Moerbeek <o...@drijf.net>:
> >> get_random_bytes() calls extract_entropy() which is a a loop around nbytes,
> >> thus get_random_bytes() will most certainly deliver enough entropy.
> >
> > extract_entropy() does not guarantee the collected bytes will have
> > enough entropy. Think about situations very early in machine startup,
> > where the state of things could be predictable.
> 
> O.K. I see... But isn't the value of nanotime() kind of "predictable" as well?

Yes, predictable, but different for each call.

        -Otto

Reply via email to