Loading...
Searching...
No Matches
Tinydtls compile time configuration

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

Detailed Description

Provides compile-time configuration for tinydtls.

Macros

#define CONFIG_DTLS_PSK
 Adds support for TLS_PSK_WITH_AES_128_CCM_8 when defined.
 
#define CONFIG_DTLS_ECC
 Adds support for TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 when defined.
 
#define CONFIG_DTLS_CONTEXT_MAX   (2)
 The maximum number of DTLS context at the same time.
 
#define CONFIG_DTLS_HANDSHAKE_MAX   (2)
 The maximum number of concurrent DTLS handshakes.
 
#define DTLS_SECURITY_MAX   (CONFIG_DTLS_HANDSHAKE_MAX + CONFIG_DTLS_PEER_MAX)
 The maximum number of concurrently used cipher keys.
 
#define DTLS_HASH_MAX   (3 * CONFIG_DTLS_PEER_MAX)
 The maximum number of hash functions that can be used in parallel.
 

Macro Definition Documentation

◆ CONFIG_DTLS_CONTEXT_MAX

#define CONFIG_DTLS_CONTEXT_MAX   (2)

The maximum number of DTLS context at the same time.

Definition at line 64 of file doc.txt.

◆ CONFIG_DTLS_ECC

#define CONFIG_DTLS_ECC

Adds support for TLS_ECDHE_ECDSA_WITH_AES_128_CCM_8 when defined.

Definition at line 57 of file doc.txt.

◆ CONFIG_DTLS_HANDSHAKE_MAX

#define CONFIG_DTLS_HANDSHAKE_MAX   (2)

The maximum number of concurrent DTLS handshakes.

Definition at line 71 of file doc.txt.

◆ CONFIG_DTLS_PSK

#define CONFIG_DTLS_PSK

Adds support for TLS_PSK_WITH_AES_128_CCM_8 when defined.

Note
Activated by default if CONFIG_DTLS_ECC is not defined

Definition at line 50 of file doc.txt.

◆ DTLS_HASH_MAX

#define DTLS_HASH_MAX   (3 * CONFIG_DTLS_PEER_MAX)

The maximum number of hash functions that can be used in parallel.

Definition at line 85 of file doc.txt.

◆ DTLS_SECURITY_MAX

#define DTLS_SECURITY_MAX   (CONFIG_DTLS_HANDSHAKE_MAX + CONFIG_DTLS_PEER_MAX)

The maximum number of concurrently used cipher keys.

Definition at line 78 of file doc.txt.