Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1702655

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

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v1] crypto: caam - set hwrng quality level
Date 2017-08-03 05:20 +0200
Message-ID <uaeQ2-2rm-9@gated-at.bofh.it> (permalink)
References (2 earlier) <u50b1-2KR-27@gated-at.bofh.it> <u50un-2TW-35@gated-at.bofh.it> <u51JM-3Ue-27@gated-at.bofh.it> <u5jnl-7Tm-29@gated-at.bofh.it> <ua2vw-2qm-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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.

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

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: [PATCH v1] crypto: caam - set hwrng quality level Horia Geantă <horia.geanta@nxp.com> - 2017-08-02 16:10 +0200
  Re: [PATCH v1] crypto: caam - set hwrng quality level Herbert Xu <herbert@gondor.apana.org.au> - 2017-08-03 05:20 +0200
    Re: [PATCH v1] crypto: caam - set hwrng quality level Horia Geantă <horia.geanta@nxp.com> - 2017-08-03 09:50 +0200
      Re: [PATCH v1] crypto: caam - set hwrng quality level Oleksij Rempel <ore@pengutronix.de> - 2017-08-03 11:30 +0200
      Re: [PATCH v1] crypto: caam - set hwrng quality level Herbert Xu <herbert@gondor.apana.org.au> - 2017-08-09 07:00 +0200

csiph-web