mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH v4 0/7] upstream hwrng framework
@ 2017-03-21  9:24 Oleksij Rempel
  2017-03-21  9:24 ` [PATCH v4 1/7] drivers: add simple hw_random implementation Oleksij Rempel
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: Oleksij Rempel @ 2017-03-21  9:24 UTC (permalink / raw)
  To: barebox; +Cc: Oleksij Rempel

changes v1:
 - initial version

changes v2:
 - drop Freescale RNGC for now. It need more testing
 - add caamrng port
 - fix hwrng_init()
 - fix hwrng_get_first check in get_random_bytes

changes v3:
 - check if hwrng_get_data returns error
 - provide /dev/randomdd random device

changes v4:
 - provide get_crypto_bytes() interface.
 - add CONFIG_ALLOW_PRNG_FALLBACK
 - make cmd_password use get_crypto_bytes
 - add cmd_seed

Oleksij Rempel (5):
  caamrng: port to hwrng framework
  fs: add prng device
  crypto: caam - fix RNG buffer cache alignment
  common: password: make use of get_crypto_bytes
  add seed command

Steffen Trumtrar (2):
  drivers: add simple hw_random implementation
  lib: random: get_random_bytes from HWRNG if present

 commands/Kconfig              |   6 +++
 commands/Makefile             |   1 +
 commands/seed.c               |  48 +++++++++++++++++++
 commands/stddev.c             |  29 ++++++++++++
 common/password.c             |   6 ++-
 drivers/Kconfig               |   1 +
 drivers/Makefile              |   1 +
 drivers/crypto/caam/Kconfig   |   1 +
 drivers/crypto/caam/caamrng.c |  44 ++++++-----------
 drivers/hw_random/Kconfig     |   6 +++
 drivers/hw_random/Makefile    |   1 +
 drivers/hw_random/core.c      | 108 ++++++++++++++++++++++++++++++++++++++++++
 include/linux/hw_random.h     |  43 +++++++++++++++++
 include/stdlib.h              |   1 +
 lib/Kconfig                   |   9 ++++
 lib/random.c                  |  58 +++++++++++++++++++++++
 16 files changed, 333 insertions(+), 30 deletions(-)
 create mode 100644 commands/seed.c
 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 include/linux/hw_random.h

-- 
2.11.0


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

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

end of thread, other threads:[~2017-03-21  9:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-21  9:24 [PATCH v4 0/7] upstream hwrng framework Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 1/7] drivers: add simple hw_random implementation Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 2/7] lib: random: get_random_bytes from HWRNG if present Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 3/7] caamrng: port to hwrng framework Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 4/7] fs: add prng device Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 5/7] crypto: caam - fix RNG buffer cache alignment Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 6/7] common: password: make use of get_crypto_bytes Oleksij Rempel
2017-03-21  9:24 ` [PATCH v4 7/7] add seed command Oleksij Rempel

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