[liberationtech] Random number generator failure in Rasperri Pis?
KheOps
kheops at ceops.eu
Fri Jul 19 05:31:57 PDT 2013
Hey,
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.
>>
>> http://scruss.com/blog/2013/06/07/well-that-was-unexpected-the-raspberry-pis-hardware-random-number-generator/
>
> 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,
KheOps
More information about the liberationtech
mailing list