Received: by 2002:a25:868d:0:0:0:0:0 with SMTP id z13csp301984ybk; Tue, 19 May 2020 23:24:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxw6FWjLFOkx84kxr2q3i8csNhaiEx+3K8csl65HC59sRkOiP2mmVSe/wzhy9BO9mJ0tAiB X-Received: by 2002:a17:906:4dcc:: with SMTP id f12mr2601701ejw.272.1589955894439; Tue, 19 May 2020 23:24:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1589955894; cv=none; d=google.com; s=arc-20160816; b=CVXnl2QH+wnj4naXBKquOhKvjxvsXGO77kOlRTFvD+usjLLWR4PRUsuJYnvqb4CQTA GRae4TXxtirtXfq38GYiUtI/T6cJPPJ5xYxgMZR+Ff+s7H2i/7pHxGOBqOdpw8pQmx1p utOsYhVfdiHiP6BW17fwRe3BgNDB5Z+pWIgtNEnPDFAlNQ7241qGRHNSVFqGsPaUrZyW KQaRtMWPGazKoVTwbsfDhE9GzxzqWBL7+p2muXNle8PvyOQSS45BXxRG44tsIl/INdpV nQLYl/57uJLJRY5ikeqHnDU7oIfI7DKbvEhM5ogU1L/KzWC0AsKVuQW9ocrXnx/JobCJ Y4ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Z4L+tBCvVk7qL7s3FzIU5Gn5ddNv0VVuMlfTJxRK4xo=; b=jZ7KHny+MA3w3PXavzmHeiVsrObXnbbmRANTULftzer15sf0EuyqcL7S/bOjWvyFj1 QLAET0PYjVu9b8pOcXnhOKD0F3SMzOPanT6uKgpFx6/wRgmFpUV2onx5AQKeCHeU/7Vp ueD1w9hR/iemNgIQD/bW3NLWHiMMBM+Ul2PbJ5dofBYvCx4sF0FV1RI/qTj56Shjh5o8 4yAgW3UWnKXR52+RC/n7tBuSdCQqbsdkhn0aHqGznDRNDMsPtFvuYaHD7mNle24aTkPo fm8WEB4RKM9T2lt9gRaCGfnDRJ64fcHX9CCU8k1Xujg+WGW+fmLY9M/9pRE0oQP4CdEi kfUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=kGWFRlz9; 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 y43si1163502ede.404.2020.05.19.23.24.25; Tue, 19 May 2020 23:24:54 -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; dkim=fail header.i=@chronox.de header.s=strato-dkim-0002 header.b=kGWFRlz9; 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 S1726570AbgETGYP (ORCPT + 99 others); Wed, 20 May 2020 02:24:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726556AbgETGYO (ORCPT ); Wed, 20 May 2020 02:24:14 -0400 Received: from mo6-p02-ob.smtp.rzone.de (mo6-p02-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5302::3]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF565C061A0E; Tue, 19 May 2020 23:24:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1589955852; s=strato-dkim-0002; d=chronox.de; h=References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From: X-RZG-CLASS-ID:X-RZG-AUTH:From:Subject:Sender; bh=Z4L+tBCvVk7qL7s3FzIU5Gn5ddNv0VVuMlfTJxRK4xo=; b=kGWFRlz9NM8mT6kFmGVT8S1Yq/Vz3WhjmqRIrILy9U6dWCcfapHiF7RPldl9CQtSJT DIo6qIesRXu/1uGG/Egdg5DYB7Ti0idWfekb28itbRmpT0AiExi3tSZqpC2g+GxzsjYq ArQorMYESDJKXWdrE79/2c76XgDHCv/2RuEaQ7e3ZHyLobE/yQ8kRK9IhHN51ujO0/bT ui+Ukqw3Iiy1lP6eP/BQda0Aydbql38tkfdDF6CVqPeMYgIlO3muLtSX6BYtF2Tjta5n ZqAt9h9RZN1RD3FonxbZO8Hbm4UWfpAdRlDQRxb62KHH4SniAgggtUYwA02tf7ryE8Kb aNUg== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9xmwdNnzGHXPbI/Sc5g==" X-RZG-CLASS-ID: mo00 Received: from tauon.chronox.de by smtp.strato.de (RZmta 46.7.0 DYNA|AUTH) with ESMTPSA id k09005w4K6Nx34M (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Wed, 20 May 2020 08:23:59 +0200 (CEST) From: Stephan Mueller To: =?utf-8?B?xYF1a2Fzeg==?= Stelmach Cc: Matt Mackall , Herbert Xu , Arnd Bergmann , Greg Kroah-Hartman , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Kukjin Kim , Krzysztof Kozlowski , Florian Fainelli , Markus Elfring , Matthias Brugger , Stefan Wahren , linux-crypto@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-samsung-soc@vger.kernel.org, Bartlomiej Zolnierkiewicz Subject: Re: [PATCH v2 1/2] hwrng: iproc-rng200 - Set the quality value Date: Wed, 20 May 2020 08:23:59 +0200 Message-ID: <1748331.j7eDFAdTc1@tauon.chronox.de> In-Reply-To: <20200519212552.11671-2-l.stelmach@samsung.com> References: <20200514190734.32746-1-l.stelmach@samsung.com> <20200519212552.11671-2-l.stelmach@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Sender: linux-crypto-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org Am Dienstag, 19. Mai 2020, 23:25:51 CEST schrieb =C5=81ukasz Stelmach: Hi =C5=81ukasz, > The value was estimaded with ea_iid[1] using on 10485760 bytes read from > the RNG via /dev/hwrng. The min-entropy value calculated using the most > common value estimate (NIST SP 800-90P[2], section 6.3.1) was 7.964464. I am sorry, but I think I did not make myself clear: testing random numbers= =20 post-processing with the statistical tools does NOT give any idea about the= =20 entropy rate. Thus, all that was calculated is the proper implementation of= =20 the post-processing operation and not the actual noise source. What needs to happen is that we need access to raw, unconditioned data from= =20 the noise source that is analyzed with the statistical methods. Ciao Stephan