Hi devs, I created a simple hal_trng which abstracts TRNG available on many SoCs: https://github.com/apache/mynewt-core/pull/1037
I guess this is so simple it does not need much explanation (APIs are documented in hal_trng.h), but I can to provide some more information if needed :-) For now there is HAL API and sample implementation for nRF52xxx. If this is accepted (as-is or with some changes) I will also modify NimBLE drivers for Nordic SoCs to use hal_trng instead of accessing NRF_RNG directly so they can nicely work with applications. Best, Andrzej
