aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <[email protected]>2022-09-27 15:08:34 +0200
committerGeert Uytterhoeven <[email protected]>2022-09-28 22:16:44 +0200
commit7c236d93c6764dcaca7ab66d76768a044647876d (patch)
treec8b9aad19088e7e39fe84e923966454aa01bf302 /lib/mpi/mpi-sub-ui.c
parent15f9042311b0ab9c2904d50428f304a6229d6a02 (diff)
m68k: Process bootinfo records before saving them
The RNG seed boot record is memzeroed after processing, in order to preserve forward secrecy. By saving the bootinfo for procfs prior to that, forward secrecy is violated, since it becomes possible to recover past states. So, save the bootinfo block only after first processing them. Fixes: a1ee38ab1a75 ("m68k: virt: Use RNG seed from bootinfo block") Signed-off-by: Jason A. Donenfeld <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Geert Uytterhoeven <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions