On Fri, 7 May 2021 at 16:23, Rebecca Cran <rebecca@...> wrote:
Update MdePkg BaseRngLib and SecurityPkg RngDxe to add support for the AARCH64 RNDR instruction.
Changes from v1 to v2:
o Added a PCD, gEfiSecurityPkgTokenSpaceGuid.PcdCpuRngSupportedAlgorithm to specify which algorighm the platform supports. o Moved ArmRndr() and ArmRndrrs() into BaseRngLib. o Added Doxygen headers. o Merged X64 and AARCH64 *GetBytes functions into a single RngGetBytes function. o Updated constructors to return EFI_STATUS instead of RETURN_STATUS. o Added ArchIsRngSupported function that gets called before each call to ArchGetRandomNumber*.
Rebecca Cran (2): MdePkg/BaseRngLib: Add support for ARMv8.5 RNG instructions SecurityPkg: Add support for RngDxe on AARCH64
I don't maintain any of the packages involved, but the changes look fine to me.