Hailey Mothershead 9db8c299a5 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:05:38 +02:00
..
2020-08-28 16:58:28 +10:00
2020-09-11 14:39:16 +10:00
2023-03-11 16:39:22 +01:00
2022-06-22 14:13:18 +02:00
2022-06-22 14:13:18 +02:00
2020-02-28 08:43:21 +08:00
2023-03-11 16:39:22 +01:00
2021-07-14 16:56:06 +02:00