]> git.proxmox.com Git - mirror_edk2.git/commit - SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.c
Add TPM2 support defined in trusted computing group.
authorYao, Jiewen <Jiewen.Yao@intel.com>
Thu, 13 Aug 2015 08:24:17 +0000 (08:24 +0000)
committerjyao1 <jyao1@Edk2>
Thu, 13 Aug 2015 08:24:17 +0000 (08:24 +0000)
commit1abfa4ce4835639c66ae82cc0d72cffcf3f28b6b
tree9688e07a23a004cf3cc14d5cbb119fc4f0cd5495
parent59b226d6d7e2b9e6ea8751abb366dd1a7d643a4c
Add TPM2 support defined in trusted computing group.

TCG EFI Protocol Specification for TPM Family 2.0 Revision 1.0 Version 9 at http://www.trustedcomputinggroup.org/resources/tcg_efi_protocol_specification
TCG Physical Presence Interface Specification Version 1.30, Revision 00.52 at http://www.trustedcomputinggroup.org/resources/tcg_physical_presence_interface_specification

Add Tcg2XXX, similar file/directory as TrEEXXX. Old TrEE driver/library can be deprecated.
1) Add Tcg2Pei/Dxe/Smm driver to log event and provide services.
2) Add Dxe/Pei/SmmTcg2PhysicalPresenceLib to support TCG PP.
3) Update Tpm2 library to use TCG2 protocol instead of TrEE protocol.

Test Win8/Win10 with SecureBoot enabled, PCR7 shows bound.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18219 6f19259b-4bc3-4df7-8a09-765794883524
62 files changed:
SecurityPkg/Include/Guid/Tcg2ConfigHii.h [new file with mode: 0644]
SecurityPkg/Include/Guid/Tcg2PhysicalPresenceData.h [new file with mode: 0644]
SecurityPkg/Include/Guid/TcgEventHob.h
SecurityPkg/Include/Library/Tcg2PhysicalPresenceLib.h [new file with mode: 0644]
SecurityPkg/Include/Library/Tcg2PpVendorLib.h [new file with mode: 0644]
SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.c [new file with mode: 0644]
SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.inf [new file with mode: 0644]
SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/DxeTcg2PhysicalPresenceLib.uni [new file with mode: 0644]
SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/PhysicalPresenceStrings.uni [new file with mode: 0644]
SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.c
SecurityPkg/Library/DxeTpmMeasurementLib/DxeTpmMeasurementLib.inf
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterCommon.c
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.c
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterDxe.inf
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.c
SecurityPkg/Library/HashLibBaseCryptoRouter/HashLibBaseCryptoRouterPei.inf
SecurityPkg/Library/HashLibTpm2/HashLibTpm2.c
SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.c [new file with mode: 0644]
SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.inf [new file with mode: 0644]
SecurityPkg/Library/PeiTcg2PhysicalPresenceLib/PeiTcg2PhysicalPresenceLib.uni [new file with mode: 0644]
SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.c [new file with mode: 0644]
SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.inf [new file with mode: 0644]
SecurityPkg/Library/SmmTcg2PhysicalPresenceLib/SmmTcg2PhysicalPresenceLib.uni [new file with mode: 0644]
SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.c [new file with mode: 0644]
SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.inf [new file with mode: 0644]
SecurityPkg/Library/Tcg2PpVendorLibNull/Tcg2PpVendorLibNull.uni [new file with mode: 0644]
SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.c [new file with mode: 0644]
SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.inf [new file with mode: 0644]
SecurityPkg/Library/Tpm2DeviceLibTcg2/Tpm2DeviceLibTcg2.uni [new file with mode: 0644]
SecurityPkg/SecurityPkg.dec
SecurityPkg/SecurityPkg.dsc
SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDriver.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.inf [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxe.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigDxeExtra.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.h [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigNvData.h [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.inf [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPei.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeiExtra.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigPeim.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigStrings.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Config/TpmDetection.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Dxe/MeasureBootPeCoff.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Dxe/Tcg2DxeExtra.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Pei/Tcg2PeiExtra.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.h [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Smm/Tcg2SmmExtra.uni [new file with mode: 0644]
SecurityPkg/Tcg/Tcg2Smm/Tpm.asl [new file with mode: 0644]