audk/MdePkg/Library/BaseRngLib
Dhaval b54bc983c6 MdePkg/Library: Add RISCV64 support to BaseRngLib
The ratified RISC-V crypto scalar extensions provide entropy bits via the
seed CSR, as exposed by the Zkr extension. The Zkr extension is ratified
and provides 16 bits of entropy seed when reading the SEED CSR.
Guarded by a RISCV64 Feature PCD, 64-bit random numbers can be
accumulated from the `seed` CSR. This driver is based on the driver in
the Linux kernel.

Cc: Liming Gao <gaoliming@byosoft.com.cn>
Cc: Michael D Kinney <michael.d.kinney@intel.com>
Cc: Zhiguang Liu <zhiguang.liu@intel.com>
Signed-off-by: Dhaval Sharma <dhaval@rivosinc.com>
Co-authored-by: Tim Wawrzynczak <tim@rivosinc.com>
2024-07-15 04:05:56 +00:00
..
AArch64 MdePkg/BaseRngLib AARCH64: Remove overzealous ASSERT() 2024-05-24 15:48:52 +00:00
Rand MdePkg/BaseRngLib: Add a smoketest for RDRAND and check CPUID 2024-06-13 08:52:48 -07:00
Riscv MdePkg/Library: Add RISCV64 support to BaseRngLib 2024-07-15 04:05:56 +00:00
BaseRng.c MdePkg: Apply uncrustify changes 2021-12-07 17:24:28 +00:00
BaseRngLib.inf MdePkg/Library: Add RISCV64 support to BaseRngLib 2024-07-15 04:05:56 +00:00
BaseRngLib.uni MdePkg/BaseRngLib: Add support for ARMv8.5 RNG instructions 2021-05-11 16:26:05 +00:00
BaseRngLibInternals.h MdePkg/Library/BaseRngLib: Fix include guard 2023-09-08 03:29:19 +00:00