<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/SecurityPkg/Library/HashLibTpm2/HashLibTpm2PeilessSecLib.c, branch master</title>
<subtitle>EDK II (mirror)</subtitle>
<id>https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master</id>
<link rel='self' href='https://git.radix-linux.su/Tianocore/edk2.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/'/>
<updated>2026-09-22T02:10:45+00:00</updated>
<entry>
<title>SecurityPkg: Remove Globals from HashLibTpm2PeilessSec</title>
<updated>2026-09-22T02:10:45+00:00</updated>
<author>
<name>rdiaz</name>
<email>raymonddiaz@microsoft.com</email>
</author>
<published>2026-09-18T20:10:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a01335df4158c8f9ba9c186e80cb1ed83d05ec3e'/>
<id>urn:sha1:a01335df4158c8f9ba9c186e80cb1ed83d05ec3e</id>
<content type='text'>
Updated the HashLibTpm2PeilessSec library to no longer use globals in
SEC. Changed the code to query the relevant information each time it
was needed either through the TPM or Transfer List.

Signed-off-by: Raymond Diaz &lt;raymonddiaz@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/HashLibTpm2: Fix unused variable usage</title>
<updated>2025-11-29T17:21:50+00:00</updated>
<author>
<name>Mike Beaton</name>
<email>mjsbeaton@gmail.com</email>
</author>
<published>2025-11-29T14:37:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=7410754041bb994c685874a3bb62992c9da7d30a'/>
<id>urn:sha1:7410754041bb994c685874a3bb62992c9da7d30a</id>
<content type='text'>
There is an unused variable in
SecurityPkg/Library/HashLibTpm2/HashLibTpm2PeilessSecLib.c
which is spotted by CLANG builds.

The correct fix here is not to just remove the unused assignment,
but rather to fix the line following it, which should have been using
the unused value in the way that it now does.

Fixes: https://github.com/tianocore/edk2/commit/9c651ef83a74d83219075316aa5d1c189ed608c8

Co-authored-by: Ard Biesheuvel &lt;ardb@kernel.org&gt;
Signed-off-by: Mike Beaton &lt;mjsbeaton@gmail.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/Library: introduce HashLibTpm2PeilessSec</title>
<updated>2025-09-30T11:39:04+00:00</updated>
<author>
<name>Levi Yun</name>
<email>yeoreum.yun@arm.com</email>
</author>
<published>2025-09-15T13:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=9c651ef83a74d83219075316aa5d1c189ed608c8'/>
<id>urn:sha1:9c651ef83a74d83219075316aa5d1c189ed608c8</id>
<content type='text'>
PeilessSec couldn't use the HasLibTpm2 since:

  - HashLibTpm2 uses memory allocation/free for Hash interface.
    But in PeilessSecPhase doesn't support the free memory since
    the allocation of memory via MemoryAllocation APIs is allocated
    using HOB which couldn't be freed.

  - In SEC phase, it couldn't use DynamicPcd -- PcdHashMasks

  - PeilessSec utilises the algorithm passed in
    the SpecId event log handed off by TF-A

To address theses, introduce HashLibTpm2PeilessSec used for
measurements in the PeilessSec.

Signed-off-by: Yeoreum Yun &lt;yeoreum.yun@arm.com&gt;
</content>
</entry>
</feed>
