audk/SecurityPkg/Library/Tpm2CommandLib
Jiewen Yao 07cdba18cd SecurityPkg/TPM2: Extract GetSupportedAndActivePcrs to Tpm2CommandLib
This patch extracts function Tpm2GetCapabilitySupportedAndActivePcrs()
from drivers and also update Tcg2ExecutePhysicalPresence() to call
Tpm2GetCapabilitySupportedAndActivePcrs() instead of
Tcg2Protocol->GetCapability to query the TPM to determine which
hashing algorithms are supported.

Cc: Chao B Zhang <chao.b.zhang@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
2016-09-21 18:20:20 +08:00
..
Tpm2Capability.c SecurityPkg/TPM2: Extract GetSupportedAndActivePcrs to Tpm2CommandLib 2016-09-21 18:20:20 +08:00
Tpm2CommandLib.inf Add TPM2 commands which might be used in field upgrade. 2014-12-12 04:34:19 +00:00
Tpm2CommandLib.uni SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
Tpm2Context.c Add TPM2 commands which might be used in field upgrade. 2014-12-12 04:34:19 +00:00
Tpm2DictionaryAttack.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2EnhancedAuthorization.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2Help.c SecurityPkg/TPM2: Move CopyDigestListToBuffer() to Tpm2CommandLib 2016-09-21 18:20:19 +08:00
Tpm2Hierarchy.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2Integrity.c SecurityPkg/TPM2: Move Tpm2PcrAllocateBanks() to Tpm2CommandLib 2016-09-21 18:20:16 +08:00
Tpm2Miscellaneous.c SecurityPkg: Clear AuthSession content after use. 2016-01-11 05:18:32 +00:00
Tpm2NVStorage.c SecurityPkg: Correct data copy in Tpm2NvReadPublic. 2016-01-27 12:16:47 +00:00
Tpm2Sequences.c Add TPM2 implementation. 2013-09-18 05:31:18 +00:00
Tpm2Session.c Use better coding style. 2014-12-19 05:21:55 +00:00
Tpm2Startup.c SecurityPkg: Add DEBUG messages for TPM2Startup 2016-05-03 10:03:41 +08:00
Tpm2Test.c Add TPM2 implementation. 2013-09-18 05:31:18 +00:00