diff options
| author | Thomas Huth <thuth@redhat.com> | 2026-08-07 14:58:41 +0200 |
|---|---|---|
| committer | Eric Biggers <ebiggers@kernel.org> | 2026-08-12 18:50:59 -0700 |
| commit | 053baab47d17b769e4feb7d5216df36dc5f057a6 (patch) | |
| tree | 284584d4d603b36b05d6e699cce3888b347eaef9 /include/linux/bnge/git@git.tavy.me:linux.git | |
| parent | 2b240733f27c8dd7e192f36540a10dcb88339222 (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 'include/linux/bnge/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
