On Mon, Oct 12, 2015 at 10:21 AM, Daniel Thompson daniel.thompson@linaro.org wrote:
Add support for STMicroelectronics STM32 random number generator.
The config value defaults to N, reflecting the fact that STM32 is a very low resource microcontroller platform and unlikely to be targeted by any "grown up" defconfigs.
Signed-off-by: Daniel Thompson daniel.thompson@linaro.org
This is a fine driver, love the performance boost you reported and stand corrected on the likeness of the other Nomadik driver. Reviewed-by: Linus Walleij linus.walleij@linaro.org
+static int stm32_rng_read(struct hwrng *rng, void *data, size_t max, bool wait)
Now this read() function is so nice that I feel obliged to go in and tidy up the Nomadik driver to be as nice.
Yours, Linus Walleij