Re: [PATCH v1] crypto: caam - set hwrng quality level
From: Herbert Xu
Date: Wed Aug 09 2017 - 00:57:12 EST
On Thu, Aug 03, 2017 at 07:48:51AM +0000, Horia GeantÄ wrote:
>
> Right now it's configured as a DRBG.
> If I read correctly, it doesn't matter it's using the internal TRNG for
> (automated) seeding, it still shouldn't use hwrng.
> This means it's broken since the very beginning:
> e24f7c9e87d4 crypto: caam - hwrng support
Right. If it can be switched over to a TRNG then we should do that.
Otherwise it should be converted over to use the crypto rng API.
Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt