summaryrefslogtreecommitdiff
path: root/drivers/char/random.c
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2022-11-16 17:16:42 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2022-11-22 14:53:36 +0100
commite7b813b32a42a3a6281a4fd9ae7700a0257c1d50 (patch)
tree495840781b62b3861c3857eac2b3d67944509f7e /drivers/char/random.c
parent898f1e5c3741ccabda5653f180051cd4aeff3794 (diff)
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/random.c')
0 files changed, 0 insertions, 0 deletions