Mbed forum

Porting Timing [for DTLS] to non Unix/Windows platform


(Colin Helliwell) #1

I have a project using a 3rd party RTOS [ThreadX] together with the lwIP networking stack. DTLS is required.
I’m working to integrate mbed TLS and then implement the dtls_client app for testing, but need to implement non Windows/Unix timing functionality.
i.e. choosing MBEDTLS_TIMING_C or MBEDTLS_TIMING_ALT config settings, and implementing alternate implementations as necessary.
I’ve read https://tls.mbed.org/kb/how-to/dtls-tutorial but must admit it’s not giving me too many clues about how to port to my platform…
Are there any ‘generic’ reference implementations that will show me how to hook into my hw/rtos?
Thanks.


(Ron Eldor) #2

Hi @ColH
Thank you for your question.
We don’t have generic examples, but we do have additional articles that may assist you:

In addition, I would suggest you look at the API documentation to understand how your alternative implementations should function.
For specific questions, we would be happy to assist.

Regards,
Mbed TLS team member
Ron