Re: [PATCH 4/6] openrisc: re-randomize rng-seed on reboot

2022-09-30 Thread Bin Meng
On Fri, Sep 30, 2022 at 7:26 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 h

[PATCH 4/6] openrisc: re-randomize rng-seed on reboot

2022-09-29 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: Stafford Horne Signed-of