Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe

Yao, Jiewen

Maybe you can upload the content to, where we hold the design review ppt, etc.

I assume we want to discuss below two APIs implementation, right?
1) RngLib

Thank you
Yao Jiewen

-----Original Message-----
From: <> On Behalf Of Leif Lindholm
Sent: Thursday, December 10, 2020 8:52 PM
To: Sami Mujawar <Sami.Mujawar@...>
Cc:; Samer El-Haj-Mahmoud <Samer.El-Haj-
Mahmoud@...>; Ard Biesheuvel <Ard.Biesheuvel@...>;
rebecca@...;; Yao, Jiewen
<jiewen.yao@...>; Kumar, Rahul1 <rahul1.kumar@...>; nd
Subject: Re: [edk2-rfc] [edk2-devel] RFC: Adding support for ARM (RNDR etc.)
to RngDxe

Hi Sami,

JPGs work, but preferably published in a location where they're
unlikely to be deleted, and posted as URLs. doesn't require a licensed application to
edit, and can be "saved to github" for example.

Please make sure to use the diagrams to support/clarify the mailing
list conversation rather than replacing it.

Best Regards,


On Thu, Dec 10, 2020 at 11:26:26 +0000, Sami Mujawar wrote:
Hi All,

I am working on the TRNG FW API interface and will share more details for
the discussion soon.
We had some thoughts about streamlining the RngDxe implementations
and would like to share some diagrams for the discussion.
My diagrams are in Visio that I can export as JPG images. However, I
am open to switching to any other suggested tool.

Hi Leif,

Can you suggest on how we can collaborate to share diagrams/documents,


Sami Mujawar

From: <> On Behalf Of Samer
El-Haj-Mahmoud via
Sent: 09 December 2020 04:48 AM
Cc:; Jiewen Yao <jiewen.yao@...>; Rahul Kumar
Subject: Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to

There is also the TRNG FW API, which is an architected SMC firmware

<<>> on behalf of
Rebecca Cran via
Sent: Tuesday, December 8, 2020, 11:33 PM
Cc:<>; Jiewen Yao; Rahul
Subject: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe

Currently, RngDxe in SecurityPkg only supports Intel, with RdRand support.

This RFC is to start a discussion about adding support for ARM.

I have a Git branch with support for the optional ARMv8.5 RNDR
instruction at which
moves the existing Intel support into a Rand directory, and adds code to
support RNDR in a new AArch64 directory.

There are other RNG implementations available for ARM, including
platform-specific approaches on Graviton
( and other platforms, so a more
thorough rearchitecting/redesign may be desired.

Rebecca Cran

IMPORTANT NOTICE: The contents of this email and any attachments are
confidential and may also be privileged. If you are not the intended recipient,
please notify the sender immediately and do not disclose the contents to
any other person, use it for any purpose, or store or copy the information in
any medium. Thank you.

Join to automatically receive all group messages.