audk/MdePkg
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
..
Include MdePkg/Library: Add RISCV64 support to BaseRngLib 2024-07-15 04:05:56 +00:00
Library MdePkg/Library: Add RISCV64 support to BaseRngLib 2024-07-15 04:05:56 +00:00
Test MdePkg: Add MockHash2 Protocol for testing 2024-05-24 15:48:52 +00:00
MdeLibs.dsc.inc MdePkg: Add MmUnblockMemoryLib to MdeLibs.dsc 2024-05-10 03:46:27 +00:00
MdePkg.ci.yaml MdePkg: Add LoongArch Cpucfg function 2024-02-06 23:51:47 +08:00
MdePkg.dec MdePkg/Library: Add RISCV64 support to BaseRngLib 2024-07-15 04:05:56 +00:00
MdePkg.dsc MdePkg: Add a new library named PeiServicesTablePointerLibKs0 2024-02-06 23:51:47 +08:00
MdePkg.uni MdePkg: Utilize Cache Management Operations Implementation For RISC-V 2023-12-19 12:48:14 +00:00
MdePkgExtra.uni