-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RSA tests fail with clang #1986
Comments
d3zd3z
added a commit
to d3zd3z/mcuboot
that referenced
this issue
Jun 25, 2024
The in-tree mbedtls (used for the simulator and some targets) is a few years old, and currently is unable to pass the rsa tests when built with clang. Update this mbed TLS to the v3.5.2 release. This fixes clang support in the simulator. Fixes mcu-tools#1986 Signed-off-by: David Brown <david.brown@linaro.org>
So, this is a known bug with mbed TLS <= 3.0.0, and is fixed in 3.1.0. I'm working on a migration path to move mcuboot to the latest Mbed TLS. |
d3zd3z
added a commit
to d3zd3z/mcuboot
that referenced
this issue
Jun 27, 2024
The in-tree mbedtls (used for the simulator and some targets) is a few years old, and currently is unable to pass the rsa tests when built with clang. Update this mbed TLS to the v3.6.0 release. This fixes clang support in the simulator. There are a few minor changes to configuration and what files are needed to support newer version of Mbed TLS. Fixes mcu-tools#1986 Signed-off-by: David Brown <david.brown@linaro.org>
d3zd3z
added a commit
to d3zd3z/mcuboot
that referenced
this issue
Jun 28, 2024
The in-tree mbedtls (used for the simulator and some targets) is a few years old, and currently is unable to pass the rsa tests when built with clang. Update this mbed TLS to the v3.6.0 release. This fixes clang support in the simulator. There are a few minor changes to configuration and what files are needed to support newer version of Mbed TLS. Fixes mcu-tools#1986 Signed-off-by: David Brown <david.brown@linaro.org>
d3zd3z
added a commit
to d3zd3z/mcuboot
that referenced
this issue
Oct 10, 2024
The in-tree mbedtls (used for the simulator and some targets) is a few years old, and currently is unable to pass the rsa tests when built with clang. Update this mbed TLS to the v3.6.0 release. This fixes clang support in the simulator. There are a few minor changes to configuration and what files are needed to support newer version of Mbed TLS. Fixes mcu-tools#1986 Signed-off-by: David Brown <david.brown@linaro.org>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using clang to compile the simulator tests, the rsa tests fail.
The pass if optimization is disabled in
mcuboot-sys
. I appears to be an issue with the mbed tls RSA code.The text was updated successfully, but these errors were encountered: