summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2026-09-16 11:50:06 +0200
committerEric Biggers <ebiggers@kernel.org>2026-09-30 09:33:54 -0700
commitdbb5091fb6c937ff312257aaf9b772216c3ca8f6 (patch)
tree3e5f780b70c5318b252f17481166634198410f6b /tools/perf/scripts/python
parentf0bcf2d3ef935d0fdb76ca23786fe9880ad80827 (diff)
downloadlinux-dbb5091fb6c937ff312257aaf9b772216c3ca8f6.tar.gz
linux-dbb5091fb6c937ff312257aaf9b772216c3ca8f6.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions