mirror of
https://github.com/obgm/libcoap.git
synced 2026-11-12 03:40:39 +03:00
New ./configure option --with-mbedtls-oscore If --disable-dtls is set, then MbedTLS is used as the OSCORE backend, otherwise the MbedTLS library is used for both (D)TLS and OSCORE. New cmake option -DOSCORE_BACKEND=mbedtls If -DENABLE_DTLS=OFF is set, then MbedTLS is used as the OSCORE backend, otherwise the MbedTLS library is used for both (D)TLS and OSCORE. New Zephyr option config MBEDTLS_OSCORE If set to y and CONFIG_LIBCOAP_OSCORE_SUPPORT is set to y, then the Zephyr MbedTLS backend will get used for the OSCORE backend (no (D)TLS).
22 lines
539 B
Plaintext
22 lines
539 B
Plaintext
# TLS configuration
|
|
CONFIG_MBEDTLS=y
|
|
CONFIG_MBEDTLS_BUILTIN=y
|
|
CONFIG_MBEDTLS_ENABLE_HEAP=y
|
|
CONFIG_MBEDTLS_HEAP_SIZE=60000
|
|
CONFIG_MBEDTLS_SSL_MAX_CONTENT_LEN=2048
|
|
CONFIG_MBEDTLS_CIPHER_AES_ENABLED=y
|
|
CONFIG_MBEDTLS_ECP_DP_SECP256R1_ENABLED=y
|
|
CONFIG_MBEDTLS_ENTROPY_C=y
|
|
CONFIG_MBEDTLS_CIPHER_GCM_ENABLED=y
|
|
|
|
# Set this if OSCORE Support wanted
|
|
# CONFIG_LIBCOAP_OSCORE_SUPPORT=y
|
|
|
|
# Set this if OSCORE (and not (D)TLS support) is required
|
|
# CONFIG_MBEDTLS_OSCORE=y
|
|
|
|
CONFIG_NET_BUF_RX_COUNT=80
|
|
CONFIG_NET_BUF_TX_COUNT=80
|
|
|
|
CONFIG_ZVFS_OPEN_MAX=20
|