diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-11-16 17:16:42 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2022-11-22 14:53:36 +0100 |
commit | e7b813b32a42a3a6281a4fd9ae7700a0257c1d50 (patch) | |
tree | 495840781b62b3861c3857eac2b3d67944509f7e /drivers/char | |
parent | vsprintf: initialize siphash key using notifier (diff) | |
download | linux-e7b813b32a42a3a6281a4fd9ae7700a0257c1d50.tar.xz linux-e7b813b32a42a3a6281a4fd9ae7700a0257c1d50.zip |
efi: random: refresh non-volatile random seed when RNG is initialized
EFI has a rather unique benefit that it has access to some limited
non-volatile storage, where the kernel can store a random seed. Register
a notification for when the RNG is initialized, and at that point, store
a new random seed.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'drivers/char')
0 files changed, 0 insertions, 0 deletions