summaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/mailbox.h
diff options
context:
space:
mode:
authorDominik Brodowski <linux@dominikbrodowski.net>2021-12-31 09:26:08 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-01-07 00:25:25 +0100
commit96562f286884e2db89c74215b199a1084b5fb7f7 (patch)
tree7f083a6e760685b8e5beeda8c00e130891e9f937 /drivers/mailbox/mailbox.h
parent7b87324112df2e1f9b395217361626362dcfb9fb (diff)
downloadlinux-96562f286884e2db89c74215b199a1084b5fb7f7.tar.bz2
random: early initialization of ChaCha constants
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>
Diffstat (limited to 'drivers/mailbox/mailbox.h')
0 files changed, 0 insertions, 0 deletions