Date: Wed, 20 Jul 2016 16:11:44 +0800 From: Jia-Shiun Li <jiashiun@gmail.com> To: Steve Kiernan <stevek@juniper.net> Cc: "Jukka A. Ukkonen" <jau789@gmail.com>, "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: Random number generator on rpi Message-ID: <CAHNYxxNwK55Sh2dv1XL5_r1p6rurTksZXmBpLhSKVYhtx_oBtA@mail.gmail.com> In-Reply-To: <20160718115455.10fa95bb@juniper.net> References: <CAHNYxxP8fqEdXsL2Jwu-=P4g9_w5P2pnJ-yOvtU1ssEP4ZpqCQ@mail.gmail.com> <5d8ec4d4-4c36-139d-6102-4fdb200fdf65@gmail.com> <CAHNYxxPQtyXZU4%2ByNAVEDPu60mpK87O-4xcCuniCW576-meY0g@mail.gmail.com> <790435eb-f3fc-8d4c-4231-e3cfbf93157b@gmail.com> <20160718115455.10fa95bb@juniper.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jul 18, 2016 at 11:54 PM, Steve Kiernan <stevek@juniper.net> wrote: > > You might want to see my RPi rng driver review up on Phabricator. > It is interrupt driven, which keeps the CPU utilization down to a fraction > of a percent, whereas using a callout or other method easily consumes much > more of the CPU. > > The review is here: > https://reviews.freebsd.org/D6888 > > Note that for RBG (random bit generator) like the one in the RPi, they are > not really RNGs themselves but random bit sources that must be processed > by other algorithms to generate random numbers. So even if one were to grab > the data to test for "randomness", one would need to not assume the rndtest > would necessarily be appropriate, since the values returned by the RBG are > not to be used directly as random numbers without post-processing. > > -Steve > I saw it committed yesterday. Great & thanks! BTW does it have any other document other than http://pastehtml.com/view/crkxyohmp.rtxt as mentioned in https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=19334&start=275 ? I cannot find any other source of info other than linux source and the above link... -Jia-Shiun.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHNYxxNwK55Sh2dv1XL5_r1p6rurTksZXmBpLhSKVYhtx_oBtA>