modules: mbedtls: Allow to enable OpenThread optimizations
OpenThread tweaks some specific mbedTLS configs for it's own need, that allows to save some RAM/ROM. Allow to set these in generic config file if OpenThread is enabled. Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
This commit is contained in:
parent
d479eb4c3e
commit
1c8c775502
1 changed files with 10 additions and 0 deletions
|
@ -299,6 +299,16 @@ config MBEDTLS_ENTROPY_ENABLED
|
|||
bool "Enable mbedTLS generic entropy pool"
|
||||
depends on MBEDTLS_MAC_SHA256_ENABLED || MBEDTLS_MAC_SHA512_ENABLED
|
||||
|
||||
config MBEDTLS_OPENTHREAD_OPTIMIZATIONS_ENABLED
|
||||
bool "Enable mbedTLS optimizations for OpenThread"
|
||||
depends on NET_L2_OPENTHREAD
|
||||
default y if !NET_SOCKETS_SOCKOPT_TLS
|
||||
help
|
||||
Enable some OpenThread specific mbedTLS optimizations that allows to
|
||||
save some RAM/ROM when OpenThread is used. Note, that when application
|
||||
aims to use other mbedTLS services on top of OpenThread (e.g. secure
|
||||
sockets), it's advised to disable this option.
|
||||
|
||||
config MBEDTLS_USER_CONFIG_ENABLE
|
||||
bool "Enable user mbedTLS config file"
|
||||
help
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue