STM32U5 + TrustZone enabled, mbedTLS and X-CUBE-CRYPTOLIB return incorrect SHA256.
STM32U585
When TrustZone is enabled, X-CUBE-CRYPTOLIB produces incorrect SHA256 hash values.
Additionally, mbedTLS generates incorrect public keys when creating ECDSA key pairs, and this issue is 100% reproducible.
Neither hardware acceleration is enabled, and both mbedTLS and X-CUBE-mbedTLS have been correctly configured.
When TrustZone is not enabled, both libraries work correctly without any issues.
I have searched the internet, but I couldn't find any information related to this issue.
I have submitted a support ticket, but they directed me to seek help through the community.
I believe this is a technical issue, but I am unable to resolve it myself. What should I do next?
Thank you.



