Tinydtls compile time configuration

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

Detailed Description

Provides compile-time configuration for tinydtls.

Macros

#define DTLS_PSK
 Adds support for TLS_PSK_WITH_AES_128_CCM_8 when defined. More...
 
#define DTLS_ECC
 Adds support for TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 when defined.
 
#define DTLS_CONTEXT_MAX   (2)
 The maximum number of DTLS context at the same time.
 
#define DTLS_PEER_MAX   (1)
 The maximum number DTLS peers (i.e. More...
 
#define DTLS_HANDSHAKE_MAX   (2)
 The maximum number of concurrent DTLS handshakes.
 
#define DTLS_SECURITY_MAX   (DTLS_HANDSHAKE_MAX + DTLS_PEER_MAX)
 The maximum number of concurrently used cipher keys.
 
#define DTLS_HASH_MAX   (3 * DTLS_PEER_MAX)
 The maximum number of hash functions that can be used in parallel.
 

Macro Definition Documentation

◆ DTLS_PEER_MAX

#define DTLS_PEER_MAX   (1)

The maximum number DTLS peers (i.e.

sessions)

Definition at line 69 of file doc.txt.

◆ DTLS_PSK

#define DTLS_PSK

Adds support for TLS_PSK_WITH_AES_128_CCM_8 when defined.

Note
Activated by default if DTLS_ECC is not defined

Definition at line 48 of file doc.txt.