Re: [PATCH v4 05/11] riscv: re-randomize rng-seed on reboot

2022-10-24 Thread Alistair Francis
On Tue, Oct 25, 2022 at 10:47 AM Jason A. Donenfeld wrote: > > When the system reboots, the rng-seed that the FDT has should be > re-randomized, so that the new boot gets a new seed. Since the FDT is in > the ROM region at this point, we add a hook right after the ROM has been > added, so that we

[PATCH v4 05/11] riscv: re-randomize rng-seed on reboot

2022-10-24 Thread Jason A. Donenfeld
When the system reboots, the rng-seed that the FDT has should be re-randomized, so that the new boot gets a new seed. Since the FDT is in the ROM region at this point, we add a hook right after the ROM has been added, so that we have a pointer to that copy of the FDT. Cc: Palmer Dabbelt Cc: Alist