diff options
| author | 2026-08-07 14:58:41 +0200 | |
|---|---|---|
| committer | 2026-08-12 18:50:59 -0700 | |
| commit | 053baab47d17b769e4feb7d5216df36dc5f057a6 (patch) | |
| tree | 284584d4d603b36b05d6e699cce3888b347eaef9 /scripts/Makefile.thinlto | |
| parent | smb: clear the aes_cmac_key and aes_cmac_ctx when done (diff) | |
Bluetooth: SMP: clear the aes_cmac_key when done
Clear the local aes_cmac_key structure via __cleanup() function
when we're done with it to avoid that sensitive data could leak on
the stack.
While we're at it, also clear the tmp[] array here that is populated
with a raw version of the original key and thus would leak the same
information via the stack otherwise.
Signed-off-by: Thomas Huth <thuth@redhat.com>
Link: https://patch.msgid.link/20260807125845.1477067-5-thuth@redhat.com
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
