From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 22:27:26 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CFBEA106566B for ; Wed, 9 Jul 2008 22:27:26 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4F3E28FC16 for ; Wed, 9 Jul 2008 22:27:20 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1KGi86-000539-VY for freebsd-questions@freebsd.org; Wed, 09 Jul 2008 22:27:19 +0000 Received: from 78-0-89-102.adsl.net.t-com.hr ([78.0.89.102]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jul 2008 22:27:18 +0000 Received: from ivoras by 78-0-89-102.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Jul 2008 22:27:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Ivan Voras Date: Thu, 10 Jul 2008 00:27:06 +0200 Lines: 50 Message-ID: References: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig59D13516FAA4D23302B7607B" X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78-0-89-102.adsl.net.t-com.hr User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) In-Reply-To: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> X-Enigmail-Version: 0.95.6 Sender: news Subject: Re: Which VIA CPUs have hardware RNG support? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jul 2008 22:27:26 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig59D13516FAA4D23302B7607B Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Joseph Gleason wrote: > I am trying to figure out which VIA CPUs support hardware RNG under > recent FreeBSD. I've been looking at things on 7.0-RELEASE-p2. If > there is something that else I should be looking at, please let me > know. >=20 > Based on 'man 4 random' I see: > "The only hardware implementation currently is for the > VIA C3 Nehemiah (stepping 3 or greater) CPU. More will be added i= n the > future." >=20 > Poking around in the kernel I see that indeed nehemiah and yarrow seem > to be the only random sources there. >=20 >>From 'usr/src/sys/i386/i386/initcpu.c': > SYSCTL_UINT(_hw, OID_AUTO, via_feature_rng, CTLFLAG_RD, > &via_feature_rng, 0, "VIA C3/C7 RNG feature available in CPU");= >=20 > Based on all this and some reading on wikipedia, my best guess is that > C3 Nehemiah and later and all C7 support the hardware RNG. Can anyone > confirm this? If you don't get any answers here, try freebsd-hardware@ mailing list. AFAIK (I don't have the hardware), the source is correct and C7 is also=20 supported. I'd be glad to hear if anyone confirms it. --------------enig59D13516FAA4D23302B7607B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdTs7ldnAQVacBcgRAsKdAJ43iVze3lVZMOiW+M9rlz2/FC869ACeJW4z /7GMQuhSwPijybBaUZC9XTE= =lMlm -----END PGP SIGNATURE----- --------------enig59D13516FAA4D23302B7607B--