Hailey Mothershead 28c8d27484 crypto: aead,cipher - zeroize key buffer after use
[ Upstream commit 23e4099bdc3c8381992f9eb975c79196d6755210 ]

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@amazon.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-11 12:47:05 +02:00
..
2020-08-28 16:58:28 +10:00
2022-03-03 10:49:20 +12:00
2021-03-26 19:55:55 +11:00
2023-03-10 09:32:56 +01:00
2022-06-10 16:40:17 +08:00
2022-08-02 17:14:47 -06:00
2020-02-28 08:43:21 +08:00
2023-03-10 09:32:56 +01:00
2022-08-02 17:14:47 -06:00
2021-08-21 15:44:58 +08:00
2022-04-08 16:12:46 +08:00
2022-06-10 16:40:16 +08:00
2021-11-08 16:55:21 -08:00