audk/MdePkg
Pierre Gondois cf07238e5f MdePkg/Rng: Add GUID to describe Arm Rndr Rng algorithms
BZ: https://bugzilla.tianocore.org/show_bug.cgi?id=4441

The EFI_RNG_PROTOCOL can rely on the RngLib. The RngLib has multiple
implementations, some of them are unsafe (e.g. BaseRngLibTimerLib).
To allow the RngDxe to detect when such implementation is used,
a GetRngGuid() function is added in a following patch.

Prepare GetRngGuid() return values and add a gEfiRngAlgorithmArmRndr
to describe a Rng algorithm accessed through Arm's RNDR instruction.
[1] states that the implementation of this algorithm should be
compliant to NIST SP900-80. The compliance is not guaranteed.

[1] Arm Architecture Reference Manual Armv8, for A-profile architecture
sK12.1 'Properties of the generated random number'

Signed-off-by: Pierre Gondois <pierre.gondois@arm.com>
Reviewed-by: Sami Mujawar <sami.mujawar@arm.com>
Reviewed-by: Liming Gao <gaoliming@byosoft.com.cn>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Tested-by: Kun Qin <kun.qin@microsoft.com>
2023-09-08 09:48:55 +00:00
..
Include MdePkg/Rng: Add GUID to describe Arm Rndr Rng algorithms 2023-09-08 09:48:55 +00:00
Library MdePkg/DxeRngLib: Request raw algorithm instead of default 2023-09-08 09:48:55 +00:00
Test MdePkg: Add more HobLib/PeiServicesLib gmock support 2023-05-10 00:39:13 +00:00
MdeLibs.dsc.inc MdePkg/ArmTrngLib: Add NULL instance of Arm TRNG Library 2022-11-06 16:32:28 +00:00
MdePkg.ci.yaml MdePkg: Adds AMD SMRAM save state map 2023-07-03 03:01:10 +00:00
MdePkg.dec MdePkg/Rng: Add GUID to describe Arm Rndr Rng algorithms 2023-09-08 09:48:55 +00:00
MdePkg.dsc MdePkg: add SBI-based SerialPortLib for RISC-V 2023-05-17 23:47:20 +00:00
MdePkg.uni MdePkg: Add PcdSpeculationBarrierType 2019-04-30 16:39:09 -07:00
MdePkgExtra.uni MdePkg: Replace BSD License with BSD+Patent License 2019-04-09 10:58:13 -07:00