Which VIA CPUs have hardware RNG support?

Ivan Voras ivoras at freebsd.org
Wed Jul 9 22:27:26 UTC 2008


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.
> 
> 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 in the
>      future."
> 
> Poking around in the kernel I see that indeed nehemiah and yarrow seem
> to be the only random sources there.
> 
>>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");
> 
> 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 
supported. I'd be glad to hear if anyone confirms it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20080709/ecb737f9/signature.pgp


More information about the freebsd-questions mailing list