Re: [PATCH] hwrng: bcm2835: set quality to 1000

From: Álvaro Fernández Rojas
Date: Fri Mar 05 2021 - 01:26:38 EST


Hi Florian,

> El 4 mar 2021, a las 23:28, Florian Fainelli <f.fainelli@xxxxxxxxx> escribió:
>
> 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 <herbert@xxxxxxxxxxxxxxxxxxx> 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.

Could you do that for iproc-rng200.c too?

> --
> Florian

Best regards,
Álvaro.