diff options
author | 2015-04-21 10:46:49 +0800 | |
---|---|---|
committer | 2015-04-22 09:30:21 +0800 | |
commit | b617b702da4e922277806f81c411d3051107d462 (patch) | |
tree | 580d9202c8b14f0798c16e14be7beeb5cd08f440 /crypto/algapi.c | |
parent | crypto: algif_rng - Remove obsolete const-removal cast (diff) | |
download | linux-rng-b617b702da4e922277806f81c411d3051107d462.tar.xz linux-rng-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/algapi.c')
0 files changed, 0 insertions, 0 deletions