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

From: Stephan Mueller
Date: Mon Apr 27 2020 - 05:23:34 EST


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