[PATCH v3 2/3] efi_loader: add UEFI GPT measurement
Masahisa Kojima
masahisa.kojima at linaro.org
Fri Oct 22 12:49:21 CEST 2021
Hi Simon,
On Sat, 2 Oct 2021 at 00:23, Simon Glass <sjg at chromium.org> wrote:
>
> 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?
I will send the selftest patch for the efi_tcg2.c.
Thanks,
Masahisa Kojima
>
> Regards,
> Simon
More information about the U-Boot
mailing list