|
|
Log in / Subscribe / Register

random: use computational hash for entropy extraction, and related fixes

From:  "Jason A. Donenfeld" <Jason-AT-zx2c4.com>
To:  linux-kernel-AT-vger.kernel.org, linux-crypto-AT-vger.kernel.org
Subject:  [PATCH v2 0/4] random: use computational hash for entropy extraction, and related fixes
Date:  Fri, 04 Feb 2022 14:53:21 +0100
Message-ID:  <20220204135325.8327-1-Jason@zx2c4.com>
Cc:  "Jason A. Donenfeld" <Jason-AT-zx2c4.com>
Archive-link:  Article

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

This v2 improves some documentation comments and unifies these patches
into one patchset.

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

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

-- 
2.35.0



Copyright © 2022, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds