public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 0/1] This patch adds support for the entropy generator present in
@ 2024-01-20 13:27 Max Resch
  2024-01-20 13:27 ` [PATCH 1/1] add turris-rwtm-rng from CZ.NIC rWTM Firmware Max Resch
  0 siblings, 1 reply; 3+ messages in thread
From: Max Resch @ 2024-01-20 13:27 UTC (permalink / raw)
  To: u-boot; +Cc: sr, Max Resch

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-01-20 14:46 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-01-20 13:27 [PATCH 0/1] This patch adds support for the entropy generator present in Max Resch
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox