<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/IntelFsp2WrapperPkg/Library/BaseFspMeasurementLib, branch dependabot/github_actions/github/codeql-action-4.39.3</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=dependabot%2Fgithub_actions%2Fgithub%2Fcodeql-action-4.39.3'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-10-28T17:56:36+00:00</updated>
<entry>
<title>IntelFsp2WrapperPkg: Measure the original FSP ImageBase</title>
<updated>2026-10-28T17:56:36+00:00</updated>
<author>
<name>Gaggery Tsai</name>
<email>gaggery.tsai@intel.com</email>
</author>
<published>2026-10-15T01:43:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7af9d049380a791f843458d0c85157e3f0d9f4f6'/>
<id>urn:sha1:7af9d049380a791f843458d0c85157e3f0d9f4f6</id>
<content type='text'>
An FSP wrapper that loads an FSP component to memory writes the load
address into FSP_INFO_HEADER.ImageBase. When that address depends on
the boot, for example when the PEI memory layout changes after the
MemoryTypeInformation variable is updated, the FSP digest and PCR0
change from boot to boot although the FSP binary is the same.

Add FSP_IMAGE_BASE_HOB. With BIT30 and BIT31 set, FspsWrapperPeim and
FspiWrapperPeim save ImageBase before writing the load address.
Name BIT30 FSP_MEASURE_ORIGINAL_IMAGEBASE. When the measured FSP
has ImageBase equal to its base address, BaseFspMeasurementLib
hashes the saved value in place of the four ImageBase bytes.
If all other measured bytes are unchanged, this reproduces the
original FSP code digest with the existing UPD exclusion.
Without a matching HOB, with conflicting HOBs, or with any other
ImageBase value, the library measures ImageBase as found in memory.
The default behavior, UPD measurement and event payloads are
unchanged.

A field left at the saved original value produces the same digest
as substitution. This does not validate the runtime ImageBase.
Only ImageBase is restored; changes made by RebaseFspFv are not
undone and can still make the digest depend on the load address.

Signed-off-by: Gaggery Tsai &lt;gaggery.tsai@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Error handling of TpmMeasureAndLogDataWithFlags()</title>
<updated>2024-03-15T09:05:25+00:00</updated>
<author>
<name>Du Lin</name>
<email>du.lin@intel.com</email>
</author>
<published>2024-03-12T02:30:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=ccbbc2a5c84a0330b28b726ef0936fc16937005a'/>
<id>urn:sha1:ccbbc2a5c84a0330b28b726ef0936fc16937005a</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4700

TpmMeasureAndLogDataWithFlags() computes the measure the code and
log it into PCR 0. TpmMeasureAndLogData() computes the hash for the
configuration. The same "Status" variable is used to store the return
values for both of the functions. There is no error handling if
TpmMeasureAndLogDataWithFlags() returns an error Status.
Fix the issue by adding error handling for TpmMeasureAndLogDataWithFlags().

Cc: Ashraf Ali S &lt;ashraf.ali.s@intel.com&gt;
Cc: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
Cc: Chen Gang C &lt;gang.c.chen@intel.com&gt;
Cc: Duggapu Chinni B &lt;chinni.b.duggapu@intel.com&gt;
Cc: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Star Zeng &lt;star.zeng@intel.com&gt;
Cc: Susovan Mohapatra &lt;susovan.mohapatra@intel.com&gt;
Cc: Ted Kuo &lt;ted.kuo@intel.com&gt;
Signed-off-by: Du Lin &lt;du.lin@intel.com&gt;
Reviewed-by: Ashraf Ali S &lt;ashraf.ali.s@intel.com&gt;
Reviewed-by: Chen Gang C &lt;gang.c.chen@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg: Apply uncrustify changes</title>
<updated>2021-12-07T17:24:28+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2021-12-05T22:54:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7c7184e201a90a1d2376e615e55e3f4074731468'/>
<id>urn:sha1:7c7184e201a90a1d2376e615e55e3f4074731468</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737

Apply uncrustify changes to .c/.h files in the IntelFsp2WrapperPkg package

Cc: Andrew Fish &lt;afish@apple.com&gt;
Cc: Leif Lindholm &lt;leif@nuviainc.com&gt;
Cc: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
<entry>
<title>IntelFsp2WrapperPkg/FspMeasurementLib: Add BaseFspMeasurementLib.</title>
<updated>2020-08-26T15:56:11+00:00</updated>
<author>
<name>Jiewen Yao</name>
<email>jiewen.yao@intel.com</email>
</author>
<published>2020-08-18T06:26:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=6c023864035191a1efe8e349fc57812803eabec8'/>
<id>urn:sha1:6c023864035191a1efe8e349fc57812803eabec8</id>
<content type='text'>
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2376

Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
Cc: Nate DeSimone &lt;nathaniel.l.desimone@intel.com&gt;
Cc: Star Zeng &lt;star.zeng@intel.com&gt;
Cc: Qi Zhang &lt;qi1.zhang@intel.com&gt;
Signed-off-by: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Message-Id: &lt;20200818062618.3698-4-qi1.zhang@intel.com&gt;
Reviewed-by: Jian J Wang &lt;jian.j.wang@intel.com&gt;
Reviewed-by: Chasel Chiu &lt;chasel.chiu@intel.com&gt;
</content>
</entry>
</feed>
