<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:DengXian;
        panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:"\@DengXian";
        panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">I vote the latter.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">- Bret <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="border:none;padding:0in"><b>From: </b><a href="mailto:rebecca=nuviainc.com@groups.io">Rebecca Cran via groups.io</a><br>
<b>Sent: </b>Monday, April 26, 2021 2:29 PM<br>
<b>To: </b><a href="mailto:Sami.Mujawar@arm.com">Sami Mujawar</a>; <a href="mailto:devel@edk2.groups.io">
devel@edk2.groups.io</a>; <a href="mailto:Samer.El-Haj-Mahmoud@arm.com">Samer El-Haj-Mahmoud</a>;
<a href="mailto:Ard.Biesheuvel@arm.com">Ard Biesheuvel</a>; <a href="mailto:leif@nuviainc.com">
leif@nuviainc.com</a><br>
<b>Cc: </b><a href="mailto:rfc@edk2.groups.io">rfc@edk2.groups.io</a>; <a href="mailto:jiewen.yao@intel.com">
Yao, Jiewen</a>; <a href="mailto:rahul1.kumar@intel.com">Rahul Kumar</a>; <a href="mailto:nd@arm.com">
nd</a>; <a href="mailto:Jose.Marinho@arm.com">Jose Marinho</a><br>
<b>Subject: </b>[EXTERNAL] Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe</p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hi Sami,<br>
<br>
I've been looking through the design document again, and was wondering <br>
if the work I previously did will just slot in?<br>
<br>
Were you thinking the "RngLib|RNDR" would go into ArmPkg (since it's not <br>
labeled as being in BaseRngLib)? Or would it still make sense to <br>
refactor MdePkg/Library/BaseRngLib to support both x86 (using RDRAND) <br>
and aarch64 (using RNDR)?<br>
<br>
-- <br>
Rebecca Cran <br>
 <br>
<br>
<br>
On 4/22/21 3:30 AM, Sami Mujawar wrote:<br>
> Hi Rebecca,<br>
> <br>
> I have been working on the following modules (See slide 11 in “EDKII - <br>
> Proposed update to RNG implementation.pdf <br>
> <<a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedk2.groups.io%2Fg%2Fdevel%2Ffiles%2FDesigns%2F2021%2F0116%2FEDKII%2520-%2520Proposed%2520update%2520to%2520RNG%2520implementation.pdf&amp;data=04%7C01%7Cbret.barkelew%40microsoft.com%7C676a9101f67845dbdc8908d908fa4cd1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637550693569385394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8ka83ReO2aG8yTVrgpTAVxczJVjl2JBH3ksHo2%2BSHk%3D&amp;reserved=0%3e”">https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedk2.groups.io%2Fg%2Fdevel%2Ffiles%2FDesigns%2F2021%2F0116%2FEDKII%2520-%2520Proposed%2520update%2520to%2520RNG%2520implementation.pdf&amp;data=04%7C01%7Cbret.barkelew%40microsoft.com%7C676a9101f67845dbdc8908d908fa4cd1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637550693569385394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8ka83ReO2aG8yTVrgpTAVxczJVjl2JBH3ksHo2%2BSHk%3D&amp;reserved=0>”</a>):<br>
> <br>
>  1. TrngLib|FwTrnglib (Arm Firmware TRNG)<br>
>  2. DrbgLib stack – with support for DrbgAlgorithmLib|CRT_DRBG &<br>
>     AesLib|ArmAesInstructionLib.<br>
> <br>
> I plan to post patches for (a) in the next fortnight. Following this I <br>
> plan to update the proposal with the interface definitions for the <br>
> various library interfaces in the DrbgLib Stack.<br>
> <br>
> I have not looked at RngLib|RNDR as I believe you were interested in <br>
> implementing the part. Kindly let me know if you plan to implement this <br>
> and the platform you would be using for testing. It looks like the <br>
> FVP_Base_AEMv8A-AEMv8A and the FVP-RevC models support RNDR, so these <br>
> could be used for testing as well. Please feel free to get in touch <br>
> should you need any help with the model parameters or if you face any <br>
> issues.<br>
> <br>
> Regards,<br>
> <br>
> Sami Mujawar<br>
> <br>
> *From: *Rebecca Cran <rebecca@nuviainc.com><br>
> *Date: *Tuesday, 20 April 2021 at 21:04<br>
> *To: *Sami Mujawar <Sami.Mujawar@arm.com>, devel@edk2.groups.io <br>
> <devel@edk2.groups.io>, Samer El-Haj-Mahmoud <br>
> <Samer.El-Haj-Mahmoud@arm.com>, Ard Biesheuvel <Ard.Biesheuvel@arm.com>, <br>
> leif@nuviainc.com <leif@nuviainc.com><br>
> *Cc: *rfc@edk2.groups.io <rfc@edk2.groups.io>, Jiewen Yao <br>
> <jiewen.yao@intel.com>, Rahul Kumar <rahul1.kumar@intel.com>, nd <br>
> <nd@arm.com>, Jose Marinho <Jose.Marinho@arm.com><br>
> *Subject: *Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to <br>
> RngDxe<br>
> <br>
> Hi Sami,<br>
> <br>
> I was wondering if you're still collecting feedback on the design, or if<br>
> you have a plan and schedule for the implementation?<br>
> <br>
> -- <br>
> Rebecca Cran<br>
> <br>
> On 1/15/21 7:51 PM, Sami Mujawar wrote:<br>
>  > Hi All,<br>
>  ><br>
>  > I have shared some initial thoughts on the RNG implementation updates <br>
> at <br>
> <a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedk2.groups.io%2Fg%2Fdevel%2Ffiles%2FDesigns%2F2021%2F0116%2FEDKII%2520-%2520Proposed%2520update%2520to%2520RNG%2520implementation.pdf&amp;data=04%7C01%7Cbret.barkelew%40microsoft.com%7C676a9101f67845dbdc8908d908fa4cd1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637550693569385394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8ka83ReO2aG8yTVrgpTAVxczJVjl2JBH3ksHo2%2BSHk%3D&amp;reserved=0">
https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedk2.groups.io%2Fg%2Fdevel%2Ffiles%2FDesigns%2F2021%2F0116%2FEDKII%2520-%2520Proposed%2520update%2520to%2520RNG%2520implementation.pdf&amp;data=04%7C01%7Cbret.barkelew%40microsoft.com%7C676a9101f67845dbdc8908d908fa4cd1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637550693569385394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8ka83ReO2aG8yTVrgpTAVxczJVjl2JBH3ksHo2%2BSHk%3D&amp;reserved=0</a>
<br>
> <<a href="https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedk2.groups.io%2Fg%2Fdevel%2Ffiles%2FDesigns%2F2021%2F0116%2FEDKII%2520-%2520Proposed%2520update%2520to%2520RNG%2520implementation.pdf&amp;data=04%7C01%7Cbret.barkelew%40microsoft.com%7C676a9101f67845dbdc8908d908fa4cd1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637550693569385394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8ka83ReO2aG8yTVrgpTAVxczJVjl2JBH3ksHo2%2BSHk%3D&amp;reserved=0">https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fedk2.groups.io%2Fg%2Fdevel%2Ffiles%2FDesigns%2F2021%2F0116%2FEDKII%2520-%2520Proposed%2520update%2520to%2520RNG%2520implementation.pdf&amp;data=04%7C01%7Cbret.barkelew%40microsoft.com%7C676a9101f67845dbdc8908d908fa4cd1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C637550693569385394%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=Q8ka83ReO2aG8yTVrgpTAVxczJVjl2JBH3ksHo2%2BSHk%3D&amp;reserved=0</a>><br>
>  ><br>
>  > Kindly let me know your feedback or if you have any queries.<br>
>  ><br>
>  > Regards,<br>
>  ><br>
>  > Sami Mujawar<br>
>  ><br>
>  > -----Original Message-----<br>
>  > From: devel@edk2.groups.io <devel@edk2.groups.io> On Behalf Of <br>
> Rebecca Cran via groups.io<br>
>  > Sent: 14 January 2021 09:05 PM<br>
>  > To: Sami Mujawar <Sami.Mujawar@arm.com>; devel@edk2.groups.io; Samer <br>
> El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@arm.com>; Ard Biesheuvel <br>
> <Ard.Biesheuvel@arm.com>; leif@nuviainc.com<br>
>  > Cc: rfc@edk2.groups.io; Jiewen Yao <jiewen.yao@intel.com>; Rahul <br>
> Kumar <rahul1.kumar@intel.com>; nd <nd@arm.com><br>
>  > Subject: Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to <br>
> RngDxe<br>
>  ><br>
>  > On 12/10/20 4:26 AM, Sami Mujawar wrote:<br>
>  ><br>
>  >> I am working on the TRNG FW API interface and will share more details<br>
>  >> for the discussion soon.<br>
>  >><br>
>  >> We had some thoughts about streamlining the RngDxe implementations and<br>
>  >> would like to share some diagrams for the discussion.<br>
>  >><br>
>  >> My diagrams are in Visio that I can export as JPG images. However, I am<br>
>  >> open to switching to any other suggested tool.<br>
>  ><br>
>  > Hi Sami,<br>
>  ><br>
>  > I don't see any further discussions on this. Have you made any progress<br>
>  > with sharing the design documents or scheduling a review?<br>
>  ><br>
> <br>
<br>
<br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>


 <div width="1" style="color:white;clear:both">_._,_._,_</div> <hr>   Groups.io Links:<p>   You receive all messages sent to this group.    <p> <a target="_blank" href="https://edk2.groups.io/g/devel/message/74436">View/Reply Online (#74436)</a> |    |  <a target="_blank" href="https://groups.io/mt/82390164/1813853">Mute This Topic</a>  | <a href="https://edk2.groups.io/g/devel/post">New Topic</a><br>    <a href="https://edk2.groups.io/g/devel/editsub/1813853">Your Subscription</a> | <a href="mailto:devel+owner@edk2.groups.io">Contact Group Owner</a> |  <a href="https://edk2.groups.io/g/devel/unsub">Unsubscribe</a>  [edk2-devel-archive@redhat.com]<br> <div width="1" style="color:white;clear:both">_._,_._,_</div>