Re: [PATCH 3/3] hwrng: msm - Add support for prng v2

From: Herbert Xu
Date: Sun Jul 01 2018 - 02:28:00 EST


On Fri, Jun 29, 2018 at 02:07:32PM +0530, Vinod wrote:
>
> I think Stan did bring this point earlier that PRNG is compliant to
> FIPS-140-2. So it can be used by rng clients for various purposes but
> should not be fed to dev/random as the hw_random does.
>
> Herbert, can you please confirm..

Yes this is a PRNG. A hardware RNG should return 1 bit of entropy
per bit of output.

Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt