SBSFU for STM32H743: SBSFU hangs in the SE_VerifyHeaderSignature() function.
I am using the SBSFU STM32CubeExpansion_SBSFU_V2.6.2 version for my custom board STM32H743VI controller. I have ported the STM32H7B3I-DK project for H743 controller for COM port and changed the crypto scheme to SECBOOT_ECCDSA_WITHOUT_ENCRYPT_SHA256.
I am getting below logs and hangs. It hangs in the below code,
SE_ErrorStatus SE_VerifyHeaderSignature(SE_StatusTypeDef *peSE_Status, SE_FwRawHeaderTypeDef *pxFwRawHeader)
{
SE_ErrorStatus e_ret_status;
uint32_t primask_bit; /*!< interruption mask saved when disabling ITs then restore when re-enabling ITs */
/* Check if the call is coming from SFU code */
__IS_SFU_RESERVED();
#ifdef SFU_ISOLATE_SE_WITH_MPU
if (0x0U != SE_IsUnprivileged())
{
TRACE("\r\n inside privilege");
uint32_t params[1] = {(uint32_t)pxFwRawHeader};
SE_SysCall(&e_ret_status, SE_CRYPTO_HL_AUTHENTICATE_METADATA, peSE_Status, ¶ms);
TRACE("\r\n after secall");
}
After SE_SysCall() call, there is no message. Please suggest the next steps to debug it.
Let me know if you need more information.
Regards,
Rakkumuthu R

