modules: mbedtls: Add Kconfig option to enable DTLS Connection ID
Add Kconfig option for `config-tls-generic.h` to enable DTLS Connection ID extension. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
b97bfa91f3
commit
232e4ad6b8
2 changed files with 12 additions and 0 deletions
|
@ -473,4 +473,12 @@ config MBEDTLS_LMS
|
|||
depends on MBEDTLS_PSA_CRYPTO_C
|
||||
depends on MBEDTLS_HASH_SHA256_ENABLED
|
||||
|
||||
config MBEDTLS_SSL_DTLS_CONNECTION_ID
|
||||
bool "DTLS Connection ID extension"
|
||||
depends on MBEDTLS_DTLS
|
||||
help
|
||||
Enable support for the DTLS Connection ID extension
|
||||
which allows to identify DTLS connections across changes
|
||||
in the underlying transport.
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -475,6 +475,10 @@
|
|||
#define MBEDTLS_SSL_ENCRYPT_THEN_MAC
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_SSL_DTLS_CONNECTION_ID)
|
||||
#define MBEDTLS_SSL_DTLS_CONNECTION_ID
|
||||
#endif
|
||||
|
||||
/* User config file */
|
||||
|
||||
#if defined(CONFIG_MBEDTLS_USER_CONFIG_FILE)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue