Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
crypto: aead,cipher - zeroize key buffer after use
BugLink: https://bugs.launchpad.net/bugs/2077600 [ Upstream commit 23e4099 ] 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 <[email protected]> Signed-off-by: Herbert Xu <[email protected]> Signed-off-by: Sasha Levin <[email protected]> Signed-off-by: Portia Stephens <[email protected]> Signed-off-by: Roxana Nicolescu <[email protected]>
- Loading branch information