Skip to content

Commit

Permalink
mbedtls: Move local mbedtls to v3.5.2
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
d3zd3z committed Jun 25, 2024
1 parent 9ae634f commit b6dc4d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ext/mbedtls
2 changes: 2 additions & 0 deletions sim/mcuboot-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,8 @@ fn main() {

conf.file("../../ext/mbedtls/library/rsa.c");
conf.file("../../ext/mbedtls/library/bignum.c");
conf.file("../../ext/mbedtls/library/bignum_core.c");
conf.file("../../ext/mbedtls/library/constant_time.c");
conf.file("../../ext/mbedtls/library/platform.c");
conf.file("../../ext/mbedtls/library/platform_util.c");
conf.file("../../ext/mbedtls/library/asn1parse.c");
Expand Down

0 comments on commit b6dc4d5

Please sign in to comment.