Thread (27 messages) 27 messages, 8 authors, 2018-07-01

Re: [PATCH 3/3] hwrng: msm - Add support for prng v2

From: Vinod <vkoul@kernel.org>
Date: 2018-06-20 05:32:18
Also in: linux-arm-msm, lkml

On 19-06-18, 22:28, Herbert Xu wrote:
On Mon, Jun 18, 2018 at 07:42:59PM +0530, Vinod Koul wrote:
quoted
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@kernel.org>
Is this really a pseudo-RNG? If so it needs to be moved over to
the algif_rng interface.

hwrng is for true hardware RNGs only, because it may be directly
fed into /dev/random.
I am trying to find how how much random output this hardware generates.

Meanwhile, can you please point out examples/Documentation for algif_rng
and if any test tools for this?

Thanks
-- 
~Vinod
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help