NRF_LOG crashes when used in crypto examples SDK17.1.0

Hello

We have been using the RSA example found in the nrf_cc310/rsa which uses INTEG_TEST_PRINT, a mask of SEGGER_RTT_printf, for debugging. When using NRF_LOG instead of INTEG_TEST_PRINT and functions like CRYS_RSA_PKCS1v15_Decrypt return any type of error, NRF_LOG crashes. When they do not fail, everything works as expected. 

Tried different configurations in the config.h file, but the issue persists. 


Why do you use INTEG_TEST_PRINT in the crypto examples instead of NRF_LOG? 

Is NRF_LOG using the same resources as the crypto library, which could create conflicts? 

The only relevant issue I found was this one.https://devzone.nordicsemi.com/f/nordic-q-a/84309/compile-examples-from-standalone-sdk-by-using-command-line-and-uart-traces/350958
But didn't seem to help in my case. By the way I now use RTT client for printing, but I am sure this issue is the same when using UART for NRF logs. 

Regards,

Parents Reply Children
No Data
Related