Topic: WolfSSL on STM32F407G-DISC1 and NUCLEO-G431RB


I am trying to find out whether the wolfssl is possible to implement for STM32F407G-DISC1 and NUCLEO-G431RB boards. I could not find any examples on wolfssl for tls1.3 for these boards.

I just wanted to know that, Is there any resources of stm32f4 series and NUCLEO-G431RB enough for basic implementation?

I appreciate any response.


Re: WolfSSL on STM32F407G-DISC1 and NUCLEO-G431RB

Hi Sushanth,

Thanks for your interest in using wolfSSL and TLS v1.3 on the STM32 targets.

* STM32F407VGT6 Cortex-M4, 1-Mbyte Flash and 192 KB RAM
* STM32G431xB Cortex-M4, 170 MHz, 128-KB Flash and 22 KB RAM

Roughly a TLS v1.3 only client session takes about 70KB flash and 20 KB RAM. These are rough estimations and I recommend you try for yourself.

Our STM32Cube pack makes it easy to evaluate in the STM32CubeIDE. See … /STM32Cube

We have some TLS v1.3 only examples here: … nt-tls13.c

For building with reduced code size and memory usage see this section of the user manual: … code-usage …

I recommend using an ECC only build (disable RSA/DH), since it uses much less memory.

Looking forward to hearing your progress. If you can send a note to and tell us more about your project that would be wonderful.

David Garske, wolfSSL