[PATCH 0/3 v2] extend EFI_TCG2_PROTOCOL support
Ilias Apalodimas
ilias.apalodimas at linaro.org
Mon Nov 30 10:47:38 CET 2020
Hi!
This is v2 of [1].
The issues regarding comments have been addressed and all of the
newly added structures now have Sphinx style comments.
Changes since v1:
- Eventlog size is now a Kconfig instead of a #define. The default
size has been kept to 4096b
- Replaced struct tpm_digest with u8 digest[TPM2_SHA1_DIGEST_SIZE].
This is effectively the same thing, but closer to what the spec defines
- Add Sphinx style comments on new structs
- Remove _put_unaligned_le usage from u8 values
- Remove definitions of algorithms that were duplicated by mistake in
efi_tcg.h
[1] https://lists.denx.de/pipermail/u-boot/2020-November/433629.html
Ilias Apalodimas (3):
tpm: Add tpm2 headers for TCG2 eventlog support
efi_loader: Introduce eventlog support for TCG2_PROTOCOL
cmd: efidebug: Add support for TCG2 final events table
cmd/efidebug.c | 4 +
include/efi_api.h | 4 +
include/efi_tcg2.h | 71 ++++-
include/tpm-v2.h | 82 ++++++
lib/efi_loader/Kconfig | 9 +
lib/efi_loader/efi_setup.c | 12 +-
lib/efi_loader/efi_tcg2.c | 553 +++++++++++++++++++++++++++++++++++--
7 files changed, 711 insertions(+), 24 deletions(-)
--
2.29.2
More information about the U-Boot
mailing list