[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180622143829.rd2ys6ci7q3aupst@gondor.apana.org.au>
Date: Fri, 22 Jun 2018 22:38:29 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stanimir Varbanov <stanimir.varbanov@...aro.org>
Cc: Vinod Koul <vinod.koul@...aro.org>, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org, Matt Mackall <mpm@...enic.com>,
Arnd Bergmann <arnd@...db.de>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-arm-msm@...r.kernel.org, Vinod Koul <vkoul@...nel.org>
Subject: Re: [PATCH 3/3] hwrng: msm - Add support for prng v2
On Fri, Jun 22, 2018 at 11:27:59AM +0300, Stanimir Varbanov wrote:
> Hi Herbert,
>
> On 06/21/2018 02:53 PM, Herbert Xu wrote:
> > On Thu, Jun 21, 2018 at 02:27:10PM +0300, Stanimir Varbanov wrote:
> >>
> >> OK, I just wanted to say that it is _not_ PRNG and the register names
> >> gives us wrong impression.
> >
> > So does it generate one bit of output for each bit of hardware-
> > generated entropy like /dev/random? Or does it use a hardware-
> > generated seed to power a PRNG?
>
> I believe it is the second one. Isn't the second one SP 800-90A?
In that case it should switch over to algif_rng.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists