From mboxrd@z Thu Jan 1 00:00:00 1970 From: clabbe.montjoie@gmail.com (Corentin Labbe) Date: Wed, 14 Dec 2016 07:03:40 +0100 Subject: [PATCH v2] crypto: sun4i-ss: support the Security System PRNG In-Reply-To: <20161214050551.GD9592@gondor.apana.org.au> References: <1480934922-20732-1-git-send-email-clabbe.montjoie@gmail.com> <20161205123705.GA10732@gondor.apana.org.au> <20161205125738.GA13525@Red> <20161207120900.GC20680@gondor.apana.org.au> <20161207125127.GB28218@Red> <20161208090618.GB22932@gondor.apana.org.au> <20161213141059.GB10647@Red> <20161214050551.GD9592@gondor.apana.org.au> Message-ID: <20161214060340.GA24050@Red> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Wed, Dec 14, 2016 at 01:05:51PM +0800, Herbert Xu wrote: > On Tue, Dec 13, 2016 at 03:10:59PM +0100, Corentin Labbe wrote: > > > > I have found two solutions: > > No we already have algif_rng so let's not confuse things even > further by making hwrng take PRNGs. > But algif_rng is not accessible from user space without any coding. So no easy "random" data with some cat /dev/xxxx. Clearly users of the 3 already intree hw_random PRNG will see that like a regresion. Regards Corentin Labbe