diff --git a/Platform/ARM/JunoPkg/ArmJuno.dsc b/Platform/ARM/JunoPkg/ArmJuno.dsc index b0edecdc39..ea665fd2b4 100644 --- a/Platform/ARM/JunoPkg/ArmJuno.dsc +++ b/Platform/ARM/JunoPkg/ArmJuno.dsc @@ -45,6 +45,8 @@ # Trng Supports. ArmMonitorLib|ArmPkg/Library/ArmMonitorLib/ArmMonitorLib.inf ArmTrngLib|ArmPkg/Library/ArmTrngLib/ArmTrngLib.inf + # Rng + RngLib|MdePkg/Library/DxeRngLib/DxeRngLib.inf NorFlashDeviceLib|Platform/ARM/Library/P30NorFlashDeviceLib/P30NorFlashDeviceLib.inf NorFlashPlatformLib|Platform/ARM/JunoPkg/Library/NorFlashJunoLib/NorFlashJunoLib.inf @@ -407,6 +409,18 @@ # SCMI Driver ArmPkg/Drivers/ArmScmiDxe/ArmScmiDxe.inf + # + # Rng + # + SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf { + + !if $(ENABLE_UNSAFE_RNGLIB) == TRUE + RngLib|MdeModulePkg/Library/BaseRngLibTimerLib/BaseRngLibTimerLib.inf + !else + RngLib|MdePkg/Library/BaseRngLib/BaseRngLib.inf + !endif + } + [Components.AARCH64] # # EBC