[PATCH 0/1] This patch adds support for the entropy generator present in

Max Resch resch.max at gmail.com
Sat Jan 20 14:27:22 CET 2024


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



More information about the U-Boot mailing list