On 18 March 2017 at 19:25, Krzysztof Kozlowski <k...@kernel.org> wrote: > Add emulation for Exynos4210 Pseudo Random Number Generator which could > work on fixed seeds or with seeds provided by True Random Number > Generator block inside the SoC. > > Implement only the fixed seeds part of it in polling mode (no > interrupts). Simple testing: > # echo "exynos" > /sys/class/misc/hw_random/rng_current > # dd if=/dev/hwrng of=/dev/null bs=1 count=16 > > Signed-off-by: Krzysztof Kozlowski <k...@kernel.org> > > --- > > Changes since v1: > 1. Use GRand-like functions to fix build on MingW32 (this adds also > finalize). > 2. Add DPRINTF macro. > 3. Use HWADDR_PRIx and family for printing values.
Is there a data sheet that describes this RNG? I had a quick google but couldn't find anything in the 4210 manual you can get from Samsung. In particular I'm not sure we want to use GRand here. thanks -- PMM