tinydtls  0.8.1
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
tinydtls Documentation
Author
Olaf Bergmann, TZI Uni Bremen

This library provides a very simple datagram server with DTLS support. It is designed to support session multiplexing in single-threaded applications and thus targets specifically on embedded systems.

License

This software is under the MIT License.

UTHash

This library uses uthash to manage its peers (not used for Contiki). uthash uses the BSD revised license, see http://uthash.sourceforge.net/license.html.

Aaron D. Gifford's SHA256 Implementation

tinyDTLS provides HMAC-SHA256 with BSD-licensed code from Aaron D. Gifford, see www.aarongifford.com.

Rijndael Implementation From OpenBSD

The AES implementation is taken from rijndael.{c,h} contained in the crypto sub-system of the OpenBSD operating system. It is copyright by Vincent Rijmen, * Antoon Bosselaers and Paulo Barreto. See rijndael.c for License info.

Getting the Files

You can get the sources either from the downloads section or through git from the project develop page.

Configuration

Use configure to set up everything for a successful build. For Contiki, use the option –with-contiki.

Building

After configuration, just type

make

optionally followed by

make install

The Contiki version is integrated with the Contiki build system, hence you do not need to invoke make explicitely. Just add tinydtls to the variable APPS in your Makefile.