]> git.baikalelectronics.ru Git - uboot.git/commit
Uboot RNG Driver using Data Co-processor
authorKshitiz Varshney <kshitiz.varshney@nxp.com>
Thu, 22 Dec 2022 08:50:27 +0000 (09:50 +0100)
committerTom Rini <trini@konsulko.com>
Thu, 12 Jan 2023 16:25:46 +0000 (11:25 -0500)
commitc098df9966568ad4294610c3cb445a6f6df5e4d7
tree8d6310b88897b4b4c45f8a97b8260b00ac18c5e3
parentafb1063e9a42e9ab329213e27f5716e840b4e617
Uboot RNG Driver using Data Co-processor

This commit introduces Random number generator to uboot. It uses DCP
driver for number generation.
RNG driver can be invoked by using below command on uboot prompt:-
           rng <number of bytes>

Signed-off-by: Kshitiz Varshney <kshitiz.varshney@nxp.com>
Reviewed-by: Ye Li <ye.li@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/crypto/fsl/Kconfig
drivers/crypto/fsl/Makefile
drivers/crypto/fsl/dcp_rng.c [new file with mode: 0644]