edk2/TcgTpmPkg/Library/PlatformTpmNullLib
Levi Yun bfa8e9b8cb TcgTpmPkg/Library: introduce PlatformTpmLib
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>
2026-02-24 13:49:35 +00:00
..
Clock.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
Entropy.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
EPS.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
ExtraData.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
Failure.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
Init.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
NVMem.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
PlatformTpmNullLib.inf TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
Unique.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00
VendorInfo.c TcgTpmPkg/Library: introduce PlatformTpmLib 2026-02-24 13:49:35 +00:00