summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2026-09-16 11:50:05 +0200
committerEric Biggers <ebiggers@kernel.org>2026-09-30 09:33:54 -0700
commitf0bcf2d3ef935d0fdb76ca23786fe9880ad80827 (patch)
treec6ee0580df5c7d5662d53abba5014d353652aa00 /tools/perf/scripts/python/stackcollapse.py
parentbde4dcd6cac5cbdaa3144adffeb3a0c1d9bba064 (diff)
downloadlinux-f0bcf2d3ef935d0fdb76ca23786fe9880ad80827.tar.gz
linux-f0bcf2d3ef935d0fdb76ca23786fe9880ad80827.zip
lib/crypto: aes-gcm: Provide functions for zeroizing aes_gcm* structures
In certain cases crypto code needs to zeroize their local aes_gcm_key or aes_gcm_ctx structures after use to avoid leaking sensitive material. Provide aes_gcm_zeroize_key() and aes_gcm_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-4-thuth@redhat.com Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions