audk/SecurityPkg/Library
Yao, Jiewen 8e997ab8d3 SecurityPkg: Add TPM PTP detection in TPM12 device lib.
The TPM RequestUseTpm API can only set register to
use the hardware, but it can not be used to distinguish
TPM12 or TPM2 device.
TPM PTP defines same address with TIS, so we need
detect the TPM device is PTP or TIS in RequestUseTpm.
Also, Tcg2Config driver call RequestUseTpm to detect
TPM hardware device. So we have to add check here.
There is no need to support PTP CRB style SubmitCommand(),
because TPM2 device can not accept TPM12 style command.

This patch also uses TpmTis.h instead of duplicate
definition.

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@19742 6f19259b-4bc3-4df7-8a09-765794883524
2016-01-26 01:30:35 +00:00
..
AuthVariableLib SecurityPkg AuthVariableLib: Correct comment/error log about CleanCertsFromDb 2015-12-29 09:07:32 +00:00
DxeDeferImageLoadLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeImageAuthenticationStatusLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeImageVerificationLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTcg2PhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTcgPhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTpm2MeasureBootLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTpmMeasureBootLib DxeTpmMeasureBootLib: Change global variable name to avoid name conflict. 2015-12-18 00:53:25 +00:00
DxeTpmMeasurementLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTrEEPhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
HashInstanceLibSha1 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
HashInstanceLibSha256 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
HashLibBaseCryptoRouter SecurityPkg: Correct Pcd Usage PcdTcg2HashAlgorithmBitmap 2015-12-17 08:28:00 +00:00
HashLibTpm2 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
PeiRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
PeiTcg2PhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
PlatformSecureLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
SmmTcg2PhysicalPresenceLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tcg2PpVendorLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
TcgPpVendorLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2CommandLib SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2DeviceLibDTpm SecurityPkg: Add TPM PTP support in TPM2 device lib. 2016-01-26 01:29:38 +00:00
Tpm2DeviceLibRouter SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2DeviceLibTcg2 SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2DeviceLibTrEE SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm12CommandLib SecurityPkg/Tpm12CommandLib: Add TPM 1.2 commands used by TCG modules 2016-01-21 19:30:05 +00:00
Tpm12DeviceLibDTpm SecurityPkg: Add TPM PTP detection in TPM12 device lib. 2016-01-26 01:30:35 +00:00
Tpm12DeviceLibTcg SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
TpmCommLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
TrEEPpVendorLibNull SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00