X-CUBE-CRYPTOLIB - Hard Fault error with Dual core microcontrollers
Hello,
i'm using stm32h747igt6 microcontroller, it has two cores Arm Cortex-M7 + Cortex-M4, i'm currently working on core m7, and i have integrated STM32 cryptographic firmware library software expansion for STM32Cube for some security features in my project, when i use any encryption or decryption api, whether it's AES or RSA i got hard fault error at calling the library API, like:
retval = cmox_cipher_decrypt(CMOX_AES_CBC_DEC_ALGO,
Expected_Ciphertext, sizeof(Expected_Ciphertext),
Key, sizeof(Key),
IV, sizeof(IV),
Computed_Plaintext, &computed_size); .
and i can not debug the error because it's due to calling an API that is in the static library code.
so i want to know why does this happen? are there any specific configurations needed to use this X-CUBE-CRYPTOLIB library "STM32 cryptographic firmware library software expansion for STM32Cube" with dual core controllers?
Note that i have tried the library with many single core microcontrollers like stm32f103c8t6 and stm32f446re and it worked very well.
