Received: by 2002:a05:7412:3784:b0:e2:908c:2ebd with SMTP id jk4csp704251rdb; Sun, 1 Oct 2023 01:34:28 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFKCKh2cha1rCHCdOXkwlRolHESaFVFRxkr8r5D7tI1oKIhWypcfu6ClTBTiszerJsN421x X-Received: by 2002:a05:6871:202:b0:1d6:162d:dc69 with SMTP id t2-20020a056871020200b001d6162ddc69mr10454464oad.29.1696149268449; Sun, 01 Oct 2023 01:34:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696149268; cv=none; d=google.com; s=arc-20160816; b=uzUO9kmIdQ7CtUjTyVXjQTGYYP3AauYp6s7aeRdY/X1soi72Jt67UsFiId1DyeplPP SxBa/+IDFmrJSxQwEtUExjILdRLc12jPqVqZupnR/1yP6mcZAt7kjr2P/IKU1HRIyXDx F72oOCYDXzo777V+p2iJZgWX8yFYVEOKPe4IZUbrkUyedgn8owAXbun2ZiAiqZ9Epibk 7nJf1l+wcbj2fNmLoTkxa3sELfqOFaR1P9HS1Kk5KDOo/W9xdVgbbO4zKytP9oCyKQyq 4skLXL+/M8+gi7FiXCj7XDIoKQ6rGgNrNZnahV39o6rZizOCELVabBrcHArCTg8eHE1z zG8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=dAPAw4uB4g+zY93sHvuIgzssluJCCZozGkYuQg400dQ=; fh=clyj5WTcyrfAu/92lonT+eUkq+goTqaGFhdxJFyMY5o=; b=epa6GSnX+1nSHq54sG1ZEvbwfe48U1v4ZHiTpYoLJ7TlfH0X53NAWb5vZV3fQTwIpE 5UKS3xphNQirdhOHza93FPcATKSCCwDozXG9IRx9dfs4ldbKOrlIPN8rPuubIXUVbRsf +otsl8MDYbF6ANstZ2ffTT2IiiugO3I5L94Ma8C1/lSaTwDHqzjS5qUyLq1P0tjZdWbi hmm6LWzvxgYz4rciHlHGMhBFtaXBuXYmqKlqZfnwEoo14CQCmumHmeS8PniUZEAvE4wx wjrxsI87r/R5P3yb00YKYDJx9fZkl4P7bAOtdbxxzjfsd0MTHXDmOMskJFen95sCO8hg I5mA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id v3-20020a655c43000000b00577fc59373fsi17709490pgr.296.2023.10.01.01.34.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Oct 2023 01:34:28 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 82D5A80C5FBB; Sun, 1 Oct 2023 01:34:27 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234603AbjJAIeH (ORCPT + 99 others); Sun, 1 Oct 2023 04:34:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37846 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234641AbjJAIeG (ORCPT ); Sun, 1 Oct 2023 04:34:06 -0400 Received: from abb.hmeau.com (abb.hmeau.com [144.6.53.87]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59A19E0 for ; Sun, 1 Oct 2023 01:34:03 -0700 (PDT) Received: from loth.rohan.me.apana.org.au ([192.168.167.2]) by formenos.hmeau.com with smtp (Exim 4.94.2 #2 (Debian)) id 1qmrtm-002PVd-Ec; Sun, 01 Oct 2023 16:33:59 +0800 Received: by loth.rohan.me.apana.org.au (sSMTP sendmail emulation); Sun, 01 Oct 2023 16:34:02 +0800 Date: Sun, 1 Oct 2023 16:34:02 +0800 From: Herbert Xu To: Stephan =?iso-8859-1?Q?M=FCller?= Cc: linux-crypto@vger.kernel.org, "Ospan, Abylay" Subject: Re: [PATCH 0/3] crypto: jitter - Offer compile-time options Message-ID: References: <2700818.mvXUDI8C0e@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: <2700818.mvXUDI8C0e@positron.chronox.de> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 01 Oct 2023 01:34:27 -0700 (PDT) On Thu, Sep 21, 2023 at 01:47:32PM +0200, Stephan M?ller wrote: > Hi, > > the following patchset offers a set of compile-time options to > accommodate different hardware with different entropy rates implied > in their timers. This allows configuring the Jitter RNG in systems > which exhibits insufficient entropy with the default parameters. The > default parameters defined by the patches, however, are identical to > the existing code and thus do not alter the Jitter RNG behavior. > > The first patch sets the state by allowing the configuration of > different oversampling rates. The second patch allows the configuration > of different memory sizes and the third allows the configuration > of differnet oversampling rates. > > The update of the power up test with the first patch also addresses > reports that the Jitter RNG did not initialize due to it detected > insufficient entropy. > > Stephan Mueller (3): > crypto: jitter - add RCT/APT support for different OSRs > crypto: jitter - Allow configuration of memory size > crypto: jitter - Allow configuration of oversampling rate > > crypto/Kconfig | 60 +++++++++ > crypto/jitterentropy-kcapi.c | 17 ++- > crypto/jitterentropy.c | 249 ++++++++++++++++++----------------- > crypto/jitterentropy.h | 5 +- > 4 files changed, 207 insertions(+), 124 deletions(-) > > -- > 2.42.0 All applied. Thanks. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt