]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/Tcg2Smm: Measure the table before patch.
authorJiewen Yao <jiewen.yao@intel.com>
Sat, 7 Dec 2019 13:41:10 +0000 (21:41 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Tue, 10 Dec 2019 08:00:14 +0000 (08:00 +0000)
commit7e55cf6b48dcd43de46d008b2f12caaad2554503
treeb937b7f74a27650f9f5c4c0210613cdf809d1a5e
parenta80032dc44a1071a34f4415a7c5cef5170ee6159
SecurityPkg/Tcg2Smm: Measure the table before patch.

REF: https://bugzilla.tianocore.org/show_bug.cgi?id=1940

According to TCG PFP specification: the ACPI table must be
measured prior to any modification, and the measurement
must be same cross every boot cycle.

There is a fix 3a63c17ebc853cbb27d190729d01e27f68e65b94
for the HID data. However that is not enough.
The LAML/LASA and PCD configuration change may also cause
similar problem.

We need measure the table before any update.

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>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c