TLS libraries
Posted: 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,
Simon
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,
Simon