Files
Thomas Huth 26b845b7e1 crypto: aspeed - clear the crypto_aes_ctx when done
Declare the gen_aes_key with __cleanup(aes_zeroize_ctx) to avoid that
its contents could be leaking via the stack when the function returns.
And since it is only required in one branch of the if-statement there,
move it to that block, too.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
2026-09-04 19:48:46 +10:00
..
2023-12-08 11:59:45 +08:00