mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 00/12] hw_random: add 6 more RNG drivers
@ 2024-03-13 10:56 Ahmad Fatoum
  2024-03-13 10:56 ` [PATCH 01/12] hw_random: support ctrlc() Ahmad Fatoum
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Ahmad Fatoum @ 2024-03-13 10:56 UTC (permalink / raw)
  To: barebox

While stack protector support can be used without HWRNG, it will
print a warning about the fixed canary to alert to the fact that it
requires a random canary to be able to withstand an attacker.

Linux HWRNG drivers are surprisingly easy to port to barebox though,
so let's import 6 for commonly used platforms.

Notably missing is the CAAM for i.MX8M, which will follow separately.

Ahmad Fatoum (12):
  hw_random: support ctrlc()
  ARM: io: read 32 bits at once for aligned I/O memcpy/memset
  driver: implement dev_platform_get_and_ioremap_resource
  hw_random: add struct hwrng::priv member
  hw_random: remove confusing left-overs from kernel help texts
  hw_random: remove reference to undefined CONFIG_HW_RANDOM
  hw_random: add Atmel RNG driver
  hw_random: add BCM2835 RNG driver
  hw_random: add IPROC RNG200 driver for BCM2711
  hw_random: add Rockchip RNG support
  hw_random: add timeriomem_rng driver
  hw_random: add OMAP RNG driver

 arch/arm/dts/rk356x.dtsi           |   8 +
 arch/arm/lib32/io.c                |  73 +++--
 arch/arm/mach-omap/am33xx_clock.c  |   5 +
 drivers/base/driver.c              |  19 ++
 drivers/hw_random/Kconfig          |  50 +++-
 drivers/hw_random/Makefile         |   6 +
 drivers/hw_random/atmel-rng.c      | 165 +++++++++++
 drivers/hw_random/bcm2835-rng.c    | 199 +++++++++++++
 drivers/hw_random/core.c           |   8 +-
 drivers/hw_random/iproc-rng200.c   | 220 +++++++++++++++
 drivers/hw_random/omap-rng.c       | 436 +++++++++++++++++++++++++++++
 drivers/hw_random/rockchip-rng.c   | 259 +++++++++++++++++
 drivers/hw_random/timeriomem-rng.c | 145 ++++++++++
 include/driver.h                   |   4 +
 include/linux/clk.h                |  33 +++
 include/linux/hw_random.h          |   6 +
 include/mach/omap/am33xx-clock.h   |   1 +
 17 files changed, 1613 insertions(+), 24 deletions(-)
 create mode 100644 drivers/hw_random/atmel-rng.c
 create mode 100644 drivers/hw_random/bcm2835-rng.c
 create mode 100644 drivers/hw_random/iproc-rng200.c
 create mode 100644 drivers/hw_random/omap-rng.c
 create mode 100644 drivers/hw_random/rockchip-rng.c
 create mode 100644 drivers/hw_random/timeriomem-rng.c

-- 
2.39.2




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

end of thread, other threads:[~2024-03-15  7:08 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-13 10:56 [PATCH 00/12] hw_random: add 6 more RNG drivers Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 01/12] hw_random: support ctrlc() Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 02/12] ARM: io: read 32 bits at once for aligned I/O memcpy/memset Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 03/12] driver: implement dev_platform_get_and_ioremap_resource Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 04/12] hw_random: add struct hwrng::priv member Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 05/12] hw_random: remove confusing left-overs from kernel help texts Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 06/12] hw_random: remove reference to undefined CONFIG_HW_RANDOM Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 07/12] hw_random: add Atmel RNG driver Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 08/12] hw_random: add BCM2835 " Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 09/12] hw_random: add IPROC RNG200 driver for BCM2711 Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 10/12] hw_random: add Rockchip RNG support Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 11/12] hw_random: add timeriomem_rng driver Ahmad Fatoum
2024-03-13 10:56 ` [PATCH 12/12] hw_random: add OMAP RNG driver Ahmad Fatoum
2024-03-15  7:07 ` [PATCH 00/12] hw_random: add 6 more RNG drivers Sascha Hauer

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