]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/FvReportPei: Remove the ASSERT to allow neither M nor V
authorGuomin Jiang <guomin.jiang@intel.com>
Fri, 15 Oct 2021 03:54:14 +0000 (11:54 +0800)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 31 Oct 2021 16:52:12 +0000 (16:52 +0000)
commitc8594a53119c72022f8ff5977b01e4e632ca7a04
tree7074bf45b54907eedd3026191c38afee01717d16
parent91b772ab626913bf740e9e1b20387b25bcb2de97
SecurityPkg/FvReportPei: Remove the ASSERT to allow neither M nor V

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

M mean that Measured Boot, V mean that Verified Boot.

The FvReport do below:
1. Do nothing if neither M nor V
2. Allocate pages to save the firmware volume and use it to install
   firmware info Ppi
3. Install PreHashFv Ppi if the FV need measurement.
4. Verify the Hash if the FV need verification

Notes:
1. The component is used to verify the FV or measure the FV
2. Copy action is just for security purpose but not main purpose.
3. If you use this component, Doesn't need to copy in other compoent
   which result time consumption.

Signed-off-by: Guomin Jiang <guomin.jiang@intel.com>
Reviewed-by: Jian J Wang <jian.j.wang@intel.com>
SecurityPkg/FvReportPei/FvReportPei.c