All of lore.kernel.org
 help / color / mirror / Atom feed
From: Corentin Labbe <clabbe.montjoie@gmail.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: davem@davemloft.net, maxime.ripard@free-electrons.com,
	wens@csie.org, linux-kernel@vger.kernel.org,
	linux-crypto@vger.kernel.org,
	linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG
Date: Mon, 5 Dec 2016 13:57:38 +0100	[thread overview]
Message-ID: <20161205125738.GA13525@Red> (raw)
In-Reply-To: <20161205123705.GA10732@gondor.apana.org.au>

On Mon, Dec 05, 2016 at 08:37:05PM +0800, Herbert Xu wrote:
> On Mon, Dec 05, 2016 at 11:48:42AM +0100, Corentin Labbe wrote:
> > From: LABBE Corentin <clabbe.montjoie@gmail.com>
> > 
> > The Security System have a PRNG.
> > This patch add support for it as an hwrng.
> > 
> > Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> 
> Please don't add PRNGs to hwrng.  If we have existing PRNGs in
> there please let me know so that we can remove them.
> 

So how to expose PRNG to user space ? or more generally how to "use" a PRNG ?

I found hisi-rng, crypto4xx_ and exynos-rng which seems to be PRNG used as hwrng.

Regards

WARNING: multiple messages have this Message-ID (diff)
From: clabbe.montjoie@gmail.com (Corentin Labbe)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG
Date: Mon, 5 Dec 2016 13:57:38 +0100	[thread overview]
Message-ID: <20161205125738.GA13525@Red> (raw)
In-Reply-To: <20161205123705.GA10732@gondor.apana.org.au>

On Mon, Dec 05, 2016 at 08:37:05PM +0800, Herbert Xu wrote:
> On Mon, Dec 05, 2016 at 11:48:42AM +0100, Corentin Labbe wrote:
> > From: LABBE Corentin <clabbe.montjoie@gmail.com>
> > 
> > The Security System have a PRNG.
> > This patch add support for it as an hwrng.
> > 
> > Signed-off-by: Corentin Labbe <clabbe.montjoie@gmail.com>
> 
> Please don't add PRNGs to hwrng.  If we have existing PRNGs in
> there please let me know so that we can remove them.
> 

So how to expose PRNG to user space ? or more generally how to "use" a PRNG ?

I found hisi-rng, crypto4xx_ and exynos-rng which seems to be PRNG used as hwrng.

Regards

  reply	other threads:[~2016-12-05 12:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-05 10:48 [PATCH v2] crypto: sun4i-ss: support the Security System PRNG Corentin Labbe
2016-12-05 10:48 ` Corentin Labbe
2016-12-05 10:48 ` Corentin Labbe
2016-12-05 12:37 ` Herbert Xu
2016-12-05 12:37   ` Herbert Xu
2016-12-05 12:57   ` Corentin Labbe [this message]
2016-12-05 12:57     ` Corentin Labbe
2016-12-07 12:09     ` Herbert Xu
2016-12-07 12:09       ` Herbert Xu
2016-12-07 12:51       ` Corentin Labbe
2016-12-07 12:51         ` Corentin Labbe
2016-12-07 12:51         ` Corentin Labbe
2016-12-08  9:06         ` Herbert Xu
2016-12-08  9:06           ` Herbert Xu
2016-12-08  9:24           ` Corentin Labbe
2016-12-08  9:24             ` Corentin Labbe
2016-12-08 11:01             ` PrasannaKumar Muralidharan
2016-12-08 11:01               ` PrasannaKumar Muralidharan
2016-12-13 14:10           ` Corentin Labbe
2016-12-13 14:10             ` Corentin Labbe
2016-12-13 15:23             ` PrasannaKumar Muralidharan
2016-12-13 15:23               ` PrasannaKumar Muralidharan
2016-12-13 15:33               ` Corentin Labbe
2016-12-13 15:33                 ` Corentin Labbe
2016-12-13 15:33                 ` Corentin Labbe
2016-12-14  5:05             ` Herbert Xu
2016-12-14  5:05               ` Herbert Xu
2016-12-14  6:03               ` Corentin Labbe
2016-12-14  6:03                 ` Corentin Labbe
2016-12-14 19:17               ` PrasannaKumar Muralidharan
2016-12-14 19:17                 ` PrasannaKumar Muralidharan
2016-12-14 19:17                 ` PrasannaKumar Muralidharan
2016-12-15  6:09                 ` Herbert Xu
2016-12-15  6:09                   ` Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161205125738.GA13525@Red \
    --to=clabbe.montjoie@gmail.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=maxime.ripard@free-electrons.com \
    --cc=wens@csie.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.