Skip to content
Snippets Groups Projects
user avatar
Prarit Bhargava authored
Bugzilla: https://bugzilla.redhat.com/2079030



commit 96562f286884e2db89c74215b199a1084b5fb7f7
Author: Dominik Brodowski <linux@dominikbrodowski.net>
Date:   Fri Dec 31 09:26:08 2021 +0100

    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: default avatarDominik Brodowski <linux@dominikbrodowski.net>
Signed-off-by: default avatarJason A. Donenfeld <Jason@zx2c4.com>

Signed-off-by: default avatarPrarit Bhargava <prarit@redhat.com>
00bdf856
History
Code owners
Assign users and groups as approvers for specific file changes. Learn more.