On 8 February 2016 at 12:55, Ard Biesheuvel ard.biesheuvel@linaro.org wrote:
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
I'm wondering if it's worth putting am "UNSAFE FOR PRODUCTION" comment in the .dsc file? Mind you, the name "Pseudo..." should give it away. But a comment might have a slim change of helping those who use Juno as a template to create their own BSP.
- #
- 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
-- 2.5.0
Linaro-uefi mailing list Linaro-uefi@lists.linaro.org https://lists.linaro.org/mailman/listinfo/linaro-uefi