From owner-freebsd-current@FreeBSD.ORG Wed May 7 18:02:39 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC76A231; Wed, 7 May 2014 18:02:39 +0000 (UTC) Received: from gromit.grondar.org (grandfather.grondar.org [IPv6:2a01:348:0:15:5d59:5c20:0:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B312D99B; Wed, 7 May 2014 18:02:39 +0000 (UTC) Received: from graveyard.grondar.org ([88.96.155.33] helo=gronkulator.grondar.org) by gromit.grondar.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80.1 (FreeBSD)) (envelope-from ) id 1Wi6Ar-000HXO-5L; Wed, 07 May 2014 19:02:37 +0100 From: Mark R V Murray Content-Type: multipart/signed; boundary="Apple-Mail=_61D4327C-1CB9-4B28-93F7-F372400F550C"; protocol="application/pgp-signature"; micalg=pgp-sha512 Message-Id: Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Date: Wed, 7 May 2014 19:02:52 +0100 Subject: Fwd: New /dev/random code for review please. References: <64478E8F-ED98-43C2-99BC-167356D3E367@grondar.org> To: FreeBSD Current X-Mailer: Apple Mail (2.1874) X-SA-Score: -1.0 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2014 18:02:40 -0000 --Apple-Mail=_61D4327C-1CB9-4B28-93F7-F372400F550C Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 Hi Folks, Please could the wisdom-of-crowds apply its collective attention to = this? Thanks! M Begin forwarded message: > From: Mark R V Murray > Subject: New /dev/random code for review please. > Date: 4 May 2014 18:28:43 BST > To: "secteam@freebsd.org Team" > Content-Type: multipart/signed; = boundary=3D"Apple-Mail=3D_E0FAF9BA-F43A-41EC-ADF7-C7F66942DC33"; = protocol=3D"application/pgp-signature"; micalg=3Dpgp-sha512 > X-Smtp-Server: gromit.grondar.org:grondar > X-Universally-Unique-Identifier: 57DA4E05-F926-490F-811D-27C027A43800 > Message-Id: <64478E8F-ED98-43C2-99BC-167356D3E367@grondar.org> > Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) >=20 > Hi guys >=20 > I=92m now about ready to start the job of merging the revamped = /dev/random gubbins over to CURRENT from a project branch. >=20 > The project branch is = svn://svn.freebsd.org/base/projects/random_number_generator >=20 > Not all of the above branch is to be merged right now; the UMA_ALLOC = harvester bit will NOT be merged. In follow-up discussions, I will work = out how to do this properly. Right now, that code works, but will no = doubt piss off RWatson and company for messing up the carefully = optimised slab allocator! :-) >=20 > In the first merge, very little change should be observed. =91sysctl = kern.random=92 will look different as the harvesting has been slightly = generalised. Yarrow will still be used, but Fortuna will be available as = an alternative. Automatic startup due to probing entropy is tested and = more-or-less trusted (analysis of numbers to form part of a more = academic study). >=20 > The code is much simplified, and use of overly complex data structures = has been rewritten. >=20 > I request review and comments please, with a view to merging this to = CURRENT. >=20 > Thanks! >=20 > M > --=20 > Mark R V Murray >=20 --=20 Mark R V Murray --Apple-Mail=_61D4327C-1CB9-4B28-93F7-F372400F550C Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) Comment: GPGTools - http://gpgtools.org iQCVAwUBU2p1Ud58vKOKE6LNAQqjGwP7Bx7gFMReN0KMZnf3hlo+D4DcvGpl6Gi2 ESmPW+XOolzzjkBPx39YUPwimaSz1jqVS9l355i9p6pFWCYZgh7XITG7m7SEMS30 4q1NFcH7c4HHZLyw58V1bsTeYoE9TKa+iLQ4y7s23BEBX1Bx4eHKQxCHU6vfS6La eAQZTkM18+w= =xLgE -----END PGP SIGNATURE----- --Apple-Mail=_61D4327C-1CB9-4B28-93F7-F372400F550C--