[PATCH 0/3] tpm: Support boot measurements
ilias.apalodimas at linaro.org
Wed Jan 4 08:47:34 CET 2023
Thanks for the patch
Looking at the patch there's a lot of code duplication with
Any reason why we aren't reusing that ?
On Tue, 3 Jan 2023 at 22:42, Eddie James <eajames at linux.ibm.com> wrote:
> This series adds support for measuring the boot images more generically
> than the existing EFI support. The series includes optional measurement
> from the bootm command.
> Eventually the EFI code could be refactored to use the generic functions.
> Eddie James (3):
> tpm: Fix spelling for tpmu_ha union
> tpm: Support boot measurements
> bootm: Support boot measurement
> boot/bootm.c | 53 ++++
> cmd/bootm.c | 2 +
> common/Kconfig | 6 +
> include/efi_tcg2.h | 44 ---
> include/image.h | 1 +
> include/tpm-v2.h | 139 ++++++++-
> lib/tpm-v2.c | 700 +++++++++++++++++++++++++++++++++++++++++++++
> 7 files changed, 899 insertions(+), 46 deletions(-)
More information about the U-Boot