Page 1 of 1
HAL RNG Abstraction missing?
Posted: Sat Jul 13, 2013 3:09 pm
by spatialerror
I browsed through the code looking for an uniform way to get random numbers from HWRNG or a SWPRNG ^^ doesnt look like thats implemented but it would be nice to have at least on the STM407 an easy way for accessing the TRNG
would be a minimal modification of the api i guess to add it
Re: HAL RNG Abstraction missing?
Posted: Sat Jul 13, 2013 3:21 pm
by Giovanni
Hi,
This feature is very STM32F4-specific but it could be added as a platform-specific driver. Thanks for the hint.
Giovanni
Re: HAL RNG Abstraction missing?
Posted: Thu Apr 19, 2018 4:34 am
by faisal
How do you feel on about having a standard TRNG HAL driver, now that SAMA5D2x also has a TRNG?
Re: HAL RNG Abstraction missing?
Posted: Thu Apr 19, 2018 7:47 am
by Giovanni
Hi,
It is in the crypto HAL driver in 18.2.0, currently the STM32 implementation is missing, it could be added.
Giovanni
Re: HAL RNG Abstraction missing?
Posted: Fri Dec 07, 2018 10:28 pm
by podhrmic
Hi,
I noticed the crypto hal driver is implemented only for STM32F7. Are you planning to implement (at least the RNG) for STM32F4?
Regards
M
Re: HAL RNG Abstraction missing?
Posted: Sat Dec 08, 2018 6:16 am
by Giovanni
Hi,
Now there is a new TRNG driver in HAL (trunk version), the functionality will be removed from crypto. It should work on F4 but have not tested it on all platforms.
There is a demo under /testhal/STM32/multi/TRNG.
Giovanni
Re: HAL RNG Abstraction missing?
Posted: Tue Dec 11, 2018 6:54 pm
by podhrmic
Hi Giovanni, thanks for the info.