All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/5] add measurement support
@ 2021-08-06  7:02 Masahisa Kojima
  2021-08-06  7:02 ` [PATCH v3 1/5] efi_loader: add secure boot variable measurement Masahisa Kojima
                   ` (5 more replies)
  0 siblings, 6 replies; 13+ messages in thread
From: Masahisa Kojima @ 2021-08-06  7:02 UTC (permalink / raw)
  To: Heinrich Schuchardt, Alexander Graf, Ilias Apalodimas,
	Simon Glass, Masahisa Kojima, Dhananjay Phadke, u-boot

This patch series add the support of measurement
descibed in TCG PC Client PFP spec(Version 1.05 Revision 23).

Eventlog generated with this patch series are tested on
the aarch64 based machine(Socionext Developerbox) and fTPM
running on OP-TEE.
The eventlog result is almost same result as the one
generated by edk2 running on the Devloperbox and Secure96.

This patch series does not cover all measurement requirements
described in TCG spec, the remaining items will be supported
in the future.
Major missing items in TCG PC Client PFP spec:
 1) If the secure boot variables are updated after they are
   initially measured in PCR[7] and before ExitBootServices()
   has completed, the platform MAY be restarted OR the variables
   MUST be remeasured into PCR[7].
 2) SMBIOS structure measurement
 3) "DeployedMode" and "AuditMode" measurement
 4) EV_EFI_GPT_EVENT event
 5) Measurement of U-boot itself. I assume U-boot measurement will be done
    by the former firmware such as trusted firmware.

Masahisa Kojima (5):
  efi_loader: add secure boot variable measurement
  efi_loader: add boot variable measurement
  efi_loader: add ExitBootServices() measurement
  efi_loader: refactor efi_append_scrtm_version()
  efi_loader: add comment for efi_tcg2.h

 include/efi_loader.h          |   5 +
 include/efi_tcg2.h            |  77 +++++++-
 include/tpm-v2.h              |  18 +-
 lib/efi_loader/efi_boottime.c |  25 +++
 lib/efi_loader/efi_tcg2.c     | 356 +++++++++++++++++++++++++++++++++-
 5 files changed, 471 insertions(+), 10 deletions(-)

-- 
2.17.1


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

end of thread, other threads:[~2021-08-11  9:29 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-06  7:02 [PATCH v3 0/5] add measurement support Masahisa Kojima
2021-08-06  7:02 ` [PATCH v3 1/5] efi_loader: add secure boot variable measurement Masahisa Kojima
2021-08-10  1:44   ` AKASHI Takahiro
2021-08-11  2:59     ` Masahisa Kojima
2021-08-06  7:02 ` [PATCH v3 2/5] efi_loader: add " Masahisa Kojima
2021-08-10  2:19   ` AKASHI Takahiro
2021-08-11  3:05     ` Masahisa Kojima
2021-08-11  6:50       ` AKASHI Takahiro
2021-08-11  8:36         ` Masahisa Kojima
2021-08-06  7:02 ` [PATCH v3 3/5] efi_loader: add ExitBootServices() measurement Masahisa Kojima
2021-08-06  7:02 ` [PATCH v3 4/5] efi_loader: refactor efi_append_scrtm_version() Masahisa Kojima
2021-08-06  7:02 ` [PATCH v3 5/5] efi_loader: add comment for efi_tcg2.h Masahisa Kojima
2021-08-11  9:29 ` [PATCH v3 0/5] add measurement support Heinrich Schuchardt

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.