public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] random: use computational hash for entropy extraction, and related fixes
@ 2022-02-05 16:01 Jason A. Donenfeld
  2022-02-05 16:01 ` [PATCH v3 1/5] random: use computational hash for entropy extraction Jason A. Donenfeld
                   ` (5 more replies)
  0 siblings, 6 replies; 9+ messages in thread
From: Jason A. Donenfeld @ 2022-02-05 16:01 UTC (permalink / raw)
  To: linux-kernel, linux-crypto; +Cc: Jason A. Donenfeld

The bulk of the motivation for this and description of crypto
vulnerabilities is in the first patch of this series. The following
three patches then fix up entropy accounting for the new model. The last
patch fixes a minor code safety issue.

This v3 fixes comments and commit message wording, simplifies a bit of
code in a cmpxchg loop, and adjusts semantics around the poll write
wakeup threshold.

Jason A. Donenfeld (5):
  random: use computational hash for entropy extraction
  random: simplify entropy debiting
  random: use linear min-entropy accumulation crediting
  random: always wake up entropy writers after extraction
  random: make credit_entropy_bits() always safe

 drivers/char/random.c         | 501 ++++++----------------------------
 include/trace/events/random.h |  30 +-
 2 files changed, 87 insertions(+), 444 deletions(-)

-- 
2.35.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-02-08  6:48 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-02-05 16:01 [PATCH v3 0/5] random: use computational hash for entropy extraction, and related fixes Jason A. Donenfeld
2022-02-05 16:01 ` [PATCH v3 1/5] random: use computational hash for entropy extraction Jason A. Donenfeld
2022-02-05 16:01 ` [PATCH v3 2/5] random: simplify entropy debiting Jason A. Donenfeld
2022-02-05 16:01 ` [PATCH v3 3/5] random: use linear min-entropy accumulation crediting Jason A. Donenfeld
2022-02-05 16:01 ` [PATCH v3 4/5] random: always wake up entropy writers after extraction Jason A. Donenfeld
2022-02-05 18:00   ` Dominik Brodowski
2022-02-05 22:38   ` Jason A. Donenfeld
2022-02-05 16:01 ` [PATCH v3 5/5] random: make credit_entropy_bits() always safe Jason A. Donenfeld
2022-02-08  6:48 ` [PATCH v3 0/5] random: use computational hash for entropy extraction, and related fixes Eric Biggers

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox