Messages in this thread | | | From | "Jason A. Donenfeld" <> | Date | Thu, 22 Sep 2022 16:38:40 +0200 | Subject | Re: [PATCH] random: throttle hwrng writes if no entropy is credited |
| |
On Thu, Sep 22, 2022 at 4:01 PM Dominik Brodowski <linux@dominikbrodowski.net> wrote: > > Hi Jason, > > thanks for splitting this change out of my other patch. You can add my > Signed-off-by, but I'd like to suggest rewriting the commit message as > follows (please modify as needed): > > > In case a hwrng source does not provide (trusted) entropy, it cannot > assist in initializing the CRNG. Therefore, in case > add_hwgenerator_randomness() is called with the entropy parameter set > to zero, go to sleep until one reseed interval has passed. > > While the hwrng thread currently only runs under conditions where this > is non-zero, this change is not harmful and prepares for future updates > to the hwrng core.
Will do.
| |