summaryrefslogtreecommitdiff
path: root/SecurityPkg/Library/HashLibTpm2/HashLibTpm2PeilessSecLib.inf
AgeCommit message (Collapse)AuthorFilesLines
9 daysSecurityPkg: Remove Globals from HashLibTpm2PeilessSecrdiaz1-1/+1
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 <raymonddiaz@microsoft.com>
2025-09-30SecurityPkg/Library: introduce HashLibTpm2PeilessSecLevi Yun1-0/+47
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 <yeoreum.yun@arm.com>