From owner-freebsd-security@FreeBSD.ORG Wed Oct 3 17:11:15 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 61A7F106566C; Wed, 3 Oct 2012 17:11:15 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id 14AC78FC17; Wed, 3 Oct 2012 17:11:11 +0000 (UTC) Received: from ds4.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 4419B6073; Wed, 3 Oct 2012 19:11:11 +0200 (CEST) Received: by ds4.des.no (Postfix, from userid 1001) id E26D0818A; Wed, 3 Oct 2012 19:11:10 +0200 (CEST) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: RW References: <20120918211422.GA1400@garage.freebsd.pl> <20120919231051.4bc5335b@gumby.homeunix.com> <20120920102104.GA1397@garage.freebsd.pl> <201209200758.51924.jhb@freebsd.org> <20120922080323.GA1454@garage.freebsd.pl> <20120922195325.GH1454@garage.freebsd.pl> <505E59DC.7090505@gmail.com> <20120923151706.GN1454@garage.freebsd.pl> <5060D723.6020305@gmail.com> <86r4pqqwnm.fsf@ds4.des.no> <86ipat6n0o.fsf@ds4.des.no> <86y5joiyan.fsf@ds4.des.no> <20121003011607.5553fe48@gumby.homeunix.com> <86txub93zo.fsf@ds4.des.no> <20121003145107.264e3174@gumby.homeunix.com> Date: Wed, 03 Oct 2012 19:11:10 +0200 In-Reply-To: <20121003145107.264e3174@gumby.homeunix.com> (RW's message of "Wed, 3 Oct 2012 14:51:07 +0100") Message-ID: <86iparmqfl.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: Anderson , Pawel Jakub Dawidek , John Baldwin , Laurie , Ben@FreeBSD.ORG, freebsd-security@freebsd.org, Mariusz Gromada , Jonathan@FreeBSD.ORG Subject: Re: Collecting entropy from device_attach() times. X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Oct 2012 17:11:15 -0000 RW writes: > Yes, getting a monotonically increasing value from binuptime() is > simple, but the xor issue is secondary to the problem I was referring > to when I quoted the arm code for get_cyclecount(). BTW, I just checked - the code you quoted does not exist / no longer exists anywhere in the tree. The arm implementation of get_cyclecount() uses the algorithm I suggested, with N =3D 56. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no