Skip to content
Snippets Groups Projects
Commit 23e4099b authored by Hailey Mothershead's avatar Hailey Mothershead Committed by Herbert Xu
Browse files

crypto: aead,cipher - zeroize key buffer after use


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: default avatarHailey Mothershead <hailmo@amazon.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 571e557c
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment