[PATCH] rockchip: board: Increase rng-seed size to make it sufficient for modern Linux

Marek Vasut marex at denx.de
Mon Oct 14 20:41:29 CEST 2024


On 10/14/24 8:12 PM, Alex ThreeD wrote:
> On Mon, Oct 14, 2024 at 1:34 PM Marek Vasut <marex at denx.de> wrote:
>>
>>> Actually it seems that entropy required to init pool early has decreased in
>>> Linux 5.19 from 64 bytes (2 * CHACHA_KEY_SIZE) to 32 bytes
>>> (BLAKE2S_HASH_SIZE)
>>
>> A couple more random numbers would cover all the bases then.
> 
> Oops, missed this in v2. Is it vital to add support for 2.5 years old linux?

Some of those old kernel versions are LTS and are going to be maintained 
for a while, so yes.

> Old devices probably stay with older uboot, and new devices will get new linux
> (maybe not that new but not 2.5 years old).

It is easy to cover all the based, so let's do that.


More information about the U-Boot mailing list