audk/SecurityPkg/Library
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
..
AuthVariableLib SecurityPkg: Allow VariablePolicy state to delete authenticated variables 2020-11-17 01:03:43 +00:00
DxeImageAuthenticationStatusLib
DxeImageVerificationLib SecurityPkg/DxeImageVerificationLib: Disable SHA1 base on MACRO 2020-09-07 02:38:42 +00:00
DxeRsa2048Sha256GuidedSectionExtractLib
DxeTcg2PhysicalPresenceLib SecurityPkg: Change default value source 2020-05-21 15:48:57 +00:00
DxeTcgPhysicalPresenceLib
DxeTpm2MeasureBootLib
DxeTpmMeasureBootLib
DxeTpmMeasurementLib
FmpAuthenticationLibPkcs7
FmpAuthenticationLibRsa2048Sha256
HashInstanceLibSha1
HashInstanceLibSha256
HashInstanceLibSha384
HashInstanceLibSha512
HashInstanceLibSm3
HashLibBaseCryptoRouter
HashLibTpm2
PeiRsa2048Sha256GuidedSectionExtractLib
PeiTcg2PhysicalPresenceLib SecurityPkg: Change default value source 2020-05-21 15:48:57 +00:00
PeiTpmMeasurementLib SecurityPkg/PeiTpmMeasurementLib: remove gEfiTpmDeviceSelectedGuid 2020-09-16 05:16:02 +00:00
PlatformSecureLibNull
RpmcLibNull Revert "SecurityPkg: Add RPMC Index to the RpmcLib" 2020-11-26 01:22:29 +00:00
SecureBootVariableLib SecurityPkg: Create SecureBootVariableLib. 2021-08-03 07:26:41 +00:00
SecureBootVariableProvisionLib SecurityPkg: Create library for enrolling Secure Boot variables. 2021-08-03 07:26:41 +00:00
SmmTcg2PhysicalPresenceLib SecurityPkg: Tcg2PhysicalPresenceLib: Introduce StandaloneMm instance 2021-02-01 10:03:35 -08:00
Tcg2PpVendorLibNull SecurityPkg: Tcg2PpVendorLibNull: Added support for MM_STANDALONE type 2021-02-01 10:03:35 -08:00
TcgEventLogRecordLib SecurityPkg/TcgEventLogRecordLib: add new lib for firmware measurement 2020-08-26 15:56:11 +00:00
TcgPpVendorLibNull
TcgStorageCoreLib
TcgStorageOpalLib SecurityPkg: TcgStorageOpalLib: Initialize SupportedAttributes parameter. 2021-06-15 08:43:25 +00:00
Tpm2CommandLib SecurityPkg: Fix GetSupportedAndActivePcrs counter calculation 2021-08-09 03:32:24 +00:00
Tpm2DeviceLibDTpm SecurityPkg: Tpm2DeviceLibDTpm: Introduce StandaloneMm instance 2021-02-01 10:03:35 -08:00
Tpm2DeviceLibRouter
Tpm2DeviceLibTcg2
Tpm12CommandLib
Tpm12DeviceLibDTpm
Tpm12DeviceLibTcg
TpmCommLib
VariableKeyLibNull