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


Groups > linux.kernel > #1538388

Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG

From Herbert Xu <herbert@gondor.apana.org.au>
Newsgroups linux.kernel
Subject Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG
Date 2016-12-08 10:10 +0100
Message-ID <sM2Se-4hp-3@gated-at.bofh.it> (permalink)
References <sKZa1-3tB-3@gated-at.bofh.it> <sL0IN-4Aj-11@gated-at.bofh.it> <sL12a-4GU-17@gated-at.bofh.it> <sLJcR-8nG-9@gated-at.bofh.it> <sLJZf-db-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Dec 07, 2016 at 01:51:27PM +0100, Corentin Labbe wrote:
> 
> So I must expose it as a crypto_rng ?

If it is to be exposed at all then algif_rng would be the best
place.

> Could you explain why PRNG must not be used as hw_random ?

The hwrng interface was always meant to be an interface for real
hardware random number generators.  People rely on that so we
should not provide bogus entropy sources through this interface.

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

[PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-05 12:00 +0100
  Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-05 13:40 +0100
    Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-05 14:00 +0100
      Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-07 13:10 +0100
        Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-07 14:00 +0100
          Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Herbert Xu <herbert@gondor.apana.org.au> - 2016-12-08 10:10 +0100
            Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2016-12-08 10:30 +0100
              Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com> - 2016-12-08 12:10 +0100

csiph-web