[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 3/6] riscv: re-randomize rng-seed on reboot
From: |
Bin Meng |
Subject: |
Re: [PATCH 3/6] riscv: re-randomize rng-seed on reboot |
Date: |
Fri, 30 Sep 2022 17:11:26 +0800 |
On Fri, Sep 30, 2022 at 7:24 AM Jason A. Donenfeld <Jason@zx2c4.com> 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 have a pointer to that copy of the FDT.
>
> Cc: Palmer Dabbelt <palmer@dabbelt.com>
> Cc: Alistair Francis <alistair.francis@wdc.com>
> Cc: Bin Meng <bin.meng@windriver.com>
> Cc: qemu-riscv@nongnu.org
> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
> ---
> hw/riscv/boot.c | 3 +++
> 1 file changed, 3 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
- [PATCH 1/6] device-tree: add re-randomization helper function, Jason A. Donenfeld, 2022/09/29
- [PATCH 2/6] arm: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/09/29
- [PATCH 3/6] riscv: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/09/29
- Re: [PATCH 3/6] riscv: re-randomize rng-seed on reboot,
Bin Meng <=
- [PATCH 4/6] openrisc: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/09/29
- [PATCH 5/6] rx: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/09/29
- [PATCH 6/6] mips: re-randomize rng-seed on reboot, Jason A. Donenfeld, 2022/09/29
- Re: [PATCH 1/6] device-tree: add re-randomization helper function, Bin Meng, 2022/09/30