From: Max Resch <resch.max@gmail.com>
To: u-boot@lists.denx.de
Cc: sr@denx.de, Max Resch <resch.max@gmail.com>
Subject: [PATCH 0/1] This patch adds support for the entropy generator present in
Date: Sat, 20 Jan 2024 14:27:22 +0100 [thread overview]
Message-ID: <20240120132731.35321-1-resch.max@gmail.com> (raw)
the Armada3700 Secure Processor. This rng is onlt accessible
to the rWTM firmware. Currently the CZ.NIC Turris Mox firmware
exposes this.
For the Linux kernel a driver called turris-mox-rwtm exists that
makes use of this feature. This RNG driver for U-Boot tries to do the
same.
For efficiency I chose to cache 4k of enthropy in a ringbuffer.
Max Resch (1):
add turris-rwtm-rng from CZ.NIC rWTM Firmware
drivers/rng/Kconfig | 8 ++
drivers/rng/Makefile | 1 +
drivers/rng/turris_rwtm_rng.c | 143 ++++++++++++++++++++++++++++++++++
3 files changed, 152 insertions(+)
create mode 100644 drivers/rng/turris_rwtm_rng.c
--
2.43.0
next reply other threads:[~2024-01-20 13:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-20 13:27 Max Resch [this message]
2024-01-20 13:27 ` [PATCH 1/1] add turris-rwtm-rng from CZ.NIC rWTM Firmware Max Resch
2024-01-20 14:45 ` Marek Behún
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=20240120132731.35321-1-resch.max@gmail.com \
--to=resch.max@gmail.com \
--cc=sr@denx.de \
--cc=u-boot@lists.denx.de \
/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.