[PATCH 6/7] rng: stm32: Implement custom RNG configuration support

Patrick DELAUNAY patrick.delaunay at foss.st.com
Mon Sep 11 11:56:31 CEST 2023


Hi,

On 9/7/23 18:21, Gatien Chevallier wrote:
> STM32 RNG configuration should best fit the requirements of the
> platform. Therefore, put a platform-specific RNG configuration
> field in the platform data. Default RNG configuration for STM32MP13
> is the NIST certified configuration [1].
>
> While there, fix and the RNG init sequence to support all RNG
> versions.
>
> [1] https://csrc.nist.gov/projects/cryptographic-module-validation-program/entropy-validations/certificate/53
>
> Signed-off-by: Gatien Chevallier <gatien.chevallier at foss.st.com>
> ---
>   drivers/rng/stm32_rng.c | 54 ++++++++++++++++++++++++++++++++++++++---
>   1 file changed, 51 insertions(+), 3 deletions(-)
>
>

Reviewed-by: Patrick Delaunay <patrick.delaunay at foss.st.com>

Thanks
Patrick



More information about the U-Boot mailing list