On Wed, Sep 19, 2012 at 07:28:36PM +0100, RW wrote:
> On Tue, 18 Sep 2012 23:14:22 +0200
> Pawel Jakub Dawidek wrote:
> 
> > Hi.
> > 
> 
> > The patch is here:
> > 
> >     http://people.freebsd.org/~pjd/patches/harvest_device_attach.patch
> > 
> > Comments?
> > 
> 
> +     attachtime = get_cyclecount() - attachtime;
> 
> the above line is redundant since random_harvest() already contains a
> call to get_cyclecount().

Agreed, although in more recent patch I need total time, so I can
calculate how many bits it has, so I can estimate how much entropy there
is.

-- 
Pawel Jakub Dawidek                       http://www.wheelsystems.com
FreeBSD committer                         http://www.FreeBSD.org
Am I Evil? Yes, I Am!                     http://tupytaj.pl

Attachment: pgpeIpf4Wf8zl.pgp
Description: PGP signature

Reply via email to