[PATCH v3 2/3] efi_loader: add UEFI GPT measurement

Simon Glass sjg at chromium.org
Fri Oct 1 17:23:31 CEST 2021


Hi Masahisa,

On Fri, 1 Oct 2021 at 05:19, Masahisa Kojima <masahisa.kojima at linaro.org> wrote:
>
> This commit adds the UEFI GPT disk partition topology
> measurement required in TCG PC Client PFP Spec.
>
> Signed-off-by: Masahisa Kojima <masahisa.kojima at linaro.org>
> ---
>
> Changes in v3:
> - EV_EFI_GPT_EVENT is measured before EV_SEPARATOR, same as
>   other PCRs
> - use PTR_ARRAY instead of ARRAY
> - create sub-function of allocating io_aligned buffer
> - move search_gpt_dp_node() into efi_device_path.c
>
>  include/blk.h                    |   3 +
>  include/efi_loader.h             |   3 +-
>  include/efi_tcg2.h               |  12 +++
>  lib/efi_loader/efi_boottime.c    |   2 +-
>  lib/efi_loader/efi_device_path.c |  27 +++++
>  lib/efi_loader/efi_tcg2.c        | 163 ++++++++++++++++++++++++++++++-
>  6 files changed, 207 insertions(+), 3 deletions(-)

Please can you go back through your patches and add tests for each one?

Regards,
Simon


More information about the U-Boot mailing list