mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
This is prepartion patch to add softwared-based TPM library
using TCG TPM v2.0 Reference Library[0].
TCG TPM v2.0 Reference Library[0] provides the TPM device functions
with platform specific layer. This layer has platform interfaces
which start with prefix "__plat_" to implement software based TPM.
PlatformTpmLib is used to implment these interfaces.
When TpmLib calls "__plat_XXX()", the correspond function
"PlatformTpmLibXXX()" in PlatformTpmLib would be called.
Not all __plat_XXX interfaces are required to be implemented, and
default implementations for some interfaces can be utilised.
Here, PlatformTpmLib implements correspond __plat_XXX function in
TPM reference library files:
- Clock.c
- ExtraData.c
- Failure.c
- NVMem.c
- Unique.c
- VendorInfo.c
NOTE:
To support to generation of platform specific endorsement seed,
the function PlatformTpmLibGetEPS() is defined in EPS.c
This platform function allows a platform to specify an endorsement seed
when the fTPM is manufactured.
Link: https://github.com/TrustedComputingGroup/TPM [0]
Signed-off-by: Yeoreum Yun <yeoreum.yun@arm.com>
|
||
|---|---|---|
| .. | ||
| Clock.c | ||
| Entropy.c | ||
| EPS.c | ||
| ExtraData.c | ||
| Failure.c | ||
| Init.c | ||
| NVMem.c | ||
| PlatformTpmNullLib.inf | ||
| Unique.c | ||
| VendorInfo.c | ||