On Sun, 28 Jul 2024 08:42:42 +0200
Mattias Rönnblom <hof...@lysator.liu.se> wrote:

> > 1- An implementation of rte_csrand that calls getrandom() with per-core 
> > entropy caching. Which will be the default for DPDK.
> > 2- Build time flag to enable HW CSRNG for those who want to override the 
> > default kernel getrandom() feature.
> > 3- Rationale for why CPU HW CSRNG is required.
> > 
> > To elaborate on Item 3, the rationale is simple, we want to enable the HW 
> > feature for those who need it.  
> 
> That's circular. "The reason we want this feature implementation to be 
> included is to satisfy those who want this feature implementation."
> 
> Stop thinking like an ARM developer on a "software enablement" mission, 
> and start thinking like a DPDK library or application developer.

The Linux kernel in arch/arm64/include/asm/archrandom.h has support
already. The support includes lots of checks for capabilities and
caveats for the limitations of the ARM implementation that are not
reflected in this simplistic version.

Reply via email to