Branch: refs/heads/master
Home: https://github.com/tianocore/edk2
Commit: 0707d9296d7536c5baf43b23d70eafce10b1ab03
https://github.com/tianocore/edk2/commit/0707d9296d7536c5baf43b23d70eafce10b1ab03
Author: Wei6 Xu <[email protected]>
Date: 2024-04-15 (Mon, 15 Apr 2024)
Changed paths:
M SecurityPkg/Tcg/Tcg2Config/Tcg2ConfigImpl.c
Log Message:
-----------
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 <[email protected]>
Cc: Jiewen Yao <[email protected]>
Signed-off-by: Wei6 Xu <[email protected]>
Reviewed-by: Rahul Kumar <[email protected]>
Acked-by: Jiewen Yao <[email protected]>
To unsubscribe from these emails, change your notification settings at
https://github.com/tianocore/edk2/settings/notifications
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits