2024-10-13 10:26 AM
Hi,
I am trying to replace mbedTLS library with Wolfcrypt library for crypto operations in SECoreBin project of SBSFU. I was able to replace SHA256 related APIs. But the bootloader is crashing when I try to initialize wolfssl ECC key object under SE_CRYPTO_Authenticate_Metadata(SE_FwRawHeaderTypeDef *pxSE_Metadata) i.e.
ecc_key ecc;
wc_ecc_init(&ecc);
I have tested same set of APIs with a test project. Any idea what could be the reason for the crash in SECore. Also I am not sure how to debug the SECoreBin project with SBSFU.
Pls note: I am using stm32h753ZI nucleo-144 board and IAR build setup.
2024-10-14 01:51 AM
Hello @h_adi ,
I don't know what could cause this issue.
To debug SECoreBin, you have the explanation in the integration guide (AN5056) chapter "Debugging SECoreBin"
This was you should rapidly find the root cause of the crash.
Best regards
Jocelyn