hwrng: add sandbox driver interface to host /dev/random
Linux as well as other operating systems can provide /dev/random and
/dev/urandom device to service userspace need for randomness.
Add a driver to use /dev/random for blocking and /dev/urandom for
non-blocking barebox random numbers.

Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent c7d68aa commit 9feb86e11d491981c0848a8923d0407d2f9abf0d
@Ahmad Fatoum Ahmad Fatoum authored on 9 Sep 2019
Sascha Hauer committed on 9 Sep 2019
Showing 7 changed files
View
arch/sandbox/board/Makefile
View
arch/sandbox/board/board.c
View
arch/sandbox/board/dev-random.c 0 → 100644
View
arch/sandbox/mach-sandbox/include/mach/linux.h
View
drivers/hw_random/Kconfig
View
drivers/hw_random/Makefile
View
drivers/hw_random/dev-random.c 0 → 100644