This adds RngDxe to the Juno build, based on the PseudoRngLib that is based on the generic timer and the cycle counter. This is only intended for development purposes, since PseudoRngLib is UNSAFE FOR PRODUCTION.
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel ard.biesheuvel@linaro.org --- Platforms/ARM/Juno/ArmJuno.dsc | 8 ++++++++ Platforms/ARM/Juno/ArmJuno.fdf | 5 +++++ 2 files changed, 13 insertions(+)
diff --git a/Platforms/ARM/Juno/ArmJuno.dsc b/Platforms/ARM/Juno/ArmJuno.dsc index 9f1cbc2ba243..2c2e333f3cbe 100644 --- a/Platforms/ARM/Juno/ArmJuno.dsc +++ b/Platforms/ARM/Juno/ArmJuno.dsc @@ -293,6 +293,14 @@ ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf
# + # Random Number Generator driver + # + SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf { + <LibraryClasses> + RngLib|OpenPlatformPkg/Platforms/ARM/Drivers/PseudoRngLib/PseudoRngLib.inf + } + + # # Bds # MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf diff --git a/Platforms/ARM/Juno/ArmJuno.fdf b/Platforms/ARM/Juno/ArmJuno.fdf index 0e7274f74361..7bd5bc37b7f4 100644 --- a/Platforms/ARM/Juno/ArmJuno.fdf +++ b/Platforms/ARM/Juno/ArmJuno.fdf @@ -198,6 +198,11 @@ FvNameGuid = B73FE497-B92E-416e-8326-45AD0D270092 INF ArmPlatformPkg/ArmJunoPkg/Drivers/ArmJunoDxe/ArmJunoDxe.inf
# + # Random Number Generator driver + # + INF SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf + + # # Bds # INF MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf