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


Groups > linux.kernel > #1671404

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

From Maxime Ripard <maxime.ripard@free-electrons.com>
Newsgroups linux.kernel
Subject Re: [PATCH] crypto: sun4i-ss: support the Security System PRNG
Date 2017-06-21 08:50 +0200
Message-ID <tUHCG-2z2-15@gated-at.bofh.it> (permalink)
References <tUnkE-6DB-65@gated-at.bofh.it> <tUo71-6Xh-55@gated-at.bofh.it> <tUpPr-84z-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Tue, Jun 20, 2017 at 01:45:36PM +0200, Corentin Labbe wrote:
> On Tue, Jun 20, 2017 at 11:59:47AM +0200, Maxime Ripard wrote:
> > Hi,
> > 
> > On Tue, Jun 20, 2017 at 10:58:19AM +0200, Corentin Labbe wrote:
> > > The Security System have a PRNG, this patch add support for it via
> > > crypto_rng.
> > 
> > This might be a dumb question, but is the CRYPTO_RNG code really
> > supposed to be used with PRNG?
> > 
> 
> Yes, see recently added drivers/crypto/exynos-rng.c

It's still not really clear from the commit log (if you're talking
about c46ea13f55b6) why and if using the RNG code for a PRNG is a good
idea.

Maxime

-- 
Maxime Ripard, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com

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


Thread

[PATCH] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-20 11:10 +0200
  Re: [PATCH] crypto: sun4i-ss: support the Security System PRNG Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-06-20 12:00 +0200
    Re: [PATCH] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe <clabbe.montjoie@gmail.com> - 2017-06-20 13:50 +0200
      Re: [PATCH] crypto: sun4i-ss: support the Security System PRNG Maxime Ripard <maxime.ripard@free-electrons.com> - 2017-06-21 08:50 +0200
        Re: [PATCH] crypto: sun4i-ss: support the Security System PRNG Herbert Xu <herbert@gondor.apana.org.au> - 2017-06-22 01:50 +0200

csiph-web