Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp326187ybz; Fri, 24 Apr 2020 00:49:03 -0700 (PDT) X-Google-Smtp-Source: APiQypI4eocHoh8LSEpI96lNuyZGUx1ZKPFc082jQcyXGPUx2peVBgehZ+QRt4vyassy0uladFLp X-Received: by 2002:a05:6402:1543:: with SMTP id p3mr6334087edx.333.1587714543575; Fri, 24 Apr 2020 00:49:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587714543; cv=none; d=google.com; s=arc-20160816; b=SXroowihCN+bSKoLz3bMg6jxJEzwVUGa/sItUmae+5kr5GJkMQf3HzYFzFh9p4bj63 SDoWV4R+2A3A0xlk+27Pk1E810SGcppa9AdR3nW8aKyJMTYj7xmzSRPOGvM+VN/AEt0G IL3QLv2wH9+z/1nfj1t67h+tebCrojFFWHwFBnOwLHdMHd+18cMdz2jhk+D5qCE9S+5C 1hsH9GgV8Auyri6vi+UtX9a9oKuDPjSTjXJ9fdaVqAeFEqiA+joCkVj2auGCSLu1suA0 totiOtICQueaDDrkkXoT2pGjjnJXaqabMGYmZwDQ3o64YO5qGVxbtX9IKcTVLRCiOrEs hlgg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=XHvp6OqCJcC18bRddnPPjrDxUrw6q8bBXPc7UzSmOcM=; b=lmhmMZK4qDaMwOJfwUC0Yl+plMBigKsK3ENa1MNLF7SNi/XL9i9M1Vtm0wQCKcOt2P 5FCKzHFqCQac3GEz24h2xlRKyw7PtPKzo8LUv4UgLP7+/P2JMdjVo9g6kFGlwj1svZpA 3Yo2ZIG2ErNzUx8OTiQ+nF9VxkWstU7KZkr8whOg7MPpqs2706SL5Y/9e+yn/fBiA3On IGr/1m3hOQawMYLUf6amCDZ9eeHg2NF6Kmx+NUOTHsIoYnl5bID/0RvIhBpqtIn5u6py ee/tGDNSF4xlKavi7qv+4jegN3lbgtEGIASNE16QhKc61jLVesQFZxjYJY2IS4CTQLJB Uyzg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q12si2559016edc.303.2020.04.24.00.48.39; Fri, 24 Apr 2020 00:49:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726654AbgDXHrG (ORCPT + 99 others); Fri, 24 Apr 2020 03:47:06 -0400 Received: from helcar.hmeau.com ([216.24.177.18]:43352 "EHLO fornost.hmeau.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726056AbgDXHrG (ORCPT ); Fri, 24 Apr 2020 03:47:06 -0400 Received: from gwarestrin.me.apana.org.au ([192.168.0.7] helo=gwarestrin.arnor.me.apana.org.au) by fornost.hmeau.com with smtp (Exim 4.89 #2 (Debian)) id 1jRt36-0000eU-Qe; Fri, 24 Apr 2020 17:47:01 +1000 Received: by gwarestrin.arnor.me.apana.org.au (sSMTP sendmail emulation); Fri, 24 Apr 2020 17:47:00 +1000 Date: Fri, 24 Apr 2020 17:47:00 +1000 From: Herbert Xu To: Stephan =?iso-8859-1?Q?M=FCller?= Cc: linux-crypto@vger.kernel.org Subject: Re: [PATCH v2 0/2] crypto: Jitter RNG SP800-90B compliance Message-ID: <20200424074700.GD24682@gondor.apana.org.au> References: <9339058.MEWKF1lRGI@positron.chronox.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <9339058.MEWKF1lRGI@positron.chronox.de> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Fri, Apr 17, 2020 at 09:32:53PM +0200, Stephan M?ller wrote: > 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(-) All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt