Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1631503pxb; Thu, 4 Mar 2021 17:00:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJycPKypeayTf7Yej0u3mwmHoJL0SICsZ17NROWpj+F7i0Nxn0XgHzXnG9HglE37MX8Jo18V X-Received: by 2002:a05:6e02:1d85:: with SMTP id h5mr6687727ila.246.1614906022679; Thu, 04 Mar 2021 17:00:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614906022; cv=none; d=google.com; s=arc-20160816; b=Y0EhKInw1tbUCFcr3K8fVSN/KSZCvSzybW7nMgzIUXnNiguQUygsgYZugQSFhCLfiM pnX3gh2ExYQre3rWsd/6RDn6cpMZGBRLCgA0YxY0JOfh9WrS8l00yab8E5rvIPq2rDHd uXRMsJX9toCNoHTnBsnP+dQ7kbRVKRhZPELJjf3gXXvafy1mEe5v6GGu2lhv6vjpd8B0 Vzcm/hX164qNvTadgNsOav+0DJYfT5Mtfn2kflg8BgPKwQVcqu6ZhYoqNDTshACQhUs+ LJlxGHpEpfK08/JqSpjTgp7wTqjt7eM/DBhDSE+mmMIVqgNjXYE/r3vUTO3R5a69YU7x BmFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=QGTkbMjMvhOjPNZj43kjGavXYdondmbyryts8KXSdm8=; b=tbxdFD2p9mMrPd0PU9g7vMRk2atYhFWg+RHaMA6bBjPuPN7vzEt1NyRyZHnvQze7z9 6qNSmfP7XarZVArAFMqvE4m8kjs1rtFHXSxUKOnJ2F4XcU8lvJhfJtYWKiqxdUEs2MPK A2DMAewYMnl+fVmsIAUmIljU4KgFsbgSQo8ZPwcpMOCjmZ3z1bvCJrHQ0Ik92qkodH6u tDj5EKcLpXxcV++KVAHGRgx8Kx6fM9qxXMiYroGtBZqeQ44wiYEVlVxr5QfDn4Fz6X6x WITfU0sCLjRkSEk4XPRUbdzlRRnkIKp3lR0NLJNiLiGQRqsF/yG/mwSDZOGfYcx4ACIM Z38Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JqZEFh+w; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b16si844829ile.47.2021.03.04.17.00.09; Thu, 04 Mar 2021 17:00:22 -0800 (PST) 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=pass header.i=@gmail.com header.s=20161025 header.b=JqZEFh+w; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229589AbhCDW2i (ORCPT + 99 others); Thu, 4 Mar 2021 17:28:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229580AbhCDW2i (ORCPT ); Thu, 4 Mar 2021 17:28:38 -0500 Received: from mail-pj1-x102f.google.com (mail-pj1-x102f.google.com [IPv6:2607:f8b0:4864:20::102f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F3C10C061574; Thu, 4 Mar 2021 14:28:37 -0800 (PST) Received: by mail-pj1-x102f.google.com with SMTP id t9so115838pjl.5; Thu, 04 Mar 2021 14:28:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=QGTkbMjMvhOjPNZj43kjGavXYdondmbyryts8KXSdm8=; b=JqZEFh+wZYnJFc/Bu22qdeo3ii9XTxXA9kmc/tAu4o9lcuHsP3F86LIxig6PvLmgcH bWPDgM00KhiBP69mezT53poyGGxvkKW7BKRpPOIaCvz+LlW/fXur4kgJGPsDf2/1lH6R ZMS2V933XoGopl2K1ea/6My6k8xlhpFX2j16BizgmSJ13S7qDon8t4OpGZGyZPiSrutj 1N94UnlEWgynMNh6slC8dDtEPfTp7PLWu2vHtq19iEHPskcOr/E4QZIpUUugwCAIHXwU 5ySA8W0h92985B9g+B3iao4y+JAgQ4vXsTzIvCbM6ip8nlen4hJRxozB9RAwKvGThg73 nXvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=QGTkbMjMvhOjPNZj43kjGavXYdondmbyryts8KXSdm8=; b=n+tpmPmz1uvTNbgz5vCA0dhJKK8tGHnOcX/8x1fY/u+cSaFnzVzjTChyDF1pnKqof9 Q/YNDq2BrPOSFVE63v2+aRXjAhuSqxEfNxszOiYQcD3tUrvkmi966oB8VshlfNVbXyfj BghsmWAug6KFKZXEUu9dT6SAigKvNfWVfHSfJSHMFlevJLf9bdb8Vfg5qkuNz9aGXURN i10L/chYKEi9aEWSx1E6n3RXGV6wE3gkceYHdAy1iTRrHi8SQk/OtsnotshIHJjDxzsG 0oDRnp22+Z/KeMAaOxF+vXONyAxyn6CeO5RxMNcJkdyJqozOX/7eye2Z6Y+2A3iKJlqN 0aSQ== X-Gm-Message-State: AOAM53068wogM1wsNaQnKAkCYS8gxrfGJkbGPRcxq+q47ZdGUvaW+Wxd CYCTMrmLvOmYPvio7JIHEzI= X-Received: by 2002:a17:90a:2a46:: with SMTP id d6mr6644334pjg.197.1614896917115; Thu, 04 Mar 2021 14:28:37 -0800 (PST) Received: from [10.67.49.104] ([192.19.223.252]) by smtp.googlemail.com with ESMTPSA id o9sm369137pfh.47.2021.03.04.14.28.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 04 Mar 2021 14:28:36 -0800 (PST) Subject: Re: [PATCH] hwrng: bcm2835: set quality to 1000 To: Nicolas Saenz Julienne , Florian Fainelli Cc: =?UTF-8?Q?=c3=81lvaro_Fern=c3=a1ndez_Rojas?= , Herbert Xu , Andrew Lunn , Matt Mackall , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com, Rikard Falkeborn , linux-crypto@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, stijn@linux-ipv6.be, ynezz@true.cz References: <20210220174741.23665-1-noltari@gmail.com> <9b86c773-7153-1e18-472a-f66b01c83173@gmail.com> <20210303092019.GB8134@gondor.apana.org.au> <66AED5A4-3227-47CA-A4A2-B5AD6A571AAC@gmail.com> From: Florian Fainelli Message-ID: Date: Thu, 4 Mar 2021 14:28:34 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On 3/4/21 7:11 AM, Nicolas Saenz Julienne wrote: > On Wed, 2021-03-03 at 10:29 +0100, Álvaro Fernández Rojas wrote: >> Hi Herbert, >> >>> El 3 mar 2021, a las 10:20, Herbert Xu escribió: >>> >>> On Sat, Feb 20, 2021 at 08:12:45PM +0100, Álvaro Fernández Rojas wrote: >>>> >>>> I ran rngtest and this is what I got: >>> >>> This is meaningless except for sources that have not been whitened. >>> >>> Your justification needs to be based on what the hardware does or >>> is documented to do. >> >> Ok, so I guess that we’re never setting that value to anything since there’s >> no public documentation about that ¯\_(ツ)_/¯. > > @Florian, is there a way you might be able to get the official value? I will be looking into the documentation this weekend and let you know whether we can change the driver's quality accordingly. -- Florian