diff options
| author | Giovanni Cabiddu <giovanni.cabiddu@intel.com> | 2026-06-08 16:04:20 +0100 |
|---|---|---|
| committer | Herbert Xu <herbert@gondor.apana.org.au> | 2026-07-05 13:19:52 +0800 |
| commit | d41a9fcfb7f9ee36e4a4aaf5e7996bca6be1e7a9 (patch) | |
| tree | e295eb9dfdd4b5fc5ad3b3dbc066a59999da25e1 /tools/perf/scripts/python/flamegraph.py | |
| parent | 455b0f3ac9e254edab9f5a873d337abe5e6e3604 (diff) | |
crypto: qat - clear AES key schedule from stack
qat_alg_xts_reverse_key() expands the forward XTS AES key on the stack.
That schedule contains key material and can remain in the stack frame.
Clear the temporary crypto_aes_ctx with memzero_explicit() after the copy.
Fixes: 5106dfeaeabe ("crypto: qat - add AES-XTS support for QAT GEN4 devices")
Signed-off-by: Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Reviewed-by: Ahsan Atta <ahsan.atta@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
