HAL RNG Abstraction missing?

ChibiOS public support forum for topics related to the STMicroelectronics STM32 family of micro-controllers.

Moderators: barthess, RoccoMarco

spatialerror
Posts: 1
Joined: Sat Jul 13, 2013 2:46 pm

HAL RNG Abstraction missing?

Postby spatialerror » Sat Jul 13, 2013 3:09 pm

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

User avatar
Giovanni
Site Admin
Posts: 11019
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 354 times
Been thanked: 298 times
Contact:

Re: HAL RNG Abstraction missing?

Postby Giovanni » Sat Jul 13, 2013 3:21 pm

Hi,

This feature is very STM32F4-specific but it could be added as a platform-specific driver. Thanks for the hint.

Giovanni

faisal
Posts: 144
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 21 times
Been thanked: 18 times

Re: HAL RNG Abstraction missing?

Postby faisal » Thu Apr 19, 2018 4:34 am

How do you feel on about having a standard TRNG HAL driver, now that SAMA5D2x also has a TRNG?

User avatar
Giovanni
Site Admin
Posts: 11019
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 354 times
Been thanked: 298 times
Contact:

Re: HAL RNG Abstraction missing?

Postby Giovanni » Thu Apr 19, 2018 7:47 am

Hi,

It is in the crypto HAL driver in 18.2.0, currently the STM32 implementation is missing, it could be added.

Giovanni


Return to “STM32 Support”

Who is online

Users browsing this forum: No registered users and 2 guests