Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
mbedtls: STM32F439xI: Don't enable AES acceleration by default #4934
Critical workaround to issue #4928. This issue blocks releases until either the issue is fixed or this workaround is merged.
STM32F439xI-family AES hardware acceleration occasionally produces
Don't enable AES HW acceleration on STM32F439xI-family targets by
READY for REVIEW as WORKAROUND
This is a workaround for issue #4928
The workaround implemented by @andresag01 yesterday was only for the Mbed TLS example. The issue is currently affecting all applications using AES on STM32F439xI-family targets.
I would much prefer issue #4928 fixed instead of this PR's workaround merged. Please keep us posted. We'll watch the issue.
If this is indeed some timing or concurrency issue, you could try to reproduce the problem by exercising the accelerator in a therad and while simultaneously spinning other threads that use IO such as ethernet or the sd card. Again, I am not sure this will reproduce the issue, but if it does its probably simpler to investigate than running the full TLS stack.