audk/SecurityPkg/Library/Tpm12CommandLib
Michael Kinney 8b17ad862c SecurityPkg/Tpm12CommandLib: Always check response returnCode
https://bugzilla.tianocore.org/show_bug.cgi?id=338

Update the Tpm12CommandLib to consistently check the returnCode
field of a response packet.  These checks are missing from the
GetCapability and SelfTest commands.  The functions
Tpm12ContinueSelfTest(), Tpm12GetCapabilityFlagPermanent(), and
Tpm12GetCapabilityFlagVolatile() are updated to verify that the
response returnCode is not an error.

Cc: Chao Zhang <chao.b.zhang@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Michael Kinney <michael.d.kinney@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Chao Zhang <chao.b.zhang@intel.com>
2017-01-25 14:18:30 -08:00
..
Tpm12CommandLib.inf SecurityPkg/Tpm12CommandLib: Add TPM 1.2 commands used by TCG modules 2016-01-21 19:30:05 +00:00
Tpm12CommandLib.uni
Tpm12GetCapability.c SecurityPkg/Tpm12CommandLib: Always check response returnCode 2017-01-25 14:18:30 -08:00
Tpm12NvStorage.c SecurityPkg: Fix TPM 1.2 NV Storage Command Size byte order 2016-05-03 10:10:58 +08:00
Tpm12Ownership.c SecurityPkg/Tpm12CommandLib: Add TPM 1.2 commands used by TCG modules 2016-01-21 19:30:05 +00:00
Tpm12Pcr.c SecurityPkg: TPM12CommandLib: Add Response returnCode Check 2016-09-01 14:50:44 +08:00
Tpm12PhysicalPresence.c SecurityPkg: TPM12CommandLib: Add Response returnCode Check 2016-09-01 14:50:44 +08:00
Tpm12SelfTest.c SecurityPkg/Tpm12CommandLib: Always check response returnCode 2017-01-25 14:18:30 -08:00
Tpm12Startup.c SecurityPkg: Add DEBUG messages for TPM12Startup 2016-05-03 10:10:41 +08:00