Re: [PATCH] crypto: ecc - Protect ecc_digits_from_bytes from reading too many bytes

From: Jarkko Sakkinen
Date: Fri May 03 2024 - 19:50:16 EST


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