Messages in this thread | | | Date | Sat, 7 Oct 2017 11:33:18 +0800 | From | Herbert Xu <> | Subject | Re: [RFC PATCH] crypto: make the seed() function optional |
| |
Mathieu Malaterre <malat@debian.org> wrote: > This makes it simplier for driver author to not provide the seed() function > in case of a pseudo RNG where the seed operation is a no-op. > > Document that the seed() function pointer is optional in header. > > Signed-off-by: Mathieu Malaterre <malat@debian.org> > --- > The PRNG as found on Ingenic JZ4780 is one such example. This is found on a > MIPS Creator CI20 SoC.
So how does it seed itself? This also contradicts with the JZ4780 driver that's currently in the patch queue as it does contain a seed function.
Cheers, -- Email: Herbert Xu <herbert@gondor.apana.org.au> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
| |