audk/SecurityPkg
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
..
Application/RngTest SecurityPkg: Delete Auth Variable driver 2015-07-01 03:13:02 +00:00
Hash2DxeCrypto Add restriction that HashFinal() must be after at least one HashUpdate(). 2015-08-18 02:11:10 +00:00
Include Add TPM2 support defined in trusted computing group. 2015-08-13 08:24:17 +00:00
Library SecurityPkg: Use PcdSet##S to instead of PcdSet## 2015-10-16 01:46:19 +00:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Fix one returned code issue in P7Verify Protocol 2015-08-26 00:59:17 +00:00
RandomNumberGenerator/RngDxe SecurityPkg: Clean up unused files in RngDxe 2015-10-09 06:03:34 +00:00
Tcg SecurityPkg: Use PcdSet##S to instead of PcdSet## 2015-10-16 01:46:19 +00:00
UserIdentification SecurityPkg:Replace unsafe string functions. 2015-07-08 06:59:50 +00:00
VariableAuthenticated SecurityPkg:Replace unsafe string functions. 2015-07-08 06:59:50 +00:00
Contributions.txt */Contributions.txt: Update example email address 2015-02-03 17:29:14 +00:00
License.txt Update copyright format 2012-04-24 06:49:39 +00:00
SecurityPkg.dec SecurityPkg: Add missing Lib definition in DEC file. 2015-08-27 05:26:24 +00:00
SecurityPkg.dsc SecurityPkg: Integrate new RngLib into RngDxe 2015-10-09 06:03:26 +00:00
SecurityPkg.uni SecurityPkg: Add missing PCD usage information. 2015-08-27 05:23:46 +00:00
SecurityPkgExtra.uni SecurityPkg: INF/DEC file updates to EDK II packages 2014-08-28 05:49:39 +00:00