Mbed forum

TLS-PSK example


(Luis Gonzalez) #1

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!


(Ron Eldor) #2

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


(Luis Gonzalez) #3

Thanks a lot!!