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

Heinrich Schuchardt heinrich.schuchardt at canonical.com
Sat Oct 2 11:42:23 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.

v2:
	Remove a superfluous value check.
	Adjust commit messages and comments in the code.

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    | 38 ++++---------------------------
 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, 69 insertions(+), 72 deletions(-)

-- 
2.32.0



More information about the U-Boot mailing list