Skip to content

Commit

Permalink
Drop non-shared crypto from QemuQ35Pkg and QemuSbsaPkg
Browse files Browse the repository at this point in the history
Moving forward the OpenSSL submodule will no longer be present in
CryptoPkg and the only option to integrate crypto into the platform
will be shared crypto (via the binary crypto ext dep).

The option to enable/disable shared crypto is removed since disabling
it is no longer an option.

The BaseCryptLibUnitTest EFI shell test is removed since it depends
on functions not present in the PPI/Protocol instances of BaseCryptLib
and the crypto releases should have the tests run before the release
is made.

Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com>
  • Loading branch information
makubacki committed Feb 1, 2024
1 parent 5e26ac3 commit 6f7963d
Show file tree
Hide file tree
Showing 11 changed files with 74 additions and 179 deletions.
2 changes: 1 addition & 1 deletion Common/MU_TIANO
Submodule MU_TIANO updated 24 files
+29 −5 .github/workflows/codeql.yml
+4 −3 FmpDevicePkg/FmpDevicePkg.ci.yaml
+10 −7 FmpDevicePkg/FmpDevicePkg.dsc
+47 −32 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.c
+3 −1 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf
+319 −0 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLibSanitization.c
+139 −0 SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLibSanitization.h
+345 −0 SecurityPkg/Library/DxeTpm2MeasureBootLib/InternalUnitTest/DxeTpm2MeasureBootLibSanitizationTest.c
+28 −0 SecurityPkg/Library/DxeTpm2MeasureBootLib/InternalUnitTest/DxeTpm2MeasureBootLibSanitizationTestHost.inf
+36 −17 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.c
+3 −1 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLib.inf
+285 −0 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLibSanitization.c
+137 −0 SecurityPkg/Library/DxeTpmMeasureBootLib/DxeTpmMeasureBootLibSanitization.h
+387 −0 SecurityPkg/Library/DxeTpmMeasureBootLib/InternalUnitTest/DxeTpmMeasureBootLibSanitizationTest.c
+28 −0 SecurityPkg/Library/DxeTpmMeasureBootLib/InternalUnitTest/DxeTpmMeasureBootLibSanitizationTestHost.inf
+38 −18 SecurityPkg/RandomNumberGenerator/RngDxe/AArch64/AArch64Algo.c
+9 −14 SecurityPkg/RandomNumberGenerator/RngDxe/ArmRngDxe.c
+1 −3 SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
+32 −0 SecurityPkg/SecurityFixes.yaml
+6 −3 SecurityPkg/SecurityPkg.ci.yaml
+0 −2 SecurityPkg/SecurityPkg.dec
+36 −30 SecurityPkg/SecurityPkg.dsc
+2 −0 SecurityPkg/Test/SecurityPkgHostTest.dsc
+2 −2 pip-requirements.txt
2 changes: 1 addition & 1 deletion MU_BASECORE
Submodule MU_BASECORE updated 353 files
Binary file not shown.
111 changes: 12 additions & 99 deletions Platforms/QemuQ35Pkg/QemuQ35Pkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -43,20 +43,14 @@
DEFINE NETWORK_HTTP_ENABLE = TRUE
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE

# Configure Shared Crypto
!ifndef ENABLE_SHARED_CRYPTO # by default true
ENABLE_SHARED_CRYPTO = TRUE
!endif
!if $(ENABLE_SHARED_CRYPTO) == TRUE
PEI_CRYPTO_SERVICES = TINY_SHA
DXE_CRYPTO_SERVICES = STANDARD
SMM_CRYPTO_SERVICES = STANDARD
STANDALONEMM_CRYPTO_SERVICES = STANDARD
PEI_CRYPTO_ARCH = IA32
DXE_CRYPTO_ARCH = X64
SMM_CRYPTO_ARCH = X64
STANDALONEMM_CRYPTO_ARCH = X64
!endif

PEI_CRYPTO_SERVICES = TINY_SHA
DXE_CRYPTO_SERVICES = STANDARD
SMM_CRYPTO_SERVICES = NONE
STANDALONEMM_CRYPTO_SERVICES = STANDARD
PEI_CRYPTO_ARCH = IA32
DXE_CRYPTO_ARCH = X64
STANDALONEMM_CRYPTO_ARCH = X64

################################################################################
#
Expand Down Expand Up @@ -308,69 +302,6 @@
PlatformSmmProtectionsTestLib|UefiTestingPkg/Library/PlatformSmmProtectionsTestLibNull/PlatformSmmProtectionsTestLibNull.inf
FmpDependencyLib|FmpDevicePkg/Library/FmpDependencyLib/FmpDependencyLib.inf

#SHARED_CRYPTO
!if $(ENABLE_SHARED_CRYPTO) == FALSE
[LibraryClasses.IA32]
BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf
TlsLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/PeiCryptLib.inf

[LibraryClasses.X64]
BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf
TlsLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/DxeCryptLib.inf

[LibraryClasses.X64.DXE_SMM_DRIVER]
BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.inf
TlsLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/SmmCryptLib.inf

[LibraryClasses.X64.MM_STANDALONE]
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf

[Components.IA32]
CryptoPkg/Driver/CryptoPei.inf {
<LibraryClasses>
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
!if "MSFT" IN $(FAMILY)
NULL|MdePkg/Library/VsIntrinsicLib/VsIntrinsicLib.inf
!endif
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf # Contains openSSL library used by BaseCryptoLib
<PcdsFixedAtBuild>
!include CryptoPkg/Driver/Bin/Crypto.pcd.TINY_SHA.inc.dsc
}

[Components.X64]
CryptoPkg/Driver/CryptoDxe.inf {
<LibraryClasses>
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf # Contains openSSL library used by BaseCryptoLib
<PcdsFixedAtBuild>
!include CryptoPkg/Driver/Bin/Crypto.pcd.STANDARD.inc.dsc
}
CryptoPkg/Driver/CryptoSmm.inf {
<LibraryClasses>
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
TlsLib|CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf # Contains openSSL library used by BaseCryptoLib
<PcdsFixedAtBuild>
!include CryptoPkg/Driver/Bin/Crypto.pcd.STANDARD.inc.dsc
}
CryptoPkg/Driver/CryptoStandaloneMm.inf {
<LibraryClasses>
BaseCryptLib |CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
TlsLib |CryptoPkg/Library/TlsLibNull/TlsLibNull.inf
OpensslLib |CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf
IntrinsicLib |CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
FltUsedLib |MdePkg/Library/FltUsedLib/FltUsedLib.inf
SafeIntLib |MdePkg/Library/BaseSafeIntLib/BaseSafeIntLib.inf
<PcdsFixedAtBuild>
!include CryptoPkg/Driver/Bin/Crypto.pcd.STANDARD.inc.dsc
}
!endif

[LibraryClasses]
# Platform Runtime Mechanism (PRM) libraries
PrmContextBufferLib|PrmPkg/Library/DxePrmContextBufferLib/DxePrmContextBufferLib.inf
Expand Down Expand Up @@ -589,9 +520,6 @@
ReportStatusCodeLib|MdeModulePkg/Library/SmmReportStatusCodeLib/StandaloneMmReportStatusCodeLib.inf
HwResetSystemLib|QemuQ35Pkg/Library/ResetSystemLib/StandaloneMmResetSystemLib.inf
StandaloneMmDriverEntryPoint|MmSupervisorPkg/Library/StandaloneMmDriverEntryPoint/StandaloneMmDriverEntryPoint.inf
BaseCryptLib|CryptoPkg/Library/BaseCryptLibOnProtocolPpi/StandaloneMmCryptLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
AdvLoggerAccessLib|AdvLoggerPkg/Library/AdvLoggerMmAccessLib/AdvLoggerMmAccessLib.inf
DevicePathLib|MdePkg/Library/UefiDevicePathLib/UefiDevicePathLibStandaloneMm.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
Expand Down Expand Up @@ -924,10 +852,7 @@
#
################################################################################
[Components]
# Shared Crypto Include
!if $(ENABLE_SHARED_CRYPTO) == TRUE
!include CryptoPkg/Driver/Bin/CryptoDriver.inc.dsc
!endif

QemuQ35Pkg/Library/PeiFvMeasurementExclusionLib/PeiFvMeasurementExclusionLib.inf

Expand Down Expand Up @@ -1387,18 +1312,6 @@ QemuQ35Pkg/Library/ResetSystemLib/StandaloneMmResetSystemLib.inf
!if $(BUILD_UNIT_TESTS) == TRUE

AdvLoggerPkg/UnitTests/LineParser/LineParserTestApp.inf
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTestApp.inf {
<LibraryClasses>
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf # Contains openSSL library used by BaseCryptoLib
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
<PcdsPatchableInModule>
#Turn off Halt on Assert and Print Assert so that libraries can
#be tested in more of a release mode environment
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0E
<PcdsFixedAtBuild>
!include CryptoPkg/Test/Crypto.pcd.ALL.inc.dsc
}
DfciPkg/UnitTests/DeviceIdTest/DeviceIdTestApp.inf
# DfciPkg/UnitTests/DfciVarLockAudit/UEFI/DfciVarLockAuditTestApp.inf # DOESN'T PRODUCE OUTPUT
FmpDevicePkg/Test/UnitTest/Library/FmpDependencyLib/FmpDependencyLibUnitTestApp.inf
Expand Down Expand Up @@ -1504,10 +1417,10 @@ QemuQ35Pkg/Library/ResetSystemLib/StandaloneMmResetSystemLib.inf
MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf {
<LibraryClasses>
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFullAccel.inf # Contains openSSL library used by BaseCryptoLib
# TODO: Replace with DxeRuntimeCryptLib.
# In the meantime, a pre-built VariableRuntimeDxe driver is used.
# Kept in the DSC to verify build during this time.
BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
}

#
Expand Down
27 changes: 11 additions & 16 deletions Platforms/QemuQ35Pkg/QemuQ35Pkg.fdf
Original file line number Diff line number Diff line change
Expand Up @@ -274,12 +274,7 @@ INF PolicyServicePkg/PolicyService/Pei/PolicyPei.inf
INF QemuQ35Pkg/ConfigKnobs/ConfigKnobs.inf
INF OemPkg/OemConfigPolicyCreatorPei/OemConfigPolicyCreatorPei.inf

# Shared Crypto
!if $(ENABLE_SHARED_CRYPTO) == TRUE
!include CryptoPkg/Driver/Bin/CryptoDriver.PEI.inc.fdf
!else
INF CryptoPkg/Driver/CryptoPei.inf
!endif
!include CryptoPkg/Driver/Bin/CryptoDriver.PEI.inc.fdf

################################################################################

Expand Down Expand Up @@ -474,7 +469,14 @@ INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableStandaloneMm.inf
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableSmmRuntimeDxe.inf
!else
INF MdeModulePkg/Universal/FaultTolerantWriteDxe/FaultTolerantWriteDxe.inf
INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
# TODO: Remove pre-built VariableRuntimeDxe when DxeRuntimeCryptLib is integrated
# The pre-built driver has crypto statically linked.
# INF MdeModulePkg/Universal/Variable/RuntimeDxe/VariableRuntimeDxe.inf
FILE DRIVER = CBD2E4D5-7068-4FF5-B462-9822B4AD8D60 {
SECTION PE32 = QemuQ35Pkg/Binaries/VariableRuntimeDxe.efi
SECTION DXE_DEPEX_EXP = {gEfiPcdProtocolGuid AND gEfiDevicePathUtilitiesProtocolGuid}
SECTION UI = "VariableRuntimeDxe"
}
!endif

#
Expand Down Expand Up @@ -522,15 +524,8 @@ INF SecurityPkg/Hash2DxeCrypto/Hash2DxeCrypto.inf
INF MsCorePkg/HelloWorldRustDxe/HelloWorldRustDxe.inf
INF MsCorePkg/AcpiRGRT/AcpiRgrt.inf

#SHARED_CRYPTO Crypto Bin Modules
!if $(ENABLE_SHARED_CRYPTO) == TRUE
!include CryptoPkg/Driver/Bin/CryptoDriver.DXE.inc.fdf
!include CryptoPkg/Driver/Bin/CryptoDriver.STANDALONEMM.inc.fdf
!else
INF CryptoPkg/Driver/CryptoDxe.inf
INF CryptoPkg/Driver/CryptoSmm.inf
INF CryptoPkg/Driver/CryptoStandaloneMm.inf
!endif
!include CryptoPkg/Driver/Bin/CryptoDriver.DXE.inc.fdf
!include CryptoPkg/Driver/Bin/CryptoDriver.STANDALONEMM.inc.fdf

!if $(BUILD_UNIT_TESTS) == TRUE
# INF UefiTestingPkg/FunctionalSystemTests/SmmPagingProtectionsTest/Smm/SmmPagingProtectionsTestStandaloneMm.inf # NOT YET SUPPORTED
Expand Down
2 changes: 0 additions & 2 deletions Platforms/QemuQ35Pkg/Test/QemuQ35PkgHostTest.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@
ConfigVariableListLib|SetupDataPkg/Library/ConfigVariableListLib/ConfigVariableListLib.inf
ConfigSystemModeLib|SetupDataPkg/Test/MockLibrary/MockConfigSystemModeLib/MockConfigSystemModeLib.inf
ConfigKnobShimLib|SetupDataPkg/Library/ConfigKnobShimLib/ConfigKnobShimDxeLib/ConfigKnobShimDxeLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLib.inf
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/UnitTestHostBaseCryptLib.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
MmServicesTableLib|MdePkg/Library/MmServicesTableLib/MmServicesTableLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
Expand Down
3 changes: 2 additions & 1 deletion Platforms/QemuSbsaPkg/QemuSbsaPkg.ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@
"noclearmem",
"unblank",
"dmaivrs",
"nxcompat"
"nxcompat",
"standalonemm"
], # words to extend to the dictionary for this package
"IgnoreStandardPaths": [], # Standard Plugin defined paths that should be ignore
"AdditionalIncludePaths": [] # Additional paths to spell check (wildcards supported)
Expand Down
59 changes: 12 additions & 47 deletions Platforms/QemuSbsaPkg/QemuSbsaPkg.dsc
Original file line number Diff line number Diff line change
Expand Up @@ -46,21 +46,6 @@
# DEBUG_ERROR 0x80000000 // Error
DEFINE DEBUG_PRINT_ERROR_LEVEL = 0x80080246

!if $(TARGET) != NOOPT
DEFINE FD_SIZE_IN_MB = 2
!else
DEFINE FD_SIZE_IN_MB = 3
!endif

!if $(FD_SIZE_IN_MB) == 2
DEFINE FD_SIZE = 0x200000
DEFINE FD_NUM_BLOCKS = 0x200
!endif
!if $(FD_SIZE_IN_MB) == 3
DEFINE FD_SIZE = 0x300000
DEFINE FD_NUM_BLOCKS = 0x300
!endif

#
# Defines for default states. These can be changed on the command line.
# -D FLAG=VALUE
Expand All @@ -80,6 +65,14 @@
DEFINE NETWORK_ALLOW_HTTP_CONNECTIONS = TRUE
DEFINE NETWORK_ISCSI_ENABLE = FALSE

PEI_CRYPTO_SERVICES = TINY_SHA
DXE_CRYPTO_SERVICES = STANDARD
STANDALONEMM_CRYPTO_SERVICES = STANDARD
SMM_CRYPTO_SERVICES = NONE
PEI_CRYPTO_ARCH = AARCH64
DXE_CRYPTO_ARCH = AARCH64
STANDALONEMM_CRYPTO_ARCH = AARCH64

!if $(NETWORK_SNP_ENABLE) == TRUE
!error "NETWORK_SNP_ENABLE is IA32/X64/EBC only"
!endif
Expand All @@ -89,6 +82,7 @@
!include MdePkg/MdeLibs.dsc.inc

[LibraryClasses.common]
BaseCryptLib|CryptoPkg/Library/BaseCryptLibNull/BaseCryptLibNull.inf
DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf

BaseLib|MdePkg/Library/BaseLib/BaseLib.inf
Expand Down Expand Up @@ -137,9 +131,6 @@

# Networking Requirements
!include NetworkPkg/NetworkLibs.dsc.inc
!if $(NETWORK_TLS_ENABLE) == TRUE
TlsLib|CryptoPkg/Library/TlsLib/TlsLib.inf
!endif

NonDiscoverableDeviceRegistrationLib|MdeModulePkg/Library/NonDiscoverableDeviceRegistrationLib/NonDiscoverableDeviceRegistrationLib.inf

Expand Down Expand Up @@ -201,17 +192,7 @@
# USB Libraries
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf

#
# CryptoPkg libraries needed by multiple firmware features
#
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
!if $(NETWORK_TLS_ENABLE) == TRUE
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
!else
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibCrypto.inf
!endif
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf
RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf
ArmTrngLib|ArmPkg/Library/ArmTrngLib/ArmTrngLib.inf
Hash2CryptoLib|SecurityPkg/Library/BaseHash2CryptoLibNull/BaseHash2CryptoLibNull.inf
Expand Down Expand Up @@ -437,7 +418,6 @@
PolicyLib |PolicyServicePkg/Library/PeiPolicyLib/PeiPolicyLib.inf

!if $(TPM2_ENABLE) == TRUE
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/PeiCryptLib.inf
Tpm2DeviceLib|SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
!endif

Expand Down Expand Up @@ -472,10 +452,6 @@
VariablePolicyLib|MdeModulePkg/Library/VariablePolicyLib/VariablePolicyLibRuntimeDxe.inf
ResetSystemLib|MdeModulePkg/Library/RuntimeResetSystemLib/RuntimeResetSystemLib.inf

!if $(SECURE_BOOT_ENABLE) == TRUE
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/RuntimeCryptLib.inf
!endif

[LibraryClasses.common.MM_CORE_STANDALONE]
BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf
ExtractGuidedSectionLib|EmbeddedPkg/Library/PrePiExtractGuidedSectionLib/PrePiExtractGuidedSectionLib.inf
Expand All @@ -495,9 +471,6 @@
HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf
MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf
MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmMemoryAllocationLib/StandaloneMmMemoryAllocationLib.inf
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/SmmCryptLib.inf
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf
RngLib|MdePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf
SynchronizationLib|MdePkg/Library/BaseSynchronizationLib/BaseSynchronizationLib.inf
VarCheckLib|MdeModulePkg/Library/VarCheckLib/VarCheckLib.inf
Expand Down Expand Up @@ -904,6 +877,8 @@
#
################################################################################
[Components.common]
!include CryptoPkg/Driver/Bin/CryptoDriver.inc.dsc

#
# PEI Phase modules
#
Expand Down Expand Up @@ -1223,16 +1198,6 @@
!if $(BUILD_UNIT_TESTS) == TRUE

AdvLoggerPkg/UnitTests/LineParser/LineParserTestApp.inf
CryptoPkg/Test/UnitTest/Library/BaseCryptLib/BaseCryptLibUnitTestApp.inf {
<LibraryClasses>
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
OpensslLib|CryptoPkg/Library/OpensslLib/OpensslLibFull.inf # Contains openSSL library used by BaseCryptoLib
IntrinsicLib|CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
<PcdsPatchableInModule>
#Turn off Halt on Assert and Print Assert so that libraries can
#be tested in more of a release mode environment
gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x0E
}
DfciPkg/UnitTests/DeviceIdTest/DeviceIdTestApp.inf
# DfciPkg/UnitTests/DfciVarLockAudit/UEFI/DfciVarLockAuditTestApp.inf # DOESN'T PRODUCE OUTPUT
FmpDevicePkg/Test/UnitTest/Library/FmpDependencyLib/FmpDependencyLibUnitTestApp.inf
Expand Down
Loading

0 comments on commit 6f7963d

Please sign in to comment.