From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from metis.ext.pengutronix.de ([2001:67c:670:201:290:27ff:fe1d:cc33]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cqKLH-0003E2-5q for barebox@lists.infradead.org; Tue, 21 Mar 2017 14:00:57 +0000 From: Oleksij Rempel Date: Tue, 21 Mar 2017 15:00:17 +0100 Message-Id: <20170321140025.25784-1-o.rempel@pengutronix.de> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "barebox" Errors-To: barebox-bounces+u.kleine-koenig=pengutronix.de@lists.infradead.org Subject: [PATCH v6 0/8] upstream hwrng framework To: barebox@lists.infradead.org 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 changes v5: - make cmd_seed fail if no VALUE is set changes v6: - reword second patch and remove useless if (bytes > lenght) check. Oleksij Rempel (6): lib: random: add get_crypto_bytes interface and use HWRNG if posssible 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 Sascha Hauer (1): Release v2017.02.0 Steffen Trumtrar (1): drivers: add simple hw_random implementation Makefile | 2 +- commands/Kconfig | 6 +++ commands/Makefile | 1 + commands/seed.c | 44 +++++++++++++++++ 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 | 56 ++++++++++++++++++++++ 17 files changed, 328 insertions(+), 31 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