TLS-PSK example

Hi,
I would like to use TLS-PSK, having already pre shared secrets in my client and server. Could you point me to one example of how to implement this?

Thanks a lot in advance!

Hi @quiquitos
Thank you for your question!

Mbed TLS is shipped with several example programs.

You could look at the example client application and server application, and follow their flow regarding PSK usage.
Regards,
Mbed TLS Team member
Ron

1 Like

Thanks a lot!!