Re: [PATCH v2 13/14] crypto: sun8i-ce: Add support for the PRNG

Stephan Mueller
2020-04-27T09:23:34Z

Am Montag, 27. April 2020, 10:41:37 CEST schrieb LABBE Corentin:

Hi Corentin,

> > Shouldn't they all be kzfree?
>
> Yes
> Probably it miss also a memzero_explicit, I think that seeds/data are
> sensitive

kzfree uses memset_secure since very recently. So, kzfree should be all you
need.

Ciao
Stephan