]> git.dujemihanovic.xyz Git - u-boot.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)
commit0d795c356a8ac1d878ea5f0ebd5e222bf14d26ed
tree8d6310b88897b4b4c45f8a97b8260b00ac18c5e3
parentcf7aa035433a73969a8e7b8e3261410bdeb0a214
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]