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

Max Resch
2024-01-20T13:38:29Z

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