Re: [PATCH 0/2] Add support for Qualcomm's PRNG
From: Clemens Ladisch
Date: Fri Oct 11 2013 - 03:05:18 EST
Stanimir Varbanov wrote:
> I ran the rngtest with following command line:
>
> # cat /dev/hw_random | rngtest -c 100000
> ...
> rngtest: bits received from input: 2000000032
> rngtest: FIPS 140-2 successes: 99925
> rngtest: FIPS 140-2 failures: 75
> ...
>
> Could you guys comment those results?
These tests are expected to fail a few times even for perfectly random
data (think monkeys/Shakespeare). An entropy source will be permanently
disabled by rngd only if the failure ratio is worse than 1 in 1000.
Regards,
Clemens
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/