---
title: "Testing mbedtls backward compatibility"
url: "https://maker.wiznet.io/viktor/projects/testing-mbedtls-backward-compatibility/"
markdown_url: "https://maker.wiznet.io/viktor/projects/testing-mbedtls-backward-compatibility/md"
type: "WCC: WIZnet Created Content"
author: "viktor"
author_url: "https://maker.wiznet.io/viktor/"
published: "2024-04-22"
language: "en"
likes: 0
views: 543
comments: 0
source: "WIZnet Makers (https://maker.wiznet.io/)"
---

# 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

## Article

## 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

![](https://maker.wiznet.io/upload/ckeditor5/671957969%5F1713805824%2Epng)

---

Source: https://maker.wiznet.io/viktor/projects/testing-mbedtls-backward-compatibility/
