[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZBk7ZdSacxFzJSxJ@gondor.apana.org.au>
Date: Tue, 21 Mar 2023 13:06:45 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Gaurav Jain <gaurav.jain@....com>
Cc: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
Horia Geanta <horia.geanta@....com>,
Pankaj Gupta <pankaj.gupta@....com>,
"davem@...emloft.net" <davem@...emloft.net>,
"linux-crypto@...r.kernel.org" <linux-crypto@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"kernel-janitors@...r.kernel.org" <kernel-janitors@...r.kernel.org>
Subject: Re: [EXT] Re: [PATCH] crypto: caam: Clear some memory in
instantiate_rng()
On Tue, Mar 21, 2023 at 05:03:24AM +0000, Gaurav Jain wrote:
>
> memset() is needed to clear the desc for each state handle before recreating descriptor.
> So it is required.
OK so we should move it to the top of the loop then.
Thanks,
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists