edk2/SecurityPkg/Library/HashLibTpm2
Levi Yun 9c651ef83a SecurityPkg/Library: introduce HashLibTpm2PeilessSec
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>
2025-09-30 11:39:04 +00:00
..
HashLibTpm2.c SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HashLibTpm2.inf SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
HashLibTpm2.uni SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
HashLibTpm2PeilessSecLib.c SecurityPkg/Library: introduce HashLibTpm2PeilessSec 2025-09-30 11:39:04 +00:00
HashLibTpm2PeilessSecLib.inf SecurityPkg/Library: introduce HashLibTpm2PeilessSec 2025-09-30 11:39:04 +00:00