Re: [PATCH v3] random: fix add_hwgenerator_randomness entropy accounting
From: Jason A. Donenfeld
Date: Mon Apr 04 2022 - 17:52:17 EST
Hi Jan,
On Mon, Apr 4, 2022 at 6:43 PM Jan Varho <jan.varho@xxxxxxxxx> wrote:
>
> add_hwgenerator_randomness tries to only use the required amound of input
> for fast init, but credits all the entropy if even a byte was left over.
>
> Fix by not crediting entropy when using the input for fast init.
Looks good, thanks. Applied as
https://git.kernel.org/pub/scm/linux/kernel/git/crng/random.git/commit/?id=527a9867
Jason