Searched hist:"02 b770ae7de0a99795cade9204125d3b1cc638a1" (Results 1 – 2 of 2) sorted by relevance
| /rk3399_ARM-atf/include/drivers/st/ |
| H A D | stm32_rng.h | 02b770ae7de0a99795cade9204125d3b1cc638a1 Thu Feb 22 14:16:10 UTC 2024 Maxime Méré <maxime.mere@foss.st.com> feat(st-crypto): add multi instance and error management in RNG driver
Allows the driver to initialize as many RNG instances as enabled in the device tree. The driver will still use only one instance for the TF-A purpose as it needs only one to work. The others are activated because needed by specific IPs.
Seed errors are now also checked after null data read. The Reference Manual recommends to always verify that RNG_DR is different from zero. Because when it is the case a seed error can occur between RNG_SR polling and RND_DR output reading (rare event).
Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Change-Id: Ie4d7f01f4ffe5a9e2d0e5e7317b008edd3b80a17
|
| /rk3399_ARM-atf/drivers/st/crypto/ |
| H A D | stm32_rng.c | 02b770ae7de0a99795cade9204125d3b1cc638a1 Thu Feb 22 14:16:10 UTC 2024 Maxime Méré <maxime.mere@foss.st.com> feat(st-crypto): add multi instance and error management in RNG driver
Allows the driver to initialize as many RNG instances as enabled in the device tree. The driver will still use only one instance for the TF-A purpose as it needs only one to work. The others are activated because needed by specific IPs.
Seed errors are now also checked after null data read. The Reference Manual recommends to always verify that RNG_DR is different from zero. Because when it is the case a seed error can occur between RNG_SR polling and RND_DR output reading (rare event).
Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Change-Id: Ie4d7f01f4ffe5a9e2d0e5e7317b008edd3b80a17
|