summaryrefslogtreecommitdiffstats
path: root/crypto/algif_skcipher.c
diff options
context:
space:
mode:
authorNickolaus Woodruff <nickolauswoodruff@gmail.com>2014-11-26 19:40:57 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2014-11-27 15:26:18 +0100
commit421d82f5b3e75f94e31875e37d45cdf6a557c120 (patch)
treedaf8400560e56d726b40b103b4d67d16a6e15c32 /crypto/algif_skcipher.c
parentcrypto: drbg - use MODULE_ALIAS_CRYPTO (diff)
downloadlinux-421d82f5b3e75f94e31875e37d45cdf6a557c120.tar.xz
linux-421d82f5b3e75f94e31875e37d45cdf6a557c120.zip
crypto: drbg - use memzero_explicit() for clearing sensitive data
Compiler dead store optimization can sometimes remove final calls to memset() used to clear sensitive data at the end of a function. Replace trailing memset() calls with memzero_explicit() to preclude unwanted removal. Signed-off-by: Nickolaus Woodruff <nickolauswoodruff@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algif_skcipher.c')
0 files changed, 0 insertions, 0 deletions