diff options
author | Nickolaus Woodruff <nickolauswoodruff@gmail.com> | 2014-11-26 13:40:57 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-11-27 22:26:18 +0800 |
commit | 421d82f5b3e75f94e31875e37d45cdf6a557c120 (patch) | |
tree | daf8400560e56d726b40b103b4d67d16a6e15c32 /crypto/memneq.c | |
parent | 0653a7cf6fa49bc769628b6078c3ea9e1489cb7b (diff) | |
download | linux-421d82f5b3e75f94e31875e37d45cdf6a557c120.tar.bz2 |
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/memneq.c')
0 files changed, 0 insertions, 0 deletions