public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH edk2-platforms v1 0/2] Enable RNG support for Juno
@ 2021-09-30 16:00 Sami Mujawar
  2021-09-30 16:00 ` [PATCH edk2-platforms v1 1/2] Platform/ARM: Add NULL instance of TRNG lib to Libraries Sami Mujawar
  2021-09-30 16:00 ` [PATCH edk2-platforms v1 2/2] Platform/ARM/Juno: Add RNG support using FW-TRNG interface Sami Mujawar
  0 siblings, 2 replies; 4+ messages in thread
From: Sami Mujawar @ 2021-09-30 16:00 UTC (permalink / raw)
  To: devel
  Cc: Sami Mujawar, ardb+tianocore, thomas.abraham, leif, rebecca,
	Matteo.Carlini, Akanksha.Jain2, Ben.Adderson, nd

The Arm True Random Number Generator Firmware, Interface 1.0, specification
defines an interface between an Operating System (OS) executing at EL1 and
Firmware (FW) exposing a conditioned entropy source that is provided by a
TRNG back end.

The edk2 patch series at:
https://edk2.groups.io/g/devel/topic/patch_v1_0_9_add_raw/85977024
adds RawAlgorithm support to RngDxe for Arm architecture using the Arm
FW-TRNG interface:

Ref: Bugzilla: 3668 (https://bugzilla.tianocore.org/show_bug.cgi?id=3668)

FW-TRNG interface service is already supported in TF-A for Juno. Therefore,
enable RNG support for Juno. Also, flink the NULL instance of TRNG library
for platforms that do not implement the FW-TRNG interface.

The changes can be seen at:
https://github.com/samimujawar/edk2-platforms/tree/1829_arm_fw_trng_v1

Sami Mujawar (2):
  Platform/ARM: Add NULL instance of TRNG lib to Libraries
  Platform/ARM/Juno: Add RNG support using FW-TRNG interface

 Platform/ARM/JunoPkg/ArmJuno.dsc             | 10 +++++++++-
 Platform/ARM/JunoPkg/ArmJuno.fdf             |  7 ++++++-
 Platform/ARM/VExpressPkg/ArmVExpress.dsc.inc |  3 ++-
 3 files changed, 17 insertions(+), 3 deletions(-)

-- 
'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-10-01 17:45 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-30 16:00 [PATCH edk2-platforms v1 0/2] Enable RNG support for Juno Sami Mujawar
2021-09-30 16:00 ` [PATCH edk2-platforms v1 1/2] Platform/ARM: Add NULL instance of TRNG lib to Libraries Sami Mujawar
2021-09-30 16:00 ` [PATCH edk2-platforms v1 2/2] Platform/ARM/Juno: Add RNG support using FW-TRNG interface Sami Mujawar
2021-10-01 17:44   ` [edk2-devel] " Joey Gouly

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox