Re: [PATCH v1] crypto: caam - set hwrng quality level

From: Herbert Xu
Date: Wed Aug 02 2017 - 23:17:21 EST

On Wed, Aug 02, 2017 at 02:03:14PM +0000, Horia GeantÄ wrote:
> Take CAAM's engine HWRNG: it can work both as a TRNG and as a
> TRNG-seeded DRBG (that's how it's currently configured).
> IIUC, both setups are fit as source for the entropy pool.

So which is it? If it's a DRBG then it should not be exposed through
the hwrng interface. Only TRNG should go through hwrng. DRBGs
can use the crypto rng API.

Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page:
PGP Key: