From owner-freebsd-questions@FreeBSD.ORG Wed Jul 9 15:56:21 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 4CAC2106564A for ; Wed, 9 Jul 2008 15:56:21 +0000 (UTC) (envelope-from fireduck@gmail.com) Received: from wr-out-0506.google.com (wr-out-0506.google.com [64.233.184.235]) by mx1.freebsd.org (Postfix) with ESMTP id 0BF548FC0A for ; Wed, 9 Jul 2008 15:56:20 +0000 (UTC) (envelope-from fireduck@gmail.com) Received: by wr-out-0506.google.com with SMTP id c8so1168827wra.27 for ; Wed, 09 Jul 2008 08:56:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=sutTvj7T+6Gf+ZHqH4OvZA2C5GhqkX41nWE2zII6OTk=; b=Tb1kuex4sVTP/8K2+SHueZlZQIf4s8epeM0ja64+/g2Kt87j/guvNfKykvNfcNNfC9 GBBQjKMKBeWRteD2nUxOFqi5eX+OjFJl8k15UcOQRZZoqEUSfdFgx9kRSa/4ibGewZlT TIilRlIZhFsY16G2Xo9FmHjArZnwwHpXvaOs4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=lJIA9slRLrk87vN2bW3PXMobbiPLM7jX+ei1EmM/S4FzIN8jjUwwUXf5VVWcnMKlSK EhJ7ZkxXKQY7KwtJsqKzePTaF29pdh+AqJznTRzCyWAg9NiFhWR6Z4FI8RZREv0BvZm7 tUaljmHkQPkFF6iMvLcPqSPcyX8sgNzHbaj8A= Received: by 10.101.70.15 with SMTP id x15mr6423267ank.126.1215617496151; Wed, 09 Jul 2008 08:31:36 -0700 (PDT) Received: by 10.100.38.15 with HTTP; Wed, 9 Jul 2008 08:31:36 -0700 (PDT) Message-ID: <7956f3200807090831u1bd6bfddxf78517ae46a32b95@mail.gmail.com> Date: Wed, 9 Jul 2008 11:31:36 -0400 From: "Joseph Gleason" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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 15:56:21 -0000 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?