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
Tpm2CommandLib.uni
Tpm2Context.c
Tpm2DictionaryAttack.c
Tpm2EnhancedAuthorization.c
Tpm2Help.c SecurityPkg/TPM2: Move CopyDigestListToBuffer() to Tpm2CommandLib 2016-09-21 18:20:19 +08:00
Tpm2Hierarchy.c
Tpm2Integrity.c SecurityPkg/TPM2: Move Tpm2PcrAllocateBanks() to Tpm2CommandLib 2016-09-21 18:20:16 +08:00
Tpm2Miscellaneous.c
Tpm2NVStorage.c
Tpm2Sequences.c
Tpm2Session.c
Tpm2Startup.c
Tpm2Test.c