[GIT PULL] random number generator fixes for 5.18-rc5

From: Jason A. Donenfeld
Date: Fri Apr 29 2022 - 10:59:59 EST


Hi Linus,

Please pull the following two sets of fixes for 5.18-rc5:

- Eric noticed that the memmove() in crng_fast_key_erasure() was bogus, so
this has been changed to a memcpy() and the confusing situation clarified
with a detailed comment.

- [Half]SipHash documentation updates from Bagas and Eric, after Eric pointed
out that the use of HalfSipHash in random.c made a bit of the text
potentially misleading.

That's it since the push I sent you in rc3 -- really very small -- so
hopefully things are done for 5.18.

Thanks,
Jason


The following changes since commit af2d861d4cd2a4da5137f795ee3509e6f944a25b:

Linux 5.18-rc4 (2022-04-24 14:51:22 -0700)

are available in the Git repository at:

https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git tags/random-5.18-rc5-for-linus

for you to fetch changes up to 5a7e470e460fb90657343d843732325e53bb875f:

Documentation: siphash: disambiguate HalfSipHash algorithm from hsiphash functions (2022-04-25 17:26:40 +0200)

----------------------------------------------------------------
Random number generator fixes for Linux 5.18-rc5.
----------------------------------------------------------------

Bagas Sanjaya (2):
Documentation: siphash: convert danger note to warning for HalfSipHash
Documentation: siphash: enclose HalfSipHash usage example in the literal block

Eric Biggers (1):
Documentation: siphash: disambiguate HalfSipHash algorithm from hsiphash functions

Jason A. Donenfeld (1):
random: document crng_fast_key_erasure() destination possibility

Documentation/security/siphash.rst | 46 +++++++++++++++++++++++---------------
drivers/char/random.c | 9 +++++++-
2 files changed, 36 insertions(+), 19 deletions(-)