[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <D10EUK2TUF57.1E87NSEA2ZYU@kernel.org>
Date: Sat, 04 May 2024 02:49:58 +0300
From: "Jarkko Sakkinen" <jarkko@...nel.org>
To: "Herbert Xu" <herbert@...dor.apana.org.au>
Cc: "Lukas Wunner" <lukas@...ner.de>, "Stefan Berger"
<stefanb@...ux.ibm.com>, <keyrings@...r.kernel.org>,
<linux-crypto@...r.kernel.org>, <davem@...emloft.net>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] crypto: ecc - Protect ecc_digits_from_bytes from
reading too many bytes
On Fri May 3, 2024 at 1:30 PM EEST, Herbert Xu wrote:
> On Mon, Apr 29, 2024 at 01:14:15PM +0300, Jarkko Sakkinen wrote:
> >
> > Yeah, sure, that would be even better, or even memzero_explicit()?
>
> memzero_explicit should only be used for stack memory.
BTW, is this in kernel documentation? It's a guideline really
and would be nice to have reminder, that's all.
BR, Jarkko
Powered by blists - more mailing lists