mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-18 09:06:06 +00:00
Add RISC-V specific implementation of arch_get_random_value() that combines entropy from rdcycle and rdtime counters. This provides a portable solution since the Zkr entropy extension is optional in RVA23 profile. Tracked-On: #8834 Signed-off-by: Jian Jun Chen <jian.jun.chen@intel.com> Reviewed-by: Fei Li <fei1.li@intel.com> Acked-by: Wang, Yu1 <yu1.wang@intel.com>