TLS libraries

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general. This forum is NOT for support.
Posts: 1
Joined: Sun Jan 21, 2018 4:22 pm
Been thanked: 1 time

TLS libraries

Postby smon32 » Sun Jan 21, 2018 4:50 pm

Hi there,

I saw that a chibios patch for wolfssl appeared in ext.
There is a state of the art and future proof alternative for those who are targeting STM32 MCUs:

mbed TLS

It is supported by ARM itself, which means that it is deeply embeeded for ARMs (ex: STM32CubeMX)

It already works out of the box with chibios.
Actually, you just need to provide:
- mutex: init, free, lock, unlock (that use chibios mutexes).
- network: init, connect, bind, accept, recv, send, free (that use lwip POSIX sockets).
- optionnaly use the STM32 random generator.
- optionnaly use the STM32 crypt and hash.

You can add the library to chibios the way you like it (simple makefile and includes), and not like the cmake hell you live with another TLS libraries.
mbed TLS (formerly known as PolarSSL) makes it trivially easy for developers to include cryptographic and SSL/TLS capabilities in their (embedded) products, facilitating this functionality with a minimal coding footprint.

Best regards,

User avatar
Site Admin
Posts: 13063
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 757 times
Been thanked: 636 times

Re: TLS libraries

Postby Giovanni » Tue Jan 23, 2018 10:54 am


Thanks for the explanation, WolfSSL people provided us with the integration layers and HTTPS demo, this is why you see it included. Good to know there are alternatives anyway.


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 2 guests