audk/SecurityPkg/Library
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
..
AuthVariableLib SecurityPkg/AuthVariableLib: rebase to ARRAY_SIZE() 2016-10-27 11:15:20 +02:00
DxeDeferImageLoadLib SecurityPkg: Fix typos in comments 2016-11-15 15:45:31 +08:00
DxeImageAuthenticationStatusLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeImageVerificationLib SecurityPkg: Tcg2Dxe: Use UEFI_VARIABLE_DATA 2017-01-25 10:24:14 +08:00
DxeRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Fix typos in comments 2016-11-15 15:45:31 +08:00
DxeTcg2PhysicalPresenceLib SecurityPkg: Tcg2PhysicalPresence: Define TCG2 PP Flags Initial Pcd 2016-12-29 09:45:15 +08:00
DxeTcgPhysicalPresenceLib Revert old "Enable BlockSid related PP actions" patch series. 2016-11-23 16:30:03 +08:00
DxeTpm2MeasureBootLib SecurityPkg: Use IsZeroGuid API for zero GUID checking 2016-08-31 11:15:13 +08:00
DxeTpmMeasureBootLib SecurityPkg: Use IsZeroGuid API for zero GUID checking 2016-08-31 11:15:13 +08:00
DxeTpmMeasurementLib SecurityPkg: Convert all .uni files to utf-8 2015-12-15 04:58:32 +00:00
DxeTrEEPhysicalPresenceLib SecurityPkg: Update protocol usage in module INF files. 2016-04-13 14:52:58 +08:00
FmpAuthenticationLibPkcs7 SecurityPkg/FmpAuthenticationLib: Refine to compare with same type 2017-01-12 21:26:29 +08:00
FmpAuthenticationLibRsa2048Sha256 SecurityPkg/FmpAuthenticationLib: Refine to compare with same type 2017-01-12 21:26:29 +08:00
HashInstanceLibSha1 SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
HashInstanceLibSha256 SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
HashLibBaseCryptoRouter SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
HashLibTpm2 SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
OpalPasswordSupportLib SecurityPkg-Opal(1): Use fixed SMM communication buffer in OPAL password lib. 2016-04-29 12:49:23 +08:00
PeiRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Fix typos in comments 2016-11-15 15:45:31 +08:00
PeiTcg2PhysicalPresenceLib SecurityPkg Tcg2PPLib: Support BlockSID related actions 2016-11-28 14:50:42 +08:00
PlatformSecureLibNull SecurityPkg: Update PlatformSecureLibNull with PCD to get physical presence. 2016-06-29 09:43:00 +08:00
SmmTcg2PhysicalPresenceLib SecurityPkg Tcg2PPLib: Support BlockSID related actions 2016-11-28 14:50:42 +08: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
TcgStorageCoreLib SecurityPkg TcgStorageCoreLib: ASSERT to ensure 'ByteSeq' is not NULL 2016-11-22 16:31:44 +08:00
TcgStorageOpalLib SecurityPkg: Fix typos in comments 2016-11-15 15:45:31 +08:00
Tpm2CommandLib SecurityPkg: Tcg2Smm: TPM2 Vendor specific HID 2016-12-29 09:45:13 +08:00
Tpm2DeviceLibDTpm SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
Tpm2DeviceLibRouter SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
Tpm2DeviceLibTcg2 SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
Tpm2DeviceLibTrEE SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08:00
Tpm12CommandLib SecurityPkg/Tpm12CommandLib: Always check response returnCode 2017-01-25 14:18:30 -08:00
Tpm12DeviceLibDTpm SecurityPkg : Tpm12DeviceLibDTpm: Fix TPM12 wrong Response Tag check 2016-06-08 15:14:56 +08:00
Tpm12DeviceLibTcg SecurityPkg: Fix typo 'Ihis' with 'This' in codes 2016-10-18 09:41:56 +08: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