Search Mailing List Archives

Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[liberationtech] Random number generator failure in Rasperri Pis?

KheOps kheops at
Fri Jul 19 05:31:57 PDT 2013


Le 19/07/2013 14:22, Petter Ericson a écrit :
>> Just came accross this article, apparently showing the bad quality of
>> the hardware RNG in Raspberri Pi devices.
> I see nothing in the blog post indicating that the random data from the
> Pi HW is bad. Rather, he uses that to show how good random data should look,
> after which he implements RANDU to show how _not_ to do it.
> I have seen this being posted here and there as a "look, Pi HWrand bad"
> thing, but I have to wonder how many actually read the blog post, considering
> he even ran rngtest for a thousand runs with no failures on the output of /dev/hwrng

I might have read it and concluded too fast, and yes obviously he shows
how another implementation is failing.

But I see this:
sudo cat /dev/hwrng | rngtest -c 1000
which for me refers to the previously installed driver for RasPi

and then he says: "We were lucky that none of the tests failed for that
run; sometimes there are a few failures. RANDU, on the other hand fares
very badly"

Meaning that RANDU is really bad whereas the RasPi one would be ...
better but still failing to pass some tests in some occasions?

That's how I understood it,

More information about the liberationtech mailing list