Hailey Mothershead 71dd428615 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-18 13:07:27 +02:00
..
2020-08-28 16:58:28 +10:00
2021-03-26 19:55:55 +11:00
2023-03-10 09:39:11 +01:00
2022-08-17 14:24:19 +02:00
2022-08-17 14:24:19 +02:00
2020-02-28 08:43:21 +08:00
2023-03-10 09:39:11 +01:00
2021-08-21 15:44:58 +08:00
2021-06-11 15:03:30 +08:00