audk/SecurityPkg
Rodrigo Gonzalez del Cueto 3c6107758b SecurityPkg: Fix GetSupportedAndActivePcrs counter calculation
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=2855
The Tpm2GetCapabilitySupportedAndActivePcrs function prints a
count number that should reflect the *supported and currently
active* PCR banks, but the implementation in place displays
instead the count of the *supported PCR banks* retrieved
directly from the Tpm2GetCapabilityPcrs()
TPML_PCR_SELECTION output.

The counter should only take into account those PCRs banks
which are active.

Replaced usage of EFI_D_* for DEBUG_* definitions in debug
messages.

Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Jian J Wang <jian.j.wang@intel.com>
Cc: Qi Zhang <qi1.zhang@intel.com>
Signed-off-by: Rodrigo Gonzalez del Cueto <rodrigo.gonzalez.del.cueto@intel.com>
Reviewed-by: Jiewen Yao <Jiewen.yao@intel.com>
2021-08-09 03:32:24 +00:00
..
EnrollFromDefaultKeysApp SecurityPkg: Add EnrollFromDefaultKeys application. 2021-08-03 07:26:41 +00:00
FvReportPei SecurityPkg/FvReportPei: remove redundant sizeof 2021-04-16 08:39:59 +00:00
Hash2DxeCrypto SecurityPkg/Hash2DxeCrypto: Remove SHA1 support 2020-11-17 19:26:50 +00:00
HddPassword SecurityPkg/HddPassword: Use BaseLib linked list iteration macros 2020-04-21 02:20:51 +00:00
Include SecurityPkg: Create library for enrolling Secure Boot variables. 2021-08-03 07:26:41 +00:00
Library SecurityPkg: Fix GetSupportedAndActivePcrs counter calculation 2021-08-09 03:32:24 +00:00
Pkcs7Verify/Pkcs7VerifyDxe SecurityPkg: Fix few typos 2020-02-10 22:30:07 +00:00
RandomNumberGenerator/RngDxe SecurityPkg: Add support for RngDxe on AARCH64 2021-05-11 16:26:05 +00:00
Tcg SecurityPkg/Tcg2Smm: Initialize local Status variable 2021-04-13 01:57:43 +00:00
VariableAuthenticated SecurityPkg: Add option to reset secure boot keys. 2021-08-03 07:26:41 +00:00
SecurityPkg.ci.yaml SecurityPkg: Tcg2Smm: Added support for Standalone Mm 2021-03-05 15:25:07 +00:00
SecurityPkg.dec SecurityPkg: Add new modules to Security package. 2021-08-03 07:26:41 +00:00
SecurityPkg.dsc SecurityPkg: Add new modules to Security package. 2021-08-03 07:26:41 +00:00
SecurityPkg.uni SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
SecurityPkgExtra.uni SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00