Skip to main content
AJ_EE
Associate II
June 19, 2020
Solved

What TLS package is used for STM32F4?

  • June 19, 2020
  • 6 replies
  • 2432 views

Hi,

I am new to STM32 platform. I am using the STM32F439 Nucleo-144 board and STM32CubeIDE. I noticed that in the STM32Cube graphic interface, I can't find anything for SSL/TLS? I did read about Polar SSL but I can't find it anywhere in the interface or in any of the folders. I also can't find it under third party. Even wolfSSL. So my question is, what TLS is used for this? And where can I get it/how can I add it to the STM32Cube project? I'm planning to add TLS to my TCP project.

Thanks.

AJ

This topic has been closed for replies.
Best answer by AJ_EE

I think I just found the answer to my question. It looks like it's MBEDTLS. I have never used or heard of it before. Are there any available examples for TCP client and server applications? I checked the STM32F4Cube folder under projects and boards and applications but did not see any MBEDTLS examples.

Thanks again

AJ

6 replies

AJ_EE
AJ_EEAuthorBest answer
Associate II
June 19, 2020

I think I just found the answer to my question. It looks like it's MBEDTLS. I have never used or heard of it before. Are there any available examples for TCP client and server applications? I checked the STM32F4Cube folder under projects and boards and applications but did not see any MBEDTLS examples.

Thanks again

AJ

waclawek.jan
Super User
June 19, 2020
AJ_EE
AJ_EEAuthor
Associate II
June 19, 2020

Hi JW,

Thanks for the info.

Regards,

AJ

AJ_EE
AJ_EEAuthor
Associate II
June 19, 2020

It looks like wolfSSL also supports STM32F4's. I'm curious, does anyone have some feedback on using wolfSSL vs MBEDTLS? I appreciate any input. My plan to start with simple TCP socket client and server program using LWIP BSD. This is just sort of a quick used case. And then from there, add the TLS. From experience, I've found it easy to migrate my client/server socket code to wolfSSL. Just wondering if it's the same with MBEDTLS. So far, the advantage I see from MBEDTLS is that I just need to enable it on CubeMX. However, I currently have no idea how much changes I would have to do to my socket program.

Thanks.

AJ

AJ_EE
AJ_EEAuthor
Associate II
June 20, 2020

Hi,

How do I close this thread? I found an MBEDTLS exampls code on one of the project folders in the STM32CubeF4 package.

Piranha
Principal III
June 20, 2020

You don't close it but select the correct answer.

And be warned on this:

https://community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32