summaryrefslogtreecommitdiffstats
path: root/lib/efi_selftest/Makefile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2019-12-28 15:40:40 +0100
committerHeinrich Schuchardt <xypron.glpk@gmx.de>2020-01-07 18:08:22 +0100
commit7d6f16fbde9a03adc7d85b8809cb16dbc5e311f9 (patch)
treecde12ca5bbf8b6add5a2a3aea8b967c9043da17a /lib/efi_selftest/Makefile
parent33c37d9784168ac75be91e890329712d9a849539 (diff)
downloadu-boot-7d6f16fbde9a03adc7d85b8809cb16dbc5e311f9.tar.gz
u-boot-7d6f16fbde9a03adc7d85b8809cb16dbc5e311f9.tar.xz
u-boot-7d6f16fbde9a03adc7d85b8809cb16dbc5e311f9.zip
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>
Diffstat (limited to 'lib/efi_selftest/Makefile')
-rw-r--r--lib/efi_selftest/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/efi_selftest/Makefile b/lib/efi_selftest/Makefile
index 487cb4c674..3ad96e1cbf 100644
--- a/lib/efi_selftest/Makefile
+++ b/lib/efi_selftest/Makefile
@@ -47,6 +47,7 @@ efi_selftest_unicode_collation.o
obj-$(CONFIG_CPU_V7) += efi_selftest_unaligned.o
obj-$(CONFIG_EFI_LOADER_HII) += efi_selftest_hii.o
+obj-$(CONFIG_EFI_RNG_PROTOCOL) += efi_selftest_rng.o
obj-$(CONFIG_EFI_GET_TIME) += efi_selftest_rtc.o
ifeq ($(CONFIG_GENERATE_ACPI_TABLE),)