SecurityPkg/HashInstanceLibSha256: Remove unused Tpm2CommandLib dependency

The HashInstanceLibSha256 library does not call into Tpm2CommandLib.
Removing it from the [LibraryClasses] section reduces unnecessary
dependencies and avoids potential build issues in non-TPM builds.

Also remove the unnecessary include of Tpm2CommandLib.h

Signed-off-by: Sami Mujawar <sami.mujawar@arm.com>
This commit is contained in:
Sami Mujawar 2025-09-18 16:42:06 +01:00 committed by mergify[bot]
parent 5f389e499c
commit 8a6cd66acb
2 changed files with 0 additions and 2 deletions

View file

@ -10,7 +10,6 @@ SPDX-License-Identifier: BSD-2-Clause-Patent
#include <PiPei.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/Tpm2CommandLib.h>
#include <Library/DebugLib.h>
#include <Library/BaseCryptLib.h>
#include <Library/MemoryAllocationLib.h>

View file

@ -36,6 +36,5 @@
BaseLib
BaseMemoryLib
DebugLib
Tpm2CommandLib
MemoryAllocationLib
BaseCryptLib