]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/RngDxe: Rename RdRandGenerateEntropy to generic name
authorSami Mujawar <sami.mujawar@arm.com>
Fri, 28 Oct 2022 15:32:50 +0000 (17:32 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 6 Nov 2022 16:32:28 +0000 (16:32 +0000)
commit8a89747844a5061791e55a25daedcf895180a794
treeec26b647b045d0841c20321f94330f486c4a0dc8
parente00ec499c5b72c6ef3920aa6b18aebaf13175ee3
SecurityPkg/RngDxe: Rename RdRandGenerateEntropy to generic name

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

Rename RdRandGenerateEntropy() to GenerateEntropy() to provide a
common interface to generate entropy on other architectures.
GenerateEntropy() is intended to generate high quality entropy.

Also move the definition to RngDxeInternals.h

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RdRand.c
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RdRand.h [deleted file]
SecurityPkg/RandomNumberGenerator/RngDxe/Rand/RngDxe.c
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxeInternals.h