diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2017-07-16 19:22:06 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-07-28 11:56:00 +0200 |
commit | c2176f0098d994050c88d34d37c551d033f2f18f (patch) | |
tree | b419a0bc96214cd9e896da300f380bb3ea013a3c /crypto/asymmetric_keys/asymmetric_keys.h | |
parent | crypto: stm32 - Support for STM32 HASH module (diff) | |
download | linux-c2176f0098d994050c88d34d37c551d033f2f18f.tar.xz linux-c2176f0098d994050c88d34d37c551d033f2f18f.zip |
crypto: rng - ensure that the RNG is ready before using
Otherwise, we might be seeding the RNG using bad randomness, which is
dangerous. The one use of this function from within the kernel -- not
from userspace -- is being removed (keys/big_key), so that call site
isn't relevant in assessing this.
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/asymmetric_keys/asymmetric_keys.h')
0 files changed, 0 insertions, 0 deletions