Messages in this thread | | | Date | Thu, 6 Jul 2023 14:33:02 +0100 | From | Conor Dooley <> | Subject | Re: [PATCH v2 3/3] RISC-V: Implement archrandom when Zkr is available |
| |
On Wed, Jun 28, 2023 at 03:14:35PM +0200, Samuel Ortiz wrote: > The Zkr extension is ratified and provides 16 bits of entropy seed when > reading the SEED CSR. > > We can implement arch_get_random_seed_longs() by doing multiple csrrw to > that CSR and filling an unsigned long with valid entropy bits. > > Signed-off-by: Samuel Ortiz <sameo@rivosinc.com>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Cheers, Conor. [unhandled content-type:application/pgp-signature] | |