Skip to content

Commit 61df25d

Browse files
ioannisggalak
authored andcommitted
Revert "openthread: kconfig: rework OpenThread security configurations"
This reverts commit 88f3a98. Signed-off-by: Ioannis Glaropoulos <[email protected]>
1 parent 0622bde commit 61df25d

File tree

1 file changed

+2
-31
lines changed

1 file changed

+2
-31
lines changed

subsys/net/l2/openthread/Kconfig

Lines changed: 2 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,6 @@
22

33
# Copyright (c) 2018 Nordic Semiconductor ASA
44
# SPDX-License-Identifier: Apache-2.0
5-
config OPENTHREAD_SECURITY_INTERNAL
6-
bool
7-
help
8-
OpenThread setting to signal that OpenThread security settings, such
9-
as the OPENTHREAD_MBEDTLS setting will be controlled through other
10-
Kconfig dependencies and should not be user configurable.
115

126
menuconfig NET_L2_OPENTHREAD
137
bool "OpenThread L2"
@@ -159,32 +153,9 @@ config OPENTHREAD_SHELL
159153
depends on SHELL
160154
default y
161155

162-
config MBEDTLS_PROMPTLESS
163-
bool
164-
default y if !CUSTOM_OPENTHREAD_SECURITY
165-
166-
choice OPENTHREAD_SECURITY
167-
prompt "OpenThread security"
168-
default OPENTHREAD_MBEDTLS_CHOICE
169-
depends on !OPENTHREAD_SECURITY_INTERNAL
170-
171-
config CUSTOM_OPENTHREAD_SECURITY
172-
bool "Custom"
173-
help
174-
Security settings will be controlled directly by the user.
175-
Enabling this setting will give access to full control of mbed TLS
176-
configuration.
177-
178-
config OPENTHREAD_MBEDTLS_CHOICE
179-
bool "mbed TLS built-in"
180-
select OPENTHREAD_MBEDTLS
181-
help
182-
Use the OpenThread mbed TLS configuration pre-defined security scheme.
183-
184-
endchoice
185-
186156
config OPENTHREAD_MBEDTLS
187-
bool
157+
bool "Enable built-in mbedtls for use with OpenThread"
158+
default y
188159
select MBEDTLS
189160
select MBEDTLS_ENABLE_HEAP
190161
select MBEDTLS_CIPHER_AES_ENABLED

0 commit comments

Comments
 (0)