From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3961FC433E0 for ; Thu, 14 May 2020 20:24:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 08D6920675 for ; Thu, 14 May 2020 20:24:03 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=chronox.de header.i=@chronox.de header.b="SOD3aKVF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726073AbgENUYC (ORCPT ); Thu, 14 May 2020 16:24:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34566 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1725975AbgENUYC (ORCPT ); Thu, 14 May 2020 16:24:02 -0400 Received: from mo6-p02-ob.smtp.rzone.de (mo6-p02-ob.smtp.rzone.de [IPv6:2a01:238:20a:202:5302::8]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3FB9DC061A0C for ; Thu, 14 May 2020 13:24:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; t=1589487840; 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=t8MuLBhVs0CMy4EvOYJ57JJKkaJSMB56O8oh0kRWzwM=; b=SOD3aKVFUvKT3rldvp25YkGnGXS8wlKf4nrXjZcFVnipKJxwkTwmyXJ9QVn5V98X2m h3aAY04r7PRdDQDf2zACwiqeFQMOmp7Q+2QOsN3BDm4L8sCKs8LUCgY3vSqRZDzBnZki K6hnbW80Z8yNl2MeD1qqSeb3tJTppbj/PN2ZpiNqHz+j1z1do+EMRcjnlcxGyXJlstu3 atjJYp6O+fHWe2RGCymd77skr/KRHAA88HMdnbdgPax1tnFauzKHoU35EXng2F2op3pY ZlsytVeurU9d9pBLf1xdKxo6lU1s7Wdn+gGT8JOtLZbrzH/kYMn3j4OdXL7pZj1xX3ZZ LJPg== X-RZG-AUTH: ":P2ERcEykfu11Y98lp/T7+hdri+uKZK8TKWEqNyiHySGSa9k9xmwdNnzGHXPaJfSc9C1S" X-RZG-CLASS-ID: mo00 Received: from tauon.chronox.de by smtp.strato.de (RZmta 46.6.2 DYNA|AUTH) with ESMTPSA id u08bf3w4EKKsxtN (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256 bits)) (Client did not present a certificate); Thu, 14 May 2020 22:20:54 +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 2/2] hwrng: exynos - Set the quality value Date: Thu, 14 May 2020 22:20:54 +0200 Message-ID: <8196280.CLNGmrtAO5@tauon.chronox.de> In-Reply-To: <20200514190734.32746-3-l.stelmach@samsung.com> References: <20200514190734.32746-1-l.stelmach@samsung.com> <20200514190734.32746-3-l.stelmach@samsung.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Sender: linux-samsung-soc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-samsung-soc@vger.kernel.org Am Donnerstag, 14. Mai 2020, 21:07:34 CEST schrieb =C5=81ukasz Stelmach: Hi =C5=81ukasz, > The value has been estimaded by obtainig 1024 chunks of data 128 bytes > (1024 bits) each from the generator and finding chunk with minimal > entropy using the ent(1) tool. The value was 6.332937 bits of entropy > in each 8 bits of data. Dto - see the other comment. Ciao Stephan