[PATCH 0/4] efi_loader: centralize known vendor GUIDs

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Sep 11 09:28:28 CEST 2021


The UEFI specification defines which vendor GUIDs should be used for
predefined variables like 'PK'. Currently we have multiple places
where this relationship is stored.

With this patch series a function for retrieving the GUID is provided
and existing code is adjusted to used it.

Heinrich Schuchardt (4):
  efi_loader: treat UEFI variable name as const
  efi_loader: function to get GUID for variable name
  efi_loader: simplify efi_sigstore_parse_sigdb()
  efi_loader: simplify tcg2_measure_secure_boot_variable()

 include/efi_loader.h              |  2 +-
 include/efi_variable.h            | 24 +++++++++++++++------
 lib/efi_loader/efi_signature.c    | 35 ++++++-------------------------
 lib/efi_loader/efi_tcg2.c         | 31 +++++++++++++--------------
 lib/efi_loader/efi_var_common.c   | 14 +++++++++++--
 lib/efi_loader/efi_var_mem.c      |  7 ++++---
 lib/efi_loader/efi_variable.c     |  9 ++++----
 lib/efi_loader/efi_variable_tee.c | 16 ++++++++------
 8 files changed, 70 insertions(+), 68 deletions(-)

--
2.30.2



More information about the U-Boot mailing list