From: Dominik Brodowski <linux@dominikbrodowski.net>
To: "Jason A. Donenfeld" <Jason@zx2c4.com>
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:04:53 +0200 [thread overview]
Message-ID: <YxiW9doIXhbZBd+V@shine.dominikbrodowski.net> (raw)
In-Reply-To: <YxiWajR2FEW6YRud@zx2c4.com>
Hi Jason,
Am Wed, Sep 07, 2022 at 03:02:34PM +0200 schrieb Jason A. Donenfeld:
> 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?
Sounds good. Thanks!
Dominik
next prev parent reply other threads:[~2022-09-07 13:33 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-04 10:17 Dominik Brodowski
2022-09-07 13:02 ` Jason A. Donenfeld
2022-09-07 13:04 ` Dominik Brodowski [this message]
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=YxiW9doIXhbZBd+V@shine.dominikbrodowski.net \
--to=linux@dominikbrodowski.net \
--cc=Jason@zx2c4.com \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®