Files
linux/include/crypto
Thomas Huth adbc4db2c0 lib/crypto: aes-cmac: Add zeroization functions
Code that uses AES-CMAC might need to zeroize their local aes_cmac_key
and/or aes_cmac_ctx structures after use to avoid leaking sensitive
material on the stack.

Provide an aes_cmac_zeroize_key() and an aes_cmac_zeroize_ctx() helper
function that can be used with __cleanup() to automatically clear the
key and context when they go out of scope.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://patch.msgid.link/20260807125845.1477067-2-thuth@redhat.com
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
2026-08-10 20:13:41 -07:00
..
2026-07-22 12:01:20 -07:00
2026-07-19 17:34:16 -07:00
2026-07-22 12:01:11 -07:00
2026-07-19 17:34:16 -07:00
2022-12-02 18:12:40 +08:00
2023-06-05 09:36:35 +02:00
2024-04-02 10:49:38 +08:00
2026-01-12 11:07:49 -08:00
2019-08-05 18:40:19 -04:00
2026-03-23 17:50:59 -07:00
2022-04-08 16:12:46 +08:00