mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
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>
|
||
|---|---|---|
| .. | ||
| HashLibTpm2.c | ||
| HashLibTpm2.inf | ||
| HashLibTpm2.uni | ||
| HashLibTpm2PeilessSecLib.c | ||
| HashLibTpm2PeilessSecLib.inf | ||