diff options
author | Greg Kroah-Hartman <[email protected]> | 2020-12-04 09:01:36 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2020-12-31 10:48:53 +0100 |
commit | f93274ef0fe972c120c96b3207f8fce376231a60 (patch) | |
tree | 6153831daa0d136ce15fdcd0df0ee425ea5423db /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 0acfbe9ce46925ac92f6e27d0e273297e57c633c (diff) |
crypto: asym_tpm: correct zero out potential secrets
The function derive_pub_key() should be calling memzero_explicit()
instead of memset() in case the complier decides to optimize away the
call to memset() because it "knows" no one is going to touch the memory
anymore.
Cc: stable <[email protected]>
Reported-by: Ilil Blum Shem-Tov <[email protected]>
Tested-by: Ilil Blum Shem-Tov <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions