From: "Yao, Jiewen" <jiewen.yao@intel.com>
To: devel@edk2.groups.io
Cc: Jian J Wang <jian.j.wang@intel.com>, Chao Zhang <chao.b.zhang@intel.com>
Subject: [PATCH 0/6] TCG: Add TCG PFP rev 105 and 800-155 event support.
Date: Tue, 31 Dec 2019 14:44:06 +0800 [thread overview]
Message-ID: <20191231064412.22988-1-jiewen.yao@intel.com> (raw)
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2439
This patch series adds TCG PFP rev 105 and 800-155 event support.
TCG published Platform Firmware Profile spec revision 105
(https://trustedcomputinggroup.org/wp-content/uploads/TCG_PCClient_PFP_r1p05_05_3feb20.pdf)
and Firmware Integrity Measurement spec
(https://trustedcomputinggroup.org/wp-content/uploads/TCG_PC_Client-FIM_v1r24_3feb20.pdf)
2 major impact to the BIOS:
1) Need add 800-155 event at the beginning of the TCG2 event log.
2) Need use EV_EFI_PLATFORM_FIRMWARE_BLOB2 to replace EV_EFI_PLATFORM_FIRMWARE_BLOB
and use EV_EFI_HANDOFF_TABLES2 to replace EV_EFI_HANDOFF_TABLES.
TCG2 DXE update: Add 800-155 event handling.
TCG2 PEI update: Use EV_EFI_PLATFORM_FIRMWARE_BLOB2.
Smbios Update: Use EV_EFI_HANDOFF_TABLES2.
This patch series is tested on EmulatorPkg with TPM2 simulator.
(https://github.com/jyao1/edk2/tree/feature_tpm_emulator).
The new entries - 800-155 event, EV_EFI_PLATFORM_FIRMWARE_BLOB2, EV_EFI_HANDOFF_TABLES2,
can be dumpped with UEFI Tcg2DumpLog tool.
(https://github.com/jyao1/EdkiiShellTool/tree/master/EdkiiShellToolPkg/Tcg2DumpLog)
NOTE: To support the full 800-155 requirement in TCG, a platform need report the
platform specific 800-155 event.
If the platform chooses to report in PEI, it can refer to the example at
https://github.com/jyao1/edk2/tree/feature_tpm_emulator/EmulatorPkg/Tpm2/Platform800155EventPei.
If the platform chooses to report in DXE, it can refer to the example at
https://github.com/jyao1/edk2/tree/feature_tpm_emulator/EmulatorPkg/Tpm2/Platform800155EventDxe.
Multiple 800-155 events are support.
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Chao Zhang <chao.b.zhang@intel.com>
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Jiewen Yao (6):
SecurityPkg/Guid: Add TCG 800-155 event GUID definition.
SecurityPkg/Tcg2Dxe: Add Tcg2Dxe to support 800-155 event.
MdeModulePkg/Smbios: Done measure Smbios multiple times.
MdeModulePkg/dec: add PcdTcgPfpMeasurementRevision PCD
MdeModulePkg/Smbios: Add TCG PFP rev 105 support.
SecurityPkg/Tcg2Pei: Add TCG PFP 105 support.
MdeModulePkg/MdeModulePkg.dec | 8 +
.../SmbiosMeasurementDxe.c | 39 ++++-
.../SmbiosMeasurementDxe.inf | 3 +
SecurityPkg/Include/Guid/TcgEventHob.h | 11 ++
SecurityPkg/SecurityPkg.dec | 4 +
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c | 157 ++++++++++++++----
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 1 +
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c | 91 +++++++++-
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf | 2 +
9 files changed, 273 insertions(+), 43 deletions(-)
--
2.19.2.windows.1
next reply other threads:[~2019-12-31 6:44 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-31 6:44 Yao, Jiewen [this message]
2019-12-31 6:44 ` [PATCH 1/6] SecurityPkg/Guid: Add TCG 800-155 event GUID definition Yao, Jiewen
2020-01-06 3:22 ` Wang, Jian J
2019-12-31 6:44 ` [PATCH 2/6] SecurityPkg/Tcg2Dxe: Add Tcg2Dxe to support 800-155 event Yao, Jiewen
2020-01-06 5:59 ` [edk2-devel] " Wang, Jian J
2019-12-31 6:44 ` [PATCH 3/6] MdeModulePkg/Smbios: Done measure Smbios multiple times Yao, Jiewen
2020-01-02 11:01 ` Zeng, Star
2019-12-31 6:44 ` [PATCH 4/6] MdeModulePkg/dec: add PcdTcgPfpMeasurementRevision PCD Yao, Jiewen
2020-01-06 3:13 ` Wang, Jian J
2019-12-31 6:44 ` [PATCH 5/6] MdeModulePkg/Smbios: Add TCG PFP rev 105 support Yao, Jiewen
2020-01-02 11:09 ` Zeng, Star
2020-01-02 14:16 ` Yao, Jiewen
2020-01-03 0:54 ` Zeng, Star
2019-12-31 6:44 ` [PATCH 6/6] SecurityPkg/Tcg2Pei: Add TCG PFP " Yao, Jiewen
2020-01-06 5:33 ` Wang, Jian J
2020-01-06 5:53 ` Yao, Jiewen
2020-01-06 5:57 ` Wang, Jian J
2020-01-06 6:00 ` Yao, Jiewen
2020-01-02 0:11 ` [edk2-devel] [PATCH 0/6] TCG: Add TCG PFP rev 105 and 800-155 event support Liming Gao
2020-01-02 0:39 ` Yao, Jiewen
2020-01-06 6:11 ` Wang, Jian J
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-list 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=20191231064412.22988-1-jiewen.yao@intel.com \
--to=devel@edk2.groups.io \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox