u-boot/lib
Masahisa Kojima aa1b504927 efi_selftest: add selftest for EFI_TCG2_PROTOCOL and Measured Boot
This commit adds the missing EFI_TCG2_PROTOCOL selftest
and Measured Boot selftest in lib/efi_selftest.

This selftest includes PE/COFF image measurement test, some PCR values are
different in each architecture. With that, this commit also adds pre-built
versions of lib/efi_selftest/efi_miniapp_file_image_exit.c for PE/COFF
image measurement test for 32-bit arm, arm64, ia32, x86_64, riscv32 and
riscv64. Prebuilding avoids the problem of reproducible builds.

Signed-off-by: Masahisa Kojima <masahisa.kojima@linaro.org>

Make the test 'onrequest'.
Add code comments to the includes with the binaries.
Reviewed-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
2021-11-07 18:36:55 +01:00
..
acpi acpi: Use U-Boot version for OEM_REVISION 2021-10-06 09:15:14 -04:00
aes
at91
bzip2
crypt Kconfig: Drop duplicate 'select SHA512' instances 2021-09-09 11:11:33 -04:00
crypto lib: Rename rsa-checksum.c to hash-checksum.c 2021-04-14 15:06:08 -04:00
dhry global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
ecdsa lib: ecdsa: Implement UCLASS_ECDSA verification on target 2021-08-16 10:49:35 +02:00
efi efi: Add a way to obtain boot services in the app 2021-11-07 18:36:55 +01:00
efi_driver efi_loader: Drop code that doesn't work with driver model 2021-10-21 03:46:03 +02:00
efi_loader efi: Create a 64-bit app 2021-11-07 18:36:55 +01:00
efi_selftest efi_selftest: add selftest for EFI_TCG2_PROTOCOL and Measured Boot 2021-11-07 18:36:55 +01:00
libavb
libfdt
lzma
lzo
optee fdtdec: Support reserved-memory flags 2021-10-13 14:18:30 -07:00
rsa lib: rsa: rsa-verify: also check that padding is not NULL 2021-10-26 15:26:45 -04:00
tizen
zlib
zstd zstd: Create a function for use from U-Boot 2021-10-08 15:53:26 -04:00
.gitignore
abuf.c Add support for an owned buffer 2021-10-08 15:53:26 -04:00
addr_map.c lib: addr_map: Move address_map[] type to the header file 2021-03-05 10:25:43 +05:30
aes.c
asm-offsets.c arm64: Fix relocation of env_addr if POSITION_INDEPENDENT=y 2021-06-28 14:47:10 -04:00
asn1_decoder.c
bch.c
binman.c binman: Show a message when changing subnodes 2021-03-27 15:04:31 +13:00
bitrev.c
charset.c lib/charset: UTF-8 stream conversion 2021-03-07 17:37:13 +01:00
circbuf.c
crc7.c
crc8.c
crc16.c
crc32.c crc32: Add crc32 implementation using __builtin_aarch64_crc32b 2021-09-23 14:15:32 -04:00
crc32c.c
ctype.c
date.c lib: remove superfluous #ifdefs from date.c 2021-07-12 20:30:48 +02:00
display_options.c version: Move version_string[] from version.h to version_string.h 2021-09-17 12:10:44 -04:00
div64.c
elf.c
errno.c sandbox: errno: avoid conflict with libc's errno 2021-05-24 14:21:30 -04:00
errno_str.c
fdt-libcrypto.c lib/rsa: Make fdt_add_bignum() available outside of RSA code 2021-04-14 15:06:08 -04:00
fdtdec.c sandbox: Remove OF_HOSTFILE 2021-10-27 16:38:26 -04:00
fdtdec_common.c
fdtdec_test.c fdtdec: Support reserved-memory flags 2021-10-13 14:18:30 -07:00
getopt.c
gunzip.c gzip: Avoid use of u64 2021-10-08 15:53:26 -04:00
gzip.c
hang.c serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
hash-checksum.c image: Drop unnecessary #ifdefs from image.h 2021-10-08 15:53:27 -04:00
hashtable.c
hexdump.c hexdump: Allow ctrl-c to interrupt output 2021-06-08 11:39:09 -04:00
image-sparse.c fastboot: Fix overflow when calculating chunk size 2021-06-01 16:48:54 -04:00
Kconfig image: Use the correct checks for CRC32 2021-10-08 15:53:26 -04:00
ldiv.c
linux_compat.c
linux_string.c
list_sort.c
lmb.c image: Drop IMAGE_ENABLE_OF_LIBFDT 2021-10-08 15:53:26 -04:00
lz4.c
lz4_wrapper.c lz4: Use a private header for U-Boot 2021-10-09 13:09:56 -04:00
Makefile image: Use the correct checks for CRC32 2021-10-08 15:53:26 -04:00
md5.c Prepare v2021.10-rc4 2021-09-16 10:29:40 -04:00
membuff.c
net_utils.c global: Convert simple_strtoul() with decimal to dectoul() 2021-08-02 13:32:14 -04:00
of_live.c
oid_registry.c
panic.c
physmem.c
qsort.c
rand.c
rational.c lib: rational: copy the rational fraction lib routines from Linux 2021-06-11 16:34:52 +05:30
rbtree.c
rc4.c
rtc-lib.c lib: move rtc-lib.c to lib 2021-07-14 16:57:35 -04:00
sha1.c
sha256.c
sha512.c lib: Drop SHA512_ALGO in lieu of SHA512 2021-09-08 16:11:46 -04:00
slre.c
smbios-parser.c efi_loader: add SMBIOS table measurement 2021-10-26 17:58:14 +02:00
smbios.c smbios: error handling for invalid addresses 2021-07-24 10:49:51 +02:00
sscanf.c
string.c lib: Add memdup() 2021-10-08 15:53:26 -04:00
strto.c lib: Allow using 0x when a decimal value is requested 2021-08-02 13:32:14 -04:00
tables_csum.c
time.c
tiny-printf.c net: Rename SPL_NET_SUPPORT to SPL_NET 2021-09-04 12:48:53 -04:00
tpm-common.c tpm: Check outgoing command size 2021-07-15 18:42:05 -04:00
tpm-utils.h
tpm-v1.c tpm: Switch TPMv1 over to use the new API 2021-03-02 15:53:37 -05:00
tpm-v2.c efi_loader: add EFI_TCG2_PROTOCOL.SubmitCommand 2021-11-07 18:36:55 +01:00
tpm_api.c tpm: Add TPM2 support for write_lock 2021-03-02 15:53:37 -05:00
trace.c treewide: Convert macro and uses of __section(foo) to __section("foo") 2021-05-24 14:21:30 -04:00
uuid.c lib: uuid: fix the test on RNG device presence 2021-10-26 15:26:45 -04:00
vsprintf.c global: Convert simple_strtoul() with hex to hextoul() 2021-08-02 13:32:14 -04:00
xxhash.c