summaryrefslogtreecommitdiffstats
path: root/crypto/blowfish_common.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-04 09:01:36 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-12-31 10:48:53 +0100
commitf93274ef0fe972c120c96b3207f8fce376231a60 (patch)
tree6153831daa0d136ce15fdcd0df0ee425ea5423db /crypto/blowfish_common.c
parentMerge tag 'misc-habanalabs-fixes-2020-12-30' of https://git.kernel.org/pub/sc... (diff)
downloadlinux-f93274ef0fe972c120c96b3207f8fce376231a60.tar.xz
linux-f93274ef0fe972c120c96b3207f8fce376231a60.zip
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 <stable@vger.kernel.org> Reported-by: Ilil Blum Shem-Tov <ilil.blum.shem-tov@intel.com> Tested-by: Ilil Blum Shem-Tov <ilil.blum.shem-tov@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Link: https://lore.kernel.org/r/X8ns4AfwjKudpyfe@kroah.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto/blowfish_common.c')
0 files changed, 0 insertions, 0 deletions