edk2/SecurityPkg/Tcg
rdiaz ffaaf0f14c SecurityPkg: Introduce Dynamic TCG Log Scaling
Implemented dynamic TCG log scaling in Tcg2Dxe. When the log would become
truncated it instead now dynamically scales doubling the size each time.
An ERROR log is reported that an increase to your base log size should
occur such that scaling is not necessary. This is a precaution against
platforms that log a lot and the addition of new hashing algorithms for
PQC. The log is allocated in BootServices memory. Tests were added via
TcgLogTest which includes a DXE driver and a UEFI shell UnitTest app. The
DXE driver handles pre-ReadyToBoot tests while the TestApp handles
post-ReadyToBoot tests as well as gathering the test results from the DXE
driver. Markdown documents were created to detail the changes.

Added the Truncation event marker to the end of the FinalEventLog when it
becomes truncated. Added a event signal for when scaling occurs on the
normal event log. Consumers can trigger callbacks on this event; the test
app uses this to know when scaling occurs.

Added an ACPI log region for the ACPI table LAML/LASA. This region does
not scale and can become truncated indicated by the Truncation event
marker.

Signed-off-by: Raymond Diaz <raymonddiaz@microsoft.com>
2026-08-26 03:58:17 +00:00
..
MemoryOverwriteControl SecurityPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
MemoryOverwriteRequestControlLock SecurityPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00
Opal/OpalPassword MdePkg,SecurityPkg: Fix Spelling Errors in TCG/TPM Definitions 2026-05-08 02:15:34 +00:00
PhysicalPresencePei SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tcg2Acpi MdePkg,SecurityPkg: Fix TPM2 ACPI Table 2026-07-25 01:32:22 +00:00
Tcg2AcpiFfa MdePkg,SecurityPkg: Fix TPM2 ACPI Table 2026-07-25 01:32:22 +00:00
Tcg2Config SecurityPkg/Tcg: Use TPM names in setup strings 2026-08-03 03:56:36 +00:00
Tcg2Dxe SecurityPkg: Introduce Dynamic TCG Log Scaling 2026-08-26 03:58:17 +00:00
Tcg2Pei SecurityPkg: Integrate Tpm2HelpLib 2026-06-17 19:16:45 +00:00
Tcg2PlatformDxe SecurityPkg: Trace and return status are handled. 2025-10-27 01:49:32 +00:00
Tcg2PlatformPei SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
Tcg2Smm SecurityPkg/Tcg2Smm: harden NVS/SMI state initialization 2026-03-13 02:33:10 +00:00
Tcg2StandaloneMmArm SecurityPkg: Tcg2StandaloneMmArm: Align PP buffer with ARM_FFA_ARGS 2026-07-30 13:46:46 +00:00
TcgConfigDxe SecurityPkg/Tcg: Use TPM names in setup strings 2026-08-03 03:56:36 +00:00
TcgDxe Revert "SecurityPkg: CodeQL Fixes." 2025-08-12 03:50:30 +00:00
TcgLogTest SecurityPkg: Introduce Dynamic TCG Log Scaling 2026-08-26 03:58:17 +00:00
TcgPei SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
TcgSmm SecurityPkg: Replace include guards with #pragma once 2026-02-23 21:01:28 +00:00