[PATCH 00/12] hw_random: add 6 more RNG drivers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux