All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/4] efi_loader: centralize known vendor GUIDs
@ 2021-10-03  9:23 Heinrich Schuchardt
  2021-10-03  9:23 ` [PATCH v3 1/4] efi_loader: treat UEFI variable name as const Heinrich Schuchardt
                   ` (3 more replies)
  0 siblings, 4 replies; 16+ messages in thread
From: Heinrich Schuchardt @ 2021-10-03  9:23 UTC (permalink / raw)
  To: u-boot
  Cc: Alexander Graf, Ilias Apalodimas, Masahisa Kojima,
	AKASHI Takahiro, Sughosh Ganu, Heinrich Schuchardt

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.

v3:
	Keep error handling in efi_sigstore_parse_sigdb()
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            | 27 +++++++++++++++++++++------
 lib/efi_loader/efi_signature.c    | 11 ++---------
 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(+), 48 deletions(-)

-- 
2.32.0


^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2021-10-07 10:44 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-03  9:23 [PATCH v3 0/4] efi_loader: centralize known vendor GUIDs Heinrich Schuchardt
2021-10-03  9:23 ` [PATCH v3 1/4] efi_loader: treat UEFI variable name as const Heinrich Schuchardt
2021-10-06  6:27   ` Ilias Apalodimas
2021-10-03  9:23 ` [PATCH v3 2/4] efi_loader: function to get GUID for variable name Heinrich Schuchardt
2021-10-06  6:25   ` Ilias Apalodimas
2021-10-03  9:23 ` [PATCH v3 3/4] efi_loader: simplify efi_sigstore_parse_sigdb() Heinrich Schuchardt
2021-10-06  6:29   ` Ilias Apalodimas
2021-10-06  7:21     ` Heinrich Schuchardt
2021-10-06  8:02       ` Ilias Apalodimas
2021-10-06 13:15         ` Heinrich Schuchardt
2021-10-06 13:15         ` Heinrich Schuchardt
2021-10-06 14:05           ` Ilias Apalodimas
2021-10-07  5:54             ` Heinrich Schuchardt
2021-10-07 10:43               ` Ilias Apalodimas
2021-10-03  9:23 ` [PATCH v3 4/4] efi_loader: simplify tcg2_measure_secure_boot_variable() Heinrich Schuchardt
2021-10-06  6:26   ` Ilias Apalodimas

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.