]> git.dujemihanovic.xyz Git - u-boot.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)
commit7d6f16fbde9a03adc7d85b8809cb16dbc5e311f9
treecde12ca5bbf8b6add5a2a3aea8b967c9043da17a
parent33c37d9784168ac75be91e890329712d9a849539
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]