]> git.proxmox.com Git - mirror_edk2.git/commit - ArmPkg/Include/IndustryStandard/ArmStdSmc.h
ArmPkg: Add FID definitions for Arm TRNG
authorSami Mujawar <sami.mujawar@arm.com>
Fri, 28 Oct 2022 15:32:48 +0000 (17:32 +0200)
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Sun, 6 Nov 2022 16:32:28 +0000 (16:32 +0000)
commit351fe776668ca50aadab8b2b0614ed520c12c09e
tree275ba8962f82fdcd51c2473eca815a4daacfe666
parentef4cf3d88df2dd2b8afa790007c9f62a3d6cfcd6
ArmPkg: Add FID definitions for Arm TRNG

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

The Arm True Random Number Generator Firmware, Interface 1.0,
Platform Design Document
(https://developer.arm.com/documentation/den0098/latest/)
defines an interface between an Operating System (OS) executing
at EL1 and Firmware (FW) exposing a conditioned entropy source
that is provided by a TRNG back end.

New function IDs have been defined by the specification for
accessing the TRNG services. Therefore, add these definitions
to the Arm standard SMC header.

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
ArmPkg/Include/IndustryStandard/ArmStdSmc.h