mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 0/5] HWRNG: add support for HW Random Number Generators
@ 2016-02-26 12:04 Steffen Trumtrar
  2016-02-26 12:04 ` [PATCH 1/5] drivers: add simple hw_random implementation Steffen Trumtrar
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Steffen Trumtrar @ 2016-02-26 12:04 UTC (permalink / raw)
  To: barebox; +Cc: Steffen Trumtrar

Hi!

This series adds support for registering a /dev/hwrng like in a
linux system.

Tested with the i.MX25 RNG, that is also added.

Regards,
Steffen

Steffen Trumtrar (5):
  drivers: add simple hw_random implementation
  lib: random: get_random_bytes from HWRNG if present
  ARM: imx25: clk: add rngb clock
  ARM: i.MX25: dtsi: add rng node
  hw_random: add driver for Freescale RNGC

 arch/arm/dts/imx25.dtsi       |  11 ++
 arch/arm/mach-imx/clk-imx25.c |   5 +-
 drivers/Kconfig               |   1 +
 drivers/Makefile              |   1 +
 drivers/hw_random/Kconfig     |  17 +++
 drivers/hw_random/Makefile    |   2 +
 drivers/hw_random/core.c      | 110 +++++++++++++++
 drivers/hw_random/mxc-rngc.c  | 311 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/hw_random.h     |  44 ++++++
 lib/random.c                  |  19 +++
 10 files changed, 519 insertions(+), 2 deletions(-)
 create mode 100644 drivers/hw_random/Kconfig
 create mode 100644 drivers/hw_random/Makefile
 create mode 100644 drivers/hw_random/core.c
 create mode 100644 drivers/hw_random/mxc-rngc.c
 create mode 100644 include/linux/hw_random.h

-- 
2.7.0


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

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

end of thread, other threads:[~2016-02-29 13:45 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-26 12:04 [PATCH 0/5] HWRNG: add support for HW Random Number Generators Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 1/5] drivers: add simple hw_random implementation Steffen Trumtrar
2016-02-29  7:06   ` Sascha Hauer
2016-02-26 12:04 ` [PATCH 2/5] lib: random: get_random_bytes from HWRNG if present Steffen Trumtrar
2016-02-26 20:28   ` Jason Cooper
2016-02-29 13:45     ` Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 3/5] ARM: imx25: clk: add rngb clock Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 4/5] ARM: i.MX25: dtsi: add rng node Steffen Trumtrar
2016-02-26 12:04 ` [PATCH 5/5] hw_random: add driver for Freescale RNGC Steffen Trumtrar
2016-02-29  7:33   ` Sascha Hauer

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