audk/SecurityPkg
Wei6 Xu 0707d9296d SecurityPkg/Tcg2Config: Hide BIOS unsupported hash algorithm from UI
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=4731

TCG2 configuration UI shows all the hash algorithms that TPM hardware
supports in the checkbox. If user only selects one algorithm that is
supported by TPM hardware but not supported by BIOS and uncheck the
others, the SyncPcrAllocationsAndPcrMask in Tcg2Pei will not be able
to decide a viable PCR to activate, then an assert occurs.

Add check against PcdTcg2HashAlgorithmBitmap when deciding whether
to suppress the hash algorithm checkbox to avoid user to select the
hash algorithm which may cause an assert.

Cc: Rahul Kumar <rahul1.kumar@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Signed-off-by: Wei6 Xu <wei6.xu@intel.com>
Reviewed-by: Rahul Kumar <rahul1.kumar@intel.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
2024-04-15 15:18:50 +00:00
..
EnrollFromDefaultKeysApp SecurityPkg: Secure Boot Drivers: Added common header files 2022-07-07 01:07:00 +00:00
FvReportPei SecurityPkg/FvReportPei: Use FirmwareVolumeShadowPpi 2023-03-27 16:25:51 +00:00
Hash2DxeCrypto SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
HddPassword Securitypkg/hddpassword: Update HddPasswordDxeInit to use Variable Policy 2023-05-08 11:39:32 +00:00
Include SecurityPkg: deprecate RpmcLib and VariableKeyLib 2022-12-21 05:49:48 +00:00
Library SecurityPkg: DxeTpmMeasureBootLib: SECURITY PATCH 4117/4118 symbol rename 2024-01-18 19:25:14 +00:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
RandomNumberGenerator/RngDxe SecurityPkg: RngDxe: Fixing mAvailableAlgoArray allocator 2023-09-08 12:48:57 +00:00
Tcg SecurityPkg/Tcg2Config: Hide BIOS unsupported hash algorithm from UI 2024-04-15 15:18:50 +00:00
Test SecurityPkg: DxeTpmMeasureBootLib: SECURITY PATCH 4117 - CVE 2022-36763 2024-01-16 07:56:38 +00:00
VariableAuthenticated SecurityPkg/SecureBootConfigDxe: Update UI according to UEFI spec 2024-04-07 02:48:24 +00:00
SecurityFixes.yaml SecurityPkg: : Updating SecurityFixes.yaml after symbol rename 2024-01-18 19:25:14 +00:00
SecurityPkg.ci.yaml SecurityPkg: DxeTpmMeasureBootLib: SECURITY PATCH 4117 - CVE 2022-36763 2024-01-16 07:56:38 +00:00
SecurityPkg.dec SecurityPkg/SecurityPkg.dec: Move PcdCpuRngSupportedAlgorithm to MdePkg 2023-09-08 09:48:55 +00:00
SecurityPkg.dsc MdeModulePkg: Duplicate BaseRngLibTimerLib to MdeModulePkg 2023-09-08 09:48:55 +00:00
SecurityPkg.uni SecurityPkg: SubClassTpm: Updated default value 2023-06-23 16:28:24 +00:00
SecurityPkgExtra.uni SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00