I have STM32F4 runnig @ 144Mhz with TLS server on it while TLS Client on PC end.
For some reason “MBEDTLS_SSL_SERVER_KEY_EXCHANGE” and " MBEDTLS_SSL_CLIENT_KEY_EXCHANGE" these handshake phases taking 14 seconds each.
Seems its smilar issue posted here…
Here are packet sniffer snap, on probing it seems working in function “mbedtls_dhm_make_params()”
Although on same micro using old polar SSL lib it works fine(handshake done in <1 sec). Here is packet snap using Polar SSL
Can any one help me on understanding whats the issue could be…