Topic: How to enable TRNG?
Hello, I’m relatively new to embedded systems and security, so I appreciate your patience. I am developing a secure file system in a bare metal platform, and for that I am using some encryption algorithms that use a RNG. To initialize the RNG, I used the wc_InitRng function. However, when testing, I received an error relating to the initialization of the RNG. Here, I remembered that my platform does not have an OS. I figured out that it supports RNG through it's hardware (TRNG). This led me to believe that the issue may be related to how wolfSSL expects RNG sources to be configured in a bare-metal environment. However, I couldn't figure out how that can be done.
My question is: How can I configure wolfSSL to use my platform’s hardware TRNG instead of the default RNG implementation?
Any guidance or examples would be greatly appreciated.
Thank you!