From: "Jason A. Donenfeld" <Jason@zx2c4.com>
To: Dominik Brodowski <linux@dominikbrodowski.net>
Cc: linux-kernel@vger.kernel.org,
Herbert Xu <herbert@gondor.apana.org.au>,
linux-crypto@vger.kernel.org
Subject: Re: [PATCH] random: use hwgenerator randomness more frequently at early boot
Date: Wed, 7 Sep 2022 15:02:34 +0200 [thread overview]
Message-ID: <YxiWajR2FEW6YRud@zx2c4.com> (raw)
In-Reply-To: <20220904101753.3050-1-linux@dominikbrodowski.net>
Hi Dominik,
On Sun, Sep 04, 2022 at 12:17:53PM +0200, Dominik Brodowski wrote:
> Mix in randomness from hw-rng sources more frequently during early
> boot, approximately once for every rng reseed.
Nice idea.
> Jason, if you prefer that this patch can be applied first (as it
> makes sense also independently of the other patch), this ordering
> should be trivial to change.
I'll apply this patch first, yea, since it's independent.
> -static bool crng_has_old_seed(void)
> +static unsigned int crng_interval(void)
crng_reseed_interval() instead?
Jason
next prev parent reply other threads:[~2022-09-07 13:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 10:17 [PATCH] random: use hwgenerator randomness more frequently at early boot Dominik Brodowski
2022-09-07 13:02 ` Jason A. Donenfeld [this message]
2022-09-07 13:04 ` Dominik Brodowski
2022-09-20 13:54 ` [PATCH v2] " Jason A. Donenfeld
2022-09-22 13:35 ` Dominik Brodowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YxiWajR2FEW6YRud@zx2c4.com \
--to=jason@zx2c4.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@dominikbrodowski.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox