[GIT PULL] random number generator fixes for 5.17-rc1
From: Jason A. Donenfeld
Date: Tue Jan 18 2022 - 11:49:35 EST
Hi Linus,
Please pull the following fixes, intended for 5.17-rc1:
1) Some Kconfig changes resulted in BIG_KEYS being unselectable, which Justin
sent a patch to fix.
2) Geert pointed out that moving to BLAKE2s bloated vmlinux on little
machines, like m68k, so we now compensate for this.
3) Numerous style and house cleaning fixes, meant to have a cleaner base for
future changes.
Thanks,
Jason
The following changes since commit fe81ba137ebcc7f236780996a0b375732c07e85c:
Merge tag 'ata-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/dlemoal/libata (2022-01-18 10:14:49 +0200)
are available in the Git repository at:
https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git random-5.17-rc1-for-linus
for you to fetch changes up to a254a0e4093fce8c832414a83940736067eed515:
random: simplify arithmetic function flow in account() (2022-01-18 13:03:56 +0100)
----------------------------------------------------------------
Jason A. Donenfeld (14):
lib/crypto: blake2s: move hmac construction into wireguard
lib/crypto: sha1: re-roll loops to reduce code size
random: cleanup poolinfo abstraction
random: cleanup integer types
random: remove incomplete last_data logic
random: remove unused extract_entropy() reserved argument
random: rather than entropy_store abstraction, use global
random: remove unused OUTPUT_POOL constants
random: de-duplicate INPUT_POOL constants
random: prepend remaining pool constants with POOL_
random: cleanup fractional entropy shift constants
random: access input_pool_data directly rather than through pointer
random: selectively clang-format where it makes sense
random: simplify arithmetic function flow in account()
Justin M. Forbes (1):
lib/crypto: add prompts back to crypto libraries
Schspa Shi (1):
random: fix typo in comments
crypto/Kconfig | 2 -
drivers/char/random.c | 627 ++++++++++++++++++------------------------
drivers/net/wireguard/noise.c | 45 ++-
include/crypto/blake2s.h | 3 -
include/trace/events/random.h | 56 ++--
lib/Kconfig | 2 +
lib/crypto/Kconfig | 17 +-
lib/crypto/blake2s-selftest.c | 31 ---
lib/crypto/blake2s.c | 37 ---
lib/sha1.c | 95 +------
10 files changed, 352 insertions(+), 563 deletions(-)