Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 Jul 2008 00:27:06 +0200
From:      Ivan Voras <ivoras@freebsd.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Which VIA CPUs have hardware RNG support?
Message-ID:  <g53dvt$f24$1@ger.gmane.org>
In-Reply-To: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com>
References:  <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?g53dvt$f24$1>