[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <5257A320.1070207@ladisch.de>
Date: Fri, 11 Oct 2013 09:05:04 +0200
From: Clemens Ladisch <clemens@...isch.de>
To: Stanimir Varbanov <svarbanov@...sol.com>,
"H. Peter Anvin" <hpa@...or.com>
CC: Theodore Ts'o <tytso@....edu>,
Rob Herring <rob.herring@...xeda.com>,
Pawel Moll <pawel.moll@....com>,
Mark Rutland <mark.rutland@....com>,
Stephen Warren <swarren@...dotorg.org>,
Ian Campbell <ijc+devicetree@...lion.org.uk>,
Matt Mackall <mpm@...enic.com>,
Herbert Xu <herbert@...dor.hengli.com.au>,
linux-kernel@...r.kernel.org, Rob Landley <rob@...dley.net>,
devicetree@...r.kernel.org, linux-doc@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-arm-msm@...r.kernel.org
Subject: Re: [PATCH 0/2] Add support for Qualcomm's PRNG
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists