Skip to content

missing random.c-related stable patches

Jason A. Donenfeld stable 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5lib/crypto: add prompts back to crypto librariescrypto/Kconfig lib/Kconfig lib/crypto/Kconfig+14 -70 replies
2/5crypto: drbg - prepare for more fine-grained tracking of seeding statecrypto/drbg.c include/crypto/drbg.h+16 -100 replies
3/5crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()crypto/drbg.c include/crypto/drbg.h+9 -40 replies
4/5crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()crypto/drbg.c+21 -90 replies
5/5crypto: drbg - make reseeding from get_random_bytes() synchronouscrypto/drbg.c drivers/char/random.c include/crypto/drbg.h+11 -540 replies

Reviews trailers per patch

3 of 5 patches have a Reviewed-by or Acked-by.

PatchStephan Müller
1/5
2/5R-b
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH stable 5.15.y 0/5] missing random.c-related stable patches

Hi Greg,

I forgot two things when doing the 5.15 backport. The first is a patch from Justin fixing a bug in some of the lib/crypto Kconfig changes, which Pablo (CC'd) pointed out was missed. The second is that the backport of 5acd35487dc9 ("random: replace custom notifier chain with standard one") isn't quite right without Nicolai's patches there too, since the drbg module is removable.

I'll continue to monitor all the channels I possibly can for chatter about problems, but so far this is all I've run into.

Jason

Cc Pablo Greco <[email protected]>

Justin M. Forbes (1):
lib/crypto: add prompts back to crypto libraries

Nicolai Stange (4):
crypto: drbg - prepare for more fine-grained tracking of seeding state
crypto: drbg - track whether DRBG was seeded with
!rng_is_initialized()
crypto: drbg - move dynamic ->reseed_threshold adjustments to

    __drbg_seed()

crypto: drbg - make reseeding from get_random_bytes() synchronous

 crypto/Kconfig        |   2 -
 crypto/drbg.c         | 110 +++++++++++++++++-------------------------
 drivers/char/random.c |   2 -
 include/crypto/drbg.h |  10 ++--
 lib/Kconfig           |   2 +
 lib/crypto/Kconfig    |  17 +++++--
 6 files changed, 65 insertions(+), 78 deletions(-)
Signature · 1 line
2.35.1