[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zit0L/P7h5Q8VDlQ@gondor.apana.org.au>
Date: Fri, 26 Apr 2024 17:30:23 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Hailey Mothershead <hailmo@...zon.com>
Cc: davem@...emloft.net, linux-crypto@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 2/2] crypto: aead,cipher - zeroize key buffer after use
On Mon, Apr 15, 2024 at 10:19:15PM +0000, Hailey Mothershead wrote:
> I.G 9.7.B for FIPS 140-3 specifies that variables temporarily holding
> cryptographic information should be zeroized once they are no longer
> needed. Accomplish this by using kfree_sensitive for buffers that
> previously held the private key.
>
> Signed-off-by: Hailey Mothershead <hailmo@...zon.com>
> ---
> crypto/aead.c | 3 +--
> crypto/cipher.c | 3 +--
> 2 files changed, 2 insertions(+), 4 deletions(-)
Patch applied. 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