Bluetooth: Kconfig: Move TinyCrypt ECDH under SMP

This is used only for LE SC.

Change-Id: I60e5ac391fec1cf1f8648f16021a2956072f2d50
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2016-02-11 18:27:06 +01:00 committed by Johan Hedberg
commit ab013794a5

View file

@ -41,16 +41,6 @@ config BLUETOOTH_LE
(CONFIG_BLUETOOTH) is enabled.
if BLUETOOTH_LE
config BLUETOOTH_TINYCRYPT_ECC
bool "Use TinyCrypt library for ECDH"
default n
select TINYCRYPT_ECC_DH
help
If this option is set TinyCrypt library is also used for LE Secure
Connections elliptic curve Diffie-Hellman key agreement. If not set
controller crypto is used for ECDH and if controller doesn't support
required HCI commands LE Secure Connections support will be disabled.
config BLUETOOTH_HCI_CMD_COUNT
int "Number of HCI command buffers"
default 2
@ -155,6 +145,17 @@ config BLUETOOTH_SMP_SC_ONLY
for services that only require Security Mode 1 Level 1 (no security).
Security Mode 1 Level 4 stands for authenticated LE Secure Connections
pairing with encryption. Enabling this option disables legacy pairing.
config BLUETOOTH_TINYCRYPT_ECC
bool "Use TinyCrypt library for LE SC ECDH"
default n
select TINYCRYPT_ECC_DH
help
If this option is set TinyCrypt library is also used for LE Secure
Connections elliptic curve Diffie-Hellman key agreement. If not set
controller crypto is used for ECDH and if controller doesn't support
required HCI commands LE Secure Connections support will be disabled.
endif # BLUETOOTH_SMP
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL