commit | 80863549995d779d258d35c076da076c0ff06662 | [log] [tgz] |
---|---|---|
author | Heinrich Schuchardt <heinrich.schuchardt@canonical.com> | Tue Oct 31 14:55:52 2023 +0200 |
committer | Leo Yu-Chi Liang <ycliang@andestech.com> | Thu Nov 02 16:22:06 2023 +0800 |
tree | 5a776fd8812046f5bd06ecc8163551d0dab070f4 | |
parent | 8bf50cd308a957ecacd6e54b73135b45590b3277 [diff] |
rng: Provide a RNG based on the RISC-V Zkr ISA extension The Zkr ISA extension (ratified Nov 2021) introduced the seed CSR. It provides an interface to a physical entropy source. A RNG driver based on the seed CSR is provided. It depends on mseccfg.sseed being set in the SBI firmware. Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com> Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>