summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorThorsten Blum <thorsten.blum@linux.dev>2026-07-08 17:04:00 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-07-17 18:09:21 +1000
commit21d04ac27e7419d1a4530b198525a08b0ac46538 (patch)
tree1afa4d12ed5381ee129c460030b15481b5b93d00 /tools/perf/scripts/python/stackcollapse.py
parentddec4aa7c20e4e99f9a5328fa5ccb10f8c19e8dd (diff)
crypto: atmel-sha204a - clear RNG data from memory
In atmel_sha204a_rng_read(), use memzero_explicit() to clear the local stack variable cmd before it goes out of scope, since cmd.data may still hold the last 32 random bytes. Since atmel_sha204a_rng_done() caches work_data in hwrng::priv, and its response data is later used as RNG entropy, use kfree_sensitive() to clear the cached data on transaction failure and device removal. Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions