All of lore.kernel.org
 help / color / mirror / Atom feed
From: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
To: u-boot@lists.denx.de
Cc: Ilias Apalodimas <ilias.apalodimas@linaro.org>,
	Alexander Graf <agraf@csgraf.de>,
	Masahisa Kojima <masahisa.kojima@linaro.org>,
	Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Subject: [PATCH v2 0/4] efi_loader: centralize known vendor GUIDs
Date: Sat,  2 Oct 2021 11:42:23 +0200	[thread overview]
Message-ID: <20211002094227.119870-1-heinrich.schuchardt@canonical.com> (raw)

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


             reply	other threads:[~2021-10-02  9:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-02  9:42 Heinrich Schuchardt [this message]
2021-10-02  9:42 ` [PATCH v2 1/4] efi_loader: treat UEFI variable name as const Heinrich Schuchardt
2021-10-02  9:42 ` [PATCH v2 2/4] efi_loader: function to get GUID for variable name Heinrich Schuchardt
2021-10-02  9:42 ` [PATCH v2 3/4] efi_loader: simplify efi_sigstore_parse_sigdb() Heinrich Schuchardt
2021-10-02 20:11   ` Ilias Apalodimas
2021-10-02  9:42 ` [PATCH v2 4/4] efi_loader: simplify tcg2_measure_secure_boot_variable() Heinrich Schuchardt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211002094227.119870-1-heinrich.schuchardt@canonical.com \
    --to=heinrich.schuchardt@canonical.com \
    --cc=agraf@csgraf.de \
    --cc=ilias.apalodimas@linaro.org \
    --cc=masahisa.kojima@linaro.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.