summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2026-09-16 11:50:09 +0200
committerEric Biggers <ebiggers@kernel.org>2026-09-30 09:33:54 -0700
commit97560fd98d4d36b2fd656a6270e15cb2218fcbe2 (patch)
treeeaa35dfbe4d9802938b0ad1f50159859252a297a /tools/perf/scripts/python/stackcollapse.py
parente2b5aa03d6f42d2e4fb9c20a4eeb9ba1a9cac8cb (diff)
downloadlinux-97560fd98d4d36b2fd656a6270e15cb2218fcbe2.tar.gz
linux-97560fd98d4d36b2fd656a6270e15cb2218fcbe2.zip
lib/crypto: blake2: Provide functions for zeroizing blake2*_ctx structures
In certain cases crypto code needs to zeroize their local blake2b_ctx or blake2s_ctx structures after use to avoid leaking sensitive material. Provide blake2b_zeroize_ctx() and blake2s_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/blake2*.c with calls to the new helper functions. Signed-off-by: Thomas Huth <thuth@redhat.com> Link: https://patch.msgid.link/20260916095022.604354-8-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