Date
1 - 2 of 2
[EXTERNAL] Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe
Sami Mujawar
Hi Rebecca,
I agree MdePkg/Library/BaseRngLib can be refactored to support both x86 and AArch64. BaseRngLib would then be a RngLib instance that uses CPU instructions to provide random numbers. Regards, Sami Mujawar From: Bret Barkelew <Bret.Barkelew@...> Date: Monday, 26 April 2021 at 22:45 To: devel@edk2.groups.io <devel@edk2.groups.io>, rebecca@... <rebecca@...>, Sami Mujawar <Sami.Mujawar@...>, Samer El-Haj-Mahmoud <Samer.El-Haj-Mahmoud@...>, Ard Biesheuvel <Ard.Biesheuvel@...>, leif@... <leif@...> Cc: rfc@edk2.groups.io <rfc@edk2.groups.io>, Yao, Jiewen <jiewen.yao@...>, Rahul Kumar <rahul1.kumar@...>, nd <nd@...>, Jose Marinho <Jose.Marinho@...> Subject: RE: [EXTERNAL] Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe I vote the latter. - Bret From: Rebecca Cran via groups.io<mailto:rebecca@...> Sent: Monday, April 26, 2021 2:29 PM To: Sami Mujawar<mailto:Sami.Mujawar@...>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Samer El-Haj-Mahmoud<mailto:Samer.El-Haj-Mahmoud@...>; Ard Biesheuvel<mailto:Ard.Biesheuvel@...>; leif@...<mailto:leif@...> Cc: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>; Yao, Jiewen<mailto:jiewen.yao@...>; Rahul Kumar<mailto:rahul1.kumar@...>; nd<mailto:nd@...>; Jose Marinho<mailto:Jose.Marinho@...> Subject: [EXTERNAL] Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe Hi Sami, I've been looking through the design document again, and was wondering if the work I previously did will just slot in? Were you thinking the "RngLib|RNDR" would go into ArmPkg (since it's not labeled as being in BaseRngLib)? Or would it still make sense to refactor MdePkg/Library/BaseRngLib to support both x86 (using RDRAND) and aarch64 (using RNDR)? -- Rebecca Cran On 4/22/21 3:30 AM, Sami Mujawar wrote: Hi Rebecca,
|
|
Bret Barkelew <bret.barkelew@...>
I vote the latter.
- Bret From: Rebecca Cran via groups.io<mailto:rebecca@...> Sent: Monday, April 26, 2021 2:29 PM To: Sami Mujawar<mailto:Sami.Mujawar@...>; devel@edk2.groups.io<mailto:devel@edk2.groups.io>; Samer El-Haj-Mahmoud<mailto:Samer.El-Haj-Mahmoud@...>; Ard Biesheuvel<mailto:Ard.Biesheuvel@...>; leif@...<mailto:leif@...> Cc: rfc@edk2.groups.io<mailto:rfc@edk2.groups.io>; Yao, Jiewen<mailto:jiewen.yao@...>; Rahul Kumar<mailto:rahul1.kumar@...>; nd<mailto:nd@...>; Jose Marinho<mailto:Jose.Marinho@...> Subject: [EXTERNAL] Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe Hi Sami, I've been looking through the design document again, and was wondering if the work I previously did will just slot in? Were you thinking the "RngLib|RNDR" would go into ArmPkg (since it's not labeled as being in BaseRngLib)? Or would it still make sense to refactor MdePkg/Library/BaseRngLib to support both x86 (using RDRAND) and aarch64 (using RNDR)? -- Rebecca Cran On 4/22/21 3:30 AM, Sami Mujawar wrote: Hi Rebecca,
|
|