All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexander Kanavin <alex.kanavin@gmail.com>
To: wak@google.com
Cc: Wes Malone <wes@mitsi.com>, openembedded-core@lists.openembedded.org
Subject: Re: [OE-core] [PATCH] rng-tools: disable libjitterentropy due to cpu usage
Date: Tue, 3 May 2022 06:46:58 +0200	[thread overview]
Message-ID: <CANNYZj-19bZmShcS4ws_3hDKpxiir7-abo5M-_WEiEUUCCK25Q@mail.gmail.com> (raw)
In-Reply-To: <CAPnigKkL5LeyUj5NGwb0iYOeEBGSvm0FAO25zmVD2G9KATEijg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1967 bytes --]

Yes, I wonder why this needs to be disabled altogether at build time. Can’t
rng-tools figure out the right sources at run time?

Alex

On Mon 2. May 2022 at 23.33, William A. Kennington III via
lists.openembedded.org <wak=google.com@lists.openembedded.org> wrote:

> Isn't this desirable if you don't have an hwrng? We want to generate
> entropy so we can perform cryptographic operations by default if we
> bring in rng-tools.
>
> On Mon, May 2, 2022 at 2:10 PM Wes Malone <wes@mitsi.com> wrote:
> >
> > After boot rngd maxes out the processor initializing JITTER entropy for
> > some minutes. Here we disable libjitterentropy in favor of only using
> > the hardware random source via config.
> >
> > Signed-off-by: Wes Malone <wes@mitsi.com>
> > ---
> >  meta/recipes-support/rng-tools/rng-tools_6.15.bb | 1 -
> >  1 file changed, 1 deletion(-)
> >
> > diff --git a/meta/recipes-support/rng-tools/rng-tools_6.15.bb
> b/meta/recipes-support/rng-tools/rng-tools_6.15.bb
> > index 0696351903..4eed060960 100644
> > --- a/meta/recipes-support/rng-tools/rng-tools_6.15.bb
> > +++ b/meta/recipes-support/rng-tools/rng-tools_6.15.bb
> > @@ -21,7 +21,6 @@ inherit autotools update-rc.d systemd pkgconfig
> >
> >  EXTRA_OECONF = "--without-rtlsdr"
> >
> > -PACKAGECONFIG ??= "libjitterentropy"
> >  PACKAGECONFIG:libc-musl = "libargp libjitterentropy"
> >
> >  PACKAGECONFIG[libargp] =
> "--with-libargp,--without-libargp,argp-standalone,"
> > --
> > 2.36.0
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#165177):
> https://lists.openembedded.org/g/openembedded-core/message/165177
> Mute This Topic: https://lists.openembedded.org/mt/90845997/1686489
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> alex.kanavin@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3540 bytes --]

  reply	other threads:[~2022-05-03  4:47 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-02 21:10 [PATCH] rng-tools: disable libjitterentropy due to cpu usage Wes Malone
2022-05-02 21:10 ` Wes Malone
2022-05-02 21:33   ` [OE-core] " William Kennington
2022-05-03  4:46     ` Alexander Kanavin [this message]
2022-05-03 15:22       ` Wes Malone
2022-05-03 16:21         ` Khem Raj
2022-05-05 21:34           ` Wes Malone
2022-05-05 22:50             ` Khem Raj

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=CANNYZj-19bZmShcS4ws_3hDKpxiir7-abo5M-_WEiEUUCCK25Q@mail.gmail.com \
    --to=alex.kanavin@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    --cc=wak@google.com \
    --cc=wes@mitsi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.