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 SecurityPkg/DxeImageAuth: Mark the File parameter as OPTIONAL 2020-04-22 01:55:34 +00:00
DxeImageVerificationLib SecurityPkg/DxeImageVerificationLib: Disable SHA1 base on MACRO 2020-09-07 02:38:42 +00:00
DxeRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
DxeTcg2PhysicalPresenceLib SecurityPkg: Change default value source 2020-05-21 15:48:57 +00:00
DxeTcgPhysicalPresenceLib SecurityPkg: Fix few typos 2020-02-10 22:30:07 +00:00
DxeTpm2MeasureBootLib SecurityPkg/TPM: measure UEFI images without associated device paths again 2020-04-22 01:55:34 +00:00
DxeTpmMeasureBootLib SecurityPkg/TPM: measure UEFI images without associated device paths again 2020-04-22 01:55:34 +00:00
DxeTpmMeasurementLib SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
FmpAuthenticationLibPkcs7 SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
FmpAuthenticationLibRsa2048Sha256 SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
HashInstanceLibSha1 SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
HashInstanceLibSha256 SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
HashInstanceLibSha384 SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
HashInstanceLibSha512 SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
HashInstanceLibSm3 SecurityPkg: introduce the SM3 digest algorithm 2019-07-19 14:31:52 +02:00
HashLibBaseCryptoRouter SecurityPkg: Fix few typos 2020-02-10 22:30:07 +00:00
HashLibTpm2 SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
PeiRsa2048Sha256GuidedSectionExtractLib SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
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 SecurityPkg: Fix few typos 2020-02-10 22:30:07 +00:00
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 SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
TcgStorageCoreLib SecurityPkg/Tcg: Fix various typos 2020-02-10 22:30:07 +00:00
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 SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
Tpm2DeviceLibTcg2 SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
Tpm12CommandLib SecurityPkg: Fix spelling errors 2019-10-23 10:23:23 -07:00
Tpm12DeviceLibDTpm SecurityPkg/Library/Tpm: Fix various typos 2020-02-10 22:30:07 +00:00
Tpm12DeviceLibTcg SecurityPkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:23 -07:00
TpmCommLib SecurityPkg/Library/Tpm: Fix various typos 2020-02-10 22:30:07 +00:00
VariableKeyLibNull SecurityPkg: add null version of VariableKeyLib 2020-03-27 16:41:05 +00:00