Date: Sat, 22 Sep 2012 11:19:08 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: RW <rwmaillists@googlemail.com> Cc: freebsd-security@freebsd.org Subject: Re: Collecting entropy from device_attach() times. Message-ID: <20120922091908.GB1454@garage.freebsd.pl> In-Reply-To: <20120919192836.3a60cdfd@gumby.homeunix.com> References: <20120918211422.GA1400@garage.freebsd.pl> <20120919192836.3a60cdfd@gumby.homeunix.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--FkmkrVfFsRoUs1wW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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: >=20 > > Hi. > >=20 >=20 > > The patch is here: > >=20 > > http://people.freebsd.org/~pjd/patches/harvest_device_attach.patch > >=20 > > Comments? > >=20 >=20 > + attachtime =3D get_cyclecount() - attachtime; >=20 > 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. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://tupytaj.pl --FkmkrVfFsRoUs1wW Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlBdgowACgkQForvXbEpPzT6LwCfQnX0XeMrJq57lGnxeFats/yo I6gAoOgyrhyRS4jBmCbwjAl9Ma6YzJFR =jesV -----END PGP SIGNATURE----- --FkmkrVfFsRoUs1wW--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120922091908.GB1454>