Testing mbedtls backward compatibility
This project aims to ensure robust backward compatibility of WIZnet’s SDK, which incorporates mbedTLS version 3.0, with the pico-sdk that includes mbedTLS versi
Project Introduction
This project aims to ensure robust backward compatibility of WIZnet’s SDK, which incorporates mbedTLS version 3.0, with the pico-sdk that includes mbedTLS version 2.28. The objective is to verify that the newer WIZnet SDK functions seamlessly with environments and dependencies structured around the older mbedTLS version integrated in pico-sdk.
Implementation
Basically, all the code from https://github.com/Wiznet/RP2040-HAT-C/tree/main/examples/tcp_client_over_ssl was moved to pico-examples repository almost without any changes.
The main differences are:
- Instead of porting MbedTLS library, in CMakeLists pico-mbedtls was added
- ssl_config.h (in WIZnet's SDK) was renamed to mbedtls_config.h and moved into same folder as main c file
Results
For test purposes I ran local openSSL server (by following instructions in WIZnet's SDK) and my tls client was able to connect successfully