Mbed forum

How can I take advantage of a hardware TRNG

(Alan Chen) #1

The 32-bit MCU I am using can generate 64-bit true random numbers in the hardware. Can I take advantage of this?

0 Likes

(Ron Eldor) #2

Hi @acpie360
The short answer to your question is, yes:)

You can set an external entropy source to Mbed TLS. In addition, Mbed TLs can be configured to have a hardware entropy source, calling a function implemented by you.

More information can be found in the following articles:

If you are implementing for Mbed OS platform, you can also look at https://os.mbed.com/docs/mbed-os/v5.11/porting/entropy-sources.html

Regards,
Mbed TLS Team member
Ron

1 Like