Loading...
Searching...
No Matches
TinyDTLS for RIOT

Provides the Eclipse TinyDTLS to RIOT. More...

Detailed Description

Provides the Eclipse TinyDTLS to RIOT.

See also
https://projects.eclipse.org/projects/iot.tinydtls

Usage

Add as a package in the Makefile of your application:

USEPKG += tinydtls
# a cryptographically secure implementation of PRNG is needed
USEMODULE += prng_sha1prng

Supported Cipher Suites

TinyDTLS only has support for TLS_PSK_WITH_AES_128_CCM_8 and TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8. To choose which cipher suite to use, add one of the following to your Makefile:

For TLS_PSK_WITH_AES_128_CCM_8 support (default):

CFLAGS += -DCONFIG_DTLS_PSK

For TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 support:

CFLAGS += -DCONFIG_DTLS_ECC

Modules

 Tinydtls compile time configuration
 Provides compile-time configuration for tinydtls.