[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <966e9cd4-70a3-8d54-df0f-16df3df45fb5@linaro.org>
Date: Thu, 21 Jun 2018 12:56:34 +0300
From: Stanimir Varbanov <stanimir.varbanov@...aro.org>
To: Herbert Xu <herbert@...dor.apana.org.au>,
Vinod Koul <vinod.koul@...aro.org>
Cc: 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
Hi Herbert,
On 06/19/2018 05:28 PM, Herbert Xu wrote:
> On Mon, Jun 18, 2018 at 07:42:59PM +0530, Vinod Koul wrote:
>> Qcom 8996 and later chips support prng v2 where we need to only
>> implement .read callback for hwrng.
>>
>> Add a new table for v2 which supports this and get version required for
>> driver data.
>>
>> Signed-off-by: Vinod Koul <vkoul@...nel.org>
>
> Is this really a pseudo-RNG? If so it needs to be moved over to
> the algif_rng interface.
Despite the register name (PRNG_ registers prefix) the IP is using FIPS
approved algorithm and we can claim that this is true hardware entropy
generator.
I don't think that we need to move to algif_rng.
--
regards,
Stan
Powered by blists - more mailing lists