diff options
| author | 2026-09-16 11:50:06 +0200 | |
|---|---|---|
| committer | 2026-09-30 09:33:54 -0700 | |
| commit | dbb5091fb6c937ff312257aaf9b772216c3ca8f6 (patch) | |
| tree | 3e5f780b70c5318b252f17481166634198410f6b /scripts/Makefile.thinlto | |
| parent | lib/crypto: aes-gcm: Provide functions for zeroizing aes_gcm* structures (diff) | |
lib/crypto: aes-ccm: Provide functions for zeroizing aes_ccm* structures
In certain cases crypto code needs to zeroize their local aes_ccm_key
or aes_ccm_ctx structures after use to avoid leaking sensitive material.
Provide aes_ccm_zeroize_key() and aes_ccm_zeroize_ctx() helper functions
that e.g. can be used with __cleanup() to automatically zeroize the
structures when they go out of scope.
While we're at it, replace the related memzero_explicit() calls in
lib/crypto/aes.c with calls to the new helper functions.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://patch.msgid.link/20260916095022.604354-5-thuth@redhat.com
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
