]> git.baikalelectronics.ru Git - uboot.git/commit
efi_selftest: unit test for EFI_RNG_PROTOCOL
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 28 Dec 2019 14:40:40 +0000 (15:40 +0100)
committerHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 7 Jan 2020 17:08:22 +0000 (18:08 +0100)
commit1eb0d853a3b43024e5cf724c696111558ab3012a
treecde12ca5bbf8b6add5a2a3aea8b967c9043da17a
parentdb1cd8968537860bd4e4e1c33e9e215f2f0d32a9
efi_selftest: unit test for EFI_RNG_PROTOCOL

Provide a unit test for the EFI_RNG_PROTOCOL.

The list of algorithms is read. Two random numbers are generated. The test
checks that the two numbers differ.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
lib/efi_selftest/Makefile
lib/efi_selftest/efi_selftest_rng.c [new file with mode: 0644]