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:
parent
7f9696c182
commit
ab013794a5
1 changed files with 11 additions and 10 deletions
|
@ -41,16 +41,6 @@ config BLUETOOTH_LE
|
||||||
(CONFIG_BLUETOOTH) is enabled.
|
(CONFIG_BLUETOOTH) is enabled.
|
||||||
|
|
||||||
if BLUETOOTH_LE
|
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
|
config BLUETOOTH_HCI_CMD_COUNT
|
||||||
int "Number of HCI command buffers"
|
int "Number of HCI command buffers"
|
||||||
default 2
|
default 2
|
||||||
|
@ -155,6 +145,17 @@ config BLUETOOTH_SMP_SC_ONLY
|
||||||
for services that only require Security Mode 1 Level 1 (no security).
|
for services that only require Security Mode 1 Level 1 (no security).
|
||||||
Security Mode 1 Level 4 stands for authenticated LE Secure Connections
|
Security Mode 1 Level 4 stands for authenticated LE Secure Connections
|
||||||
pairing with encryption. Enabling this option disables legacy pairing.
|
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
|
endif # BLUETOOTH_SMP
|
||||||
|
|
||||||
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL
|
config BLUETOOTH_L2CAP_DYNAMIC_CHANNEL
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue