linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] crypto: Jitter RNG SP800-90B compliance
@ 2020-04-17 19:32 Stephan Müller
  2020-04-17 19:33 ` [PATCH v2 1/2] " Stephan Müller
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Stephan Müller @ 2020-04-17 19:32 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto

Hi,

This patch set adds SP800-90B compliance to the Jitter RNG. The
SP800-90B patch is tested for more than half a year in user space
with the Jitter RNG version 2.2.0.

The full SP800-90B assessment of the Jitter RNG is provided at [1].

In addition, the DRBG implementation is updated to always be
reseeded from the Jitter RNG. To ensure the DRBG is reseeded within
an appropriate amount of time, the reseed threshold is lowered.

Changes v2:
* Instead of free/alloc of the Jitter RNG instance in case of a health
  test error, re-initialize the RNG instance by performing the
  power-up test and after a success, clear the health test status and
  error.

[1] http://www.chronox.de/jent/doc/CPU-Jitter-NPTRNG.pdf

Stephan Mueller (2):
  crypto: Jitter RNG SP800-90B compliance
  crypto: DRBG always seeded with SP800-90B compliant noise source

 crypto/drbg.c                |  26 ++-
 crypto/jitterentropy-kcapi.c |  27 +++
 crypto/jitterentropy.c       | 417 ++++++++++++++++++++++++++---------
 include/crypto/drbg.h        |   6 +-
 4 files changed, 363 insertions(+), 113 deletions(-)

-- 
2.25.2





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

end of thread, other threads:[~2020-04-24  7:47 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-17 19:32 [PATCH v2 0/2] crypto: Jitter RNG SP800-90B compliance Stephan Müller
2020-04-17 19:33 ` [PATCH v2 1/2] " Stephan Müller
2020-04-17 19:34 ` [PATCH v2 2/2] crypto: DRBG always seeded with SP800-90B compliant noise source Stephan Müller
2020-04-24  7:47 ` [PATCH v2 0/2] crypto: Jitter RNG SP800-90B compliance Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).