mcuboot icon indicating copy to clipboard operation
mcuboot copied to clipboard

RSA tests fail with clang

Open d3zd3z opened this issue 1 year ago • 1 comments

When using clang to compile the simulator tests, the rsa tests fail.

$ CC=clang cargo test --features sig-rsa
...
test norevert ... FAILED
...

The pass if optimization is disabled in mcuboot-sys. I appears to be an issue with the mbed tls RSA code.

d3zd3z avatar Jun 25 '24 15:06 d3zd3z

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 avatar Jun 26 '24 20:06 d3zd3z

This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time.

github-actions[bot] avatar Dec 24 '24 01:12 github-actions[bot]