看板 FB_security 關於我們 聯絡資訊
--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--