Wiznet makers

viktor

Published April 22, 2024 ©

92 UCC

18 WCC

39 VAR

0 Contests

0 Followers

0 Following

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

COMPONENTS
PROJECT DESCRIPTION

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:

  1. Instead of porting MbedTLS library, in CMakeLists pico-mbedtls was added
  2. 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


 

Documents
Comments Write