diff options
author | Dominik Brodowski <[email protected]> | 2021-12-31 09:26:08 +0100 |
---|---|---|
committer | Jason A. Donenfeld <[email protected]> | 2022-01-07 00:25:25 +0100 |
commit | 96562f286884e2db89c74215b199a1084b5fb7f7 (patch) | |
tree | 7f083a6e760685b8e5beeda8c00e130891e9f937 /scripts/clang-tools/gen_compile_commands.py | |
parent | 7b87324112df2e1f9b395217361626362dcfb9fb (diff) |
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 <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: <[email protected]>
Signed-off-by: Dominik Brodowski <[email protected]>
Signed-off-by: Jason A. Donenfeld <[email protected]>
Diffstat (limited to 'scripts/clang-tools/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions