Topic: crash in wc_InitRng_ex() on embedded Arm Cortex M7
I'm trying to run the wolfSSL crypto benchmarks on an NXP S32G3. The S32G3 has several Arm Cortex M7 cores.
1. WolfSSL version is 5.7.0
2. Running on Bare Metal, No OS
3. Compiler - NXP S32 Design Studio version 3.5
My code is crashing in the wc_InitRng_ex() function.
I can't use printf() for typical debug information, since my only connection to the device is via a putty terminal interface over UART. The call to wc_InitRng_ex() fails in such a way that I don't even get any feedback messages. Yet, I think the failure occurs inside this function because if I comment out this function call then I see debug messages that come after this.
I suspect solving my problem may be related to correctly configuring the device in the user_settings.h file. I'm just not sure what #defines I need to set or not set.
BTW- everything runs just fine for me when compiling in Visual Studio and running on Windows. Unfortunately, I really need benchmarks on the M7.