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

Alex ThreeD alexthreed at gmail.com
Mon Oct 14 20:12:51 CEST 2024


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?
Old devices probably stay with older uboot, and new devices will get new linux
(maybe not that new but not 2.5 years old).


More information about the U-Boot mailing list