diff options
| author | Thorsten Blum <thorsten.blum@linux.dev> | 2026-08-15 13:05:33 +0200 |
|---|---|---|
| committer | Mikulas Patocka <mpatocka@redhat.com> | 2026-09-17 14:54:22 +0200 |
| commit | 624c30d967ac81e74f24230e6abbd4e62f0a4009 (patch) | |
| tree | 48e77f5ed5ede8ccef14eb5488b1292388ab9a00 /tools/lib/python/kdoc/python_version.py | |
| parent | e3683a76a313a81f3f7bc7f65e4fc1e61232838b (diff) | |
dm-crypt: Use memzero_explicit() to wipe key material
The code still wipes key material with memset(). Use memzero_explicit()
to prevent the compiler from optimizing these wipes away.
Also use size_t for the string length passed to memzero_explicit() and
drop the redundant sizeof(u8) multiplications.
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
