diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-21 10:46:49 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-04-22 09:30:21 +0800 |
commit | b617b702da4e922277806f81c411d3051107d462 (patch) | |
tree | 580d9202c8b14f0798c16e14be7beeb5cd08f440 /crypto/tcrypt.c | |
parent | 654ae152b3d1f3d5d473d845a403e4b5c1a39389 (diff) | |
download | linux-b617b702da4e922277806f81c411d3051107d462.tar.gz linux-b617b702da4e922277806f81c411d3051107d462.tar.bz2 linux-b617b702da4e922277806f81c411d3051107d462.zip |
crypto: rng - Zero seed in crypto_rng_reset
If we allocate a seed on behalf ot the user in crypto_rng_reset,
we must ensure that it is zeroed afterwards or the RNG may be
compromised.
Reported-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
0 files changed, 0 insertions, 0 deletions