Open d3zd3z opened 4 months ago
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.
mcuboot-sys
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.
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.