<feed xmlns='http://www.w3.org/2005/Atom'>
<title>Tianocore/edk2.git/SecurityPkg/Library/Tpm2CommandLib, 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-06-17T19:16:45+00:00</updated>
<entry>
<title>SecurityPkg: Update Tpm2Help.c Functions</title>
<updated>2026-06-17T19:16:45+00:00</updated>
<author>
<name>rdiaz</name>
<email>raymonddiaz@microsoft.com</email>
</author>
<published>2026-04-21T19:16:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=c0208dc79e71a4b01fb59a1580b1c2af23382804'/>
<id>urn:sha1:c0208dc79e71a4b01fb59a1580b1c2af23382804</id>
<content type='text'>
Update the Tpm2Help.c functions to become wrappers for the
functions in Tpm2HelpLib. This prevents platforms from breaking
due to the updated prefix naming but will still allow us to
keep one instance of the function implementations.

Signed-off-by: Raymond Diaz &lt;raymonddiaz@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Integrate Tpm2HelpLib</title>
<updated>2026-06-17T19:16:45+00:00</updated>
<author>
<name>rdiaz</name>
<email>raymonddiaz@microsoft.com</email>
</author>
<published>2026-06-15T19:41:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=2d49d517224f060dfe1d35436437a5eafe586f3e'/>
<id>urn:sha1:2d49d517224f060dfe1d35436437a5eafe586f3e</id>
<content type='text'>
Replace instances of the old Tpm2Help.c functions with the
new Tpm2HelpLib versions. Update files to use Tpm2HelpLib
in place of Tpm2Help.c from Tpm2CommandLib.

Signed-off-by: Raymond Diaz &lt;raymonddiaz@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Remove unused variable</title>
<updated>2025-11-22T01:43:26+00:00</updated>
<author>
<name>Mike Beaton</name>
<email>mjsbeaton@gmail.com</email>
</author>
<published>2025-11-08T06:41:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=3c6960f279cfeea6dc7564ad01ab5634889daef0'/>
<id>urn:sha1:3c6960f279cfeea6dc7564ad01ab5634889daef0</id>
<content type='text'>
XCODE5 toolchain finds this, with error:
Tpm2Capability.c:535:23: error: variable 'ActivePcrBankCount' set but not used

Fixes: https://github.com/tianocore/edk2/commit/1f2adcbba571faead4795bfbeeb232e82166c901

Signed-off-by: Mike Beaton &lt;mjsbeaton@gmail.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/Tpm2CommandLib: Update not found RC for Public NV Read</title>
<updated>2025-08-23T00:48:06+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2025-08-18T15:52:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=8682d3ea0a5df1152c62f87326649f3d0082d9b6'/>
<id>urn:sha1:8682d3ea0a5df1152c62f87326649f3d0082d9b6</id>
<content type='text'>
Currently a EFI_DEVICE_ERROR is returned if `TPM_RC_HANDLE` is the
return code from a TPM2_NV_ReadPublic command. However, in the TCG
TPM Library Part 3: Commands specification, `TPM_RC_HANDLE` is a
return code if:

  1. An Index does not exist that corresponds to the handle
     (TPM_RC_HANDLE)
  2. The hierarchy associated with the existing NV Index is not
     enabled (TPM_RC_HANDLE)

Therefore, return EFI_NOT_FOUND in this case, since that more
precisely allows a caller to identify this condition and act on
it as opposed to a more generic device error.

Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Move Noisy Logs to DEBUG_SECURITY</title>
<updated>2025-07-14T07:25:12+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-06-17T16:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=d5b86303792d44db5b94636b920547340c4fca61'/>
<id>urn:sha1:d5b86303792d44db5b94636b920547340c4fca61</id>
<content type='text'>
The TPM code is currently very noisy (e.g. in a sample platform,
4,000 of the 5,700 lines printed to the serial port at DEBUG_INFO
level were from the TPM code). For TPM debugging, this is very
critical information, but for most builds it simply spams the logs
and slows down the build.

This commit moves the event log and PCR dumping to log at
DEBUG_SECURITY level.

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Remove/Downgrade Noisy TCG Prints</title>
<updated>2025-07-14T07:25:12+00:00</updated>
<author>
<name>Oliver Smith-Denny</name>
<email>osde@microsoft.com</email>
</author>
<published>2025-05-01T19:55:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=1f2adcbba571faead4795bfbeeb232e82166c901'/>
<id>urn:sha1:1f2adcbba571faead4795bfbeeb232e82166c901</id>
<content type='text'>
The TCG code is very noisy when a TPM is connected. This
commit downgrades some prints to verbose and removes some
others that do not have value (such as function enter and
exit prints).

Signed-off-by: Oliver Smith-Denny &lt;osde@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/Tpm2CommandLib: Add new digest list copy and size functions</title>
<updated>2025-06-13T17:42:43+00:00</updated>
<author>
<name>Michael Kubacki</name>
<email>michael.kubacki@microsoft.com</email>
</author>
<published>2023-11-28T16:31:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=617e061830f6218ef985b599b981bf0ee53ad7da'/>
<id>urn:sha1:617e061830f6218ef985b599b981bf0ee53ad7da</id>
<content type='text'>
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=3267

Adds two new helper functions.

Currently, a function exists in Tpm2CommandLib to copy a digest list
to a buffer. A function to perform the inverse operation - copying
from a buffer to a digest list is added.

A function is also added to compute the total digest size for a given
hash algorithm mask.

Cc: Jiewen Yao &lt;jiewen.yao@intel.com&gt;
Cc: Rahul Kumar &lt;rahul1.kumar@intel.com&gt;
Signed-off-by: Michael Kubacki &lt;michael.kubacki@microsoft.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg/Library/TpmCommandLib: Change xor to xor_</title>
<updated>2024-12-03T06:25:32+00:00</updated>
<author>
<name>Michael D Kinney</name>
<email>michael.d.kinney@intel.com</email>
</author>
<published>2023-05-28T01:12:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=e6a886fdfc83503628a816d09c6e6a2a3d2ed88c'/>
<id>urn:sha1:e6a886fdfc83503628a816d09c6e6a2a3d2ed88c</id>
<content type='text'>
Change xor to xor_ to avoid C++ reserved work name collisions
when building with C++ compilers.

Signed-off-by: Michael D Kinney &lt;michael.d.kinney@intel.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Fix break missing at TPM_ALG_KEYEDHASH case</title>
<updated>2024-09-02T12:17:33+00:00</updated>
<author>
<name>zodf0055980</name>
<email>zodf0055980@gmail.com</email>
</author>
<published>2024-09-02T06:07:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=a5f543272899fcf3b04e0665ba87164fb19f564a'/>
<id>urn:sha1:a5f543272899fcf3b04e0665ba87164fb19f564a</id>
<content type='text'>
According issue #5509, case TPM_ALG_KEYEDHASH is missing the break statement.

Signed-off-by: zodf0055980 &lt;zodf0055980@gmail.com&gt;
</content>
</entry>
<entry>
<title>SecurityPkg: Fix exponent unmarshaled as 16 bits</title>
<updated>2024-08-31T16:43:28+00:00</updated>
<author>
<name>zodf0055980</name>
<email>zodf0055980@gmail.com</email>
</author>
<published>2024-08-21T07:18:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.radix-linux.su/Tianocore/edk2.git/commit/?id=f7abf6af2db7a823aa139fbbf8a82d209aca4998'/>
<id>urn:sha1:f7abf6af2db7a823aa139fbbf8a82d209aca4998</id>
<content type='text'>
According issue #5536, exponent is 32 bits but is unmarshaled as 16 bits.

Signed-off-by: zodf0055980 &lt;zodf0055980@gmail.com&gt;
</content>
</entry>
</feed>
