mirror of
https://github.com/ipxe/ipxe
synced 2026-01-21 09:57:23 +03:00
[riscv] Add support for the seed CSR as an entropy source
The Zkr entropy source extension defines a potentially unprivileged seed CSR that can be read to obtain 16 bits of entropy input, with a mandated requirement that 256 entropy input bits read from the seed CSR will contain at least 128 bits of min-entropy. Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -49,3 +49,6 @@ REQUIRE_OBJECT ( linux_entropy );
|
||||
#ifdef ENTROPY_RDRAND
|
||||
REQUIRE_OBJECT ( rdrand );
|
||||
#endif
|
||||
#ifdef ENTROPY_ZKR
|
||||
REQUIRE_OBJECT ( zkr );
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user