Home
last modified time | relevance | path

Searched hist:"7 b5164fb1279bf0251371848e40bae646b59b3a8" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/char/
H A Drandom.cdiff 7b5164fb1279bf0251371848e40bae646b59b3a8 Wed Feb 09 18:42:13 CET 2022 Jason A. Donenfeld <Jason@zx2c4.com> random: zero buffer after reading entropy from userspace

This buffer may contain entropic data that shouldn't stick around longer
than needed, so zero out the temporary buffer at the end of write_pool().

Reviewed-by: Dominik Brodowski <linux@dominikbrodowski.net>
Reviewed-by: Jann Horn <jannh@google.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>