Re: [PATCH v2 01/10] random: introduce drain_entropy() helper to declutter crng_reseed()

From: Jason A. Donenfeld
Date: Mon Feb 21 2022 - 09:50:08 EST


On Mon, Feb 21, 2022 at 5:34 AM Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
> Looks good, but perhaps the comment should clarify that drain_entropy() doesn't
> destroy the entropy in the pool, but rather just extracts it and zeroes out the
> entropy counter?

Will do.