public inbox for linux-crypto@vger.kernel.org
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: linux-crypto@vger.kernel.org
Cc: "Andrey Smirnov" <andrew.smirnov@gmail.com>,
	"Andrei Botila" <andrei.botila@nxp.com>,
	"Horia Geantă" <horia.geanta@nxp.com>,
	linux-imx@nxp.com
Subject: caam: Possible caam-rng regression since enabling prediction resistance
Date: Fri, 28 Jan 2022 16:33:00 +0100	[thread overview]
Message-ID: <YfQMrBtwKd2Wa+AY@workstation> (raw)

Hi,

I noticed that /dev/hwrng blocks indefinitely on our i.MX6Q (rev1.6)
boards in recent kernel versions.
As it did work before, I ran git bisect and found that reverting the
following commit fixes the issue:
358ba762d9f1 ("crypto: caam - enable prediction resistance in HRWNG")

cat /dev/hwrng | rngtest looks good on Linux 5.15 with aforementioned
commit reverted.
U-Boot version is 2021.07 and the RNG is not instantiated there.

Any ideas what the problem could be with that commit and did you test
the changes on i.MX6 devices?

Let me know if you need more information / debug output / etc.

Best regards,
Clemens

                 reply	other threads:[~2022-01-28 15:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=YfQMrBtwKd2Wa+AY@workstation \
    --to=clemens.gruber@pqgruber.com \
    --cc=andrei.botila@nxp.com \
    --cc=andrew.smirnov@gmail.com \
    --cc=horia.geanta@nxp.com \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-imx@nxp.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox