Files
linux/include/crypto
Dominik Brodowski e6ae8dda97 random: early initialization of ChaCha constants
commit 96562f2868 upstream.

Previously, the ChaCha constants for the primary pool were only
initialized in crng_initialize_primary(), called by rand_initialize().
However, some randomness is actually extracted from the primary pool
beforehand, e.g. by kmem_cache_create(). Therefore, statically
initialize the ChaCha constants for the primary pool.

Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: <linux-crypto@vger.kernel.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2022-06-25 11:45:05 +02:00
..
2016-07-18 17:35:38 +08:00
2016-02-17 04:07:53 +08:00
2016-06-23 18:29:57 +08:00
2015-06-04 15:05:08 +08:00
2016-06-20 19:25:01 +08:00