audk/SecurityPkg/Library
Star Zeng fe3ca12d06 SecurityPkg: Use PcdSet##S to instead of PcdSet##
PcdSet## has no error status returned, then the caller has no idea about whether the set operation is successful or not.
PcdSet##S were added to return error status and PcdSet## APIs were put in ifndef DISABLE_NEW_DEPRECATED_INTERFACES condition.
To adopt PcdSet##S and further code development with DISABLE_NEW_DEPRECATED_INTERFACES defined, we need to Replace PcdSet## usage with PcdSet##S.

Normally, DynamicDefault PCD set is expected to be success, but DynamicHii PCD set failure is a legal case.
PcdTpmInitializationPolicy/PcdTcg2HashAlgorithmBitmap/PcdTpm2HashMask/PcdTpmInstanceGuid all have set operation in PEI phase,
PEI phase does not allow DynamicHii PCD set, so DynamicDefault is expected for them and use PcdSet##S to instead of PcdSet## and assert when set failure.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18614 6f19259b-4bc3-4df7-8a09-765794883524
2015-10-16 01:46:19 +00:00
..
AuthVariableLib SecurityPkg AuthVariableLib: Add the missing gEfiAuthenticatedVariableGuid 2015-10-16 01:32:48 +00:00
DxeDeferImageLoadLib Fix execution status & DEBUG message level mismatch. EFI_D_ERROR is used only when failure/case can’t be resolved by code. 2014-11-10 05:01:15 +00:00
DxeImageAuthenticationStatusLib SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
DxeImageVerificationLib SecurityPkg: Update SignatureSize to comply UEFI spec 2015-08-17 02:50:26 +00:00
DxeRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Use PcdGetSize to get the size of VOID* PCD value. 2015-08-25 01:55:52 +00:00
DxeTcg2PhysicalPresenceLib Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
DxeTcgPhysicalPresenceLib SecurityPkg:Replace unsafe string functions. 2015-07-08 06:59:50 +00:00
DxeTpm2MeasureBootLib SecurityPkg: Reduce verbosity of TPM DEBUG messages 2015-09-16 00:53:28 +00:00
DxeTpmMeasureBootLib SecurityPkg: Remove mZeroGuid definition in DxeTpmMeasureBootLib 2015-07-07 03:04:18 +00:00
DxeTpmMeasurementLib Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
DxeTrEEPhysicalPresenceLib SecurityPkg:Replace unsafe string functions. 2015-07-08 06:59:50 +00:00
HashInstanceLibSha1 SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
HashInstanceLibSha256 SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
HashLibBaseCryptoRouter SecurityPkg: Use PcdSet##S to instead of PcdSet## 2015-10-16 01:46:19 +00:00
HashLibTpm2 SecurityPkg: Reduce verbosity of TPM DEBUG messages 2015-09-16 00:53:28 +00:00
PeiRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Use PcdGetSize to get the size of VOID* PCD value. 2015-08-25 01:55:52 +00:00
PeiTcg2PhysicalPresenceLib Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
PlatformSecureLibNull SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
SmmTcg2PhysicalPresenceLib Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
Tcg2PpVendorLibNull Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
TcgPpVendorLibNull Add TPM Physical Presence >=128 operation value support. 2015-01-12 03:16:49 +00:00
Tpm2CommandLib Correct AuthHandle definition for Tpm2SetPrimaryPolicy. 2014-12-23 04:06:52 +00:00
Tpm2DeviceLibDTpm SecurityPkg: Reduce verbosity of TPM DEBUG messages 2015-09-16 00:53:28 +00:00
Tpm2DeviceLibRouter Fix execution status & DEBUG message level mismatch. EFI_D_ERROR is used only when failure/case can’t be resolved by code. 2014-11-10 05:01:15 +00:00
Tpm2DeviceLibTcg2 Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
Tpm2DeviceLibTrEE SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
Tpm12CommandLib Add TPM12 NV related function. 2015-01-08 05:41:56 +00:00
Tpm12DeviceLibDTpm SecurityPkg: Reduce verbosity of TPM DEBUG messages 2015-09-16 00:53:28 +00:00
Tpm12DeviceLibTcg SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
TpmCommLib SecurityPkg: Convert non DOS format files to DOS format 2014-09-03 08:51:17 +00:00
TrEEPpVendorLibNull Add TPM Physical Presence >=128 operation value support. 2015-01-12 03:16:49 +00:00