]> git.proxmox.com Git - mirror_edk2.git/commit
SecurityPkg/RngDxe: Add AArch64 RawAlgorithm support through ArmTrngLib
authorSami Mujawar <sami.mujawar@arm.com>
Fri, 28 Oct 2022 15:32:55 +0000 (17:32 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 6 Nov 2022 16:32:28 +0000 (16:32 +0000)
commit863fe9e191fb3d90c3283062183692c04cd71975
tree4ab8b67a70615b7505a71e6f3220e334bfdcbcbc
parent4b3e9d80bedf5909a4ec901425ed9c0a738fc76f
SecurityPkg/RngDxe: Add AArch64 RawAlgorithm support through ArmTrngLib

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

RawAlgorithm is used to provide access to entropy that is suitable
for cryptographic applications. Therefore, add RawAlgorithm support
that provides access to entropy using the ArmTrngLib.

Also remove unused UefiBootServicesTableLib library inclusion
and Status variable.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Acked-by: Jiewen Yao <jiewen.yao@intel.com>
SecurityPkg/RandomNumberGenerator/RngDxe/AArch64/RngDxe.c
SecurityPkg/RandomNumberGenerator/RngDxe/ArmTrng.c [new file with mode: 0644]
SecurityPkg/RandomNumberGenerator/RngDxe/RngDxe.inf
SecurityPkg/SecurityPkg.dsc