Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/pci



Thor Lancelot Simon <tls%NetBSD.org@localhost> writes:

> Module Name:  src
> Committed By: tls
> Date:         Tue Aug 12 09:46:48 UTC 2003
> 
> Modified Files:
>       src/sys/dev/pci: amdpm.c
> 
> Log Message:
> Remove RND_FLAG_NO_ESTIMATE and comment claiming we can't estimate (which
> means "count", in this context) the entropy we're adding because we poll the
> device periodically.  Sure, we poll it periodically, but it's a hardware
> RNG -- the data returned should be random no matter when we read the
> register!
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.5 -r1.6 src/sys/dev/pci/amdpm.c

What do you mean?  RND_FLAG_NO_ESTIMATE doesn't mean not to count, and
entropy is actually added to the pool.

enami.



Home | Main Index | Thread Index | Old Index