Updated : 11 May 2019, Simpy Parveen(simpy.parveen1@ucalgary.ca)
Tinydtls is a library for Datagram Transport Layer Security (DTLS) covering both the client and the server state machine. It is implemented in C and provides support for the mandatory cipher suites and provides basic support for DTLS with pre-shared key mode. This DTLS implementation for Contiki OS supports TLS_PSK_WITH_AES_128_CCM_8 cipher suite (described in draft-mcgrew-tls-aes-ccm-04) only. This code uses SHA2 algorithm to implement SHA-256, SHA-384 and SHA-512. TinyDTLS.
Learn file discriptors at : https://gist.github.com/Alexey-N-Chernyshov/4634731
Run: ./configure make
Goto tests : make
./dtls-server
./dtls-client 127.0.0.1