Bluetooth: Kconfig: Add TinyCrypt ECC config option

This enables use of ECC from TinyCrypt. Since ECC is heavy this option
is separated from general use of TinyCrypt in SMP code.

Change-Id: Ia550e4a5f89240c8e15d2b5acccc21993b44b471
Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
Szymon Janc 2016-02-10 14:30:51 +01:00 committed by Gerrit Code Review
commit 4318fc0e5b
2 changed files with 11 additions and 0 deletions

View file

@ -47,6 +47,16 @@ config BLUETOOTH_TINYCRYPT
"If this option is set TinyCrypt library is used for Bluetooth
cryptographic operations. If not set controller crypto is used"
config BLUETOOTH_TINYCRYPT_ECC
bool "Use TinyCrypt library for ECDH"
default n
depends on BLUETOOTH_TINYCRYPT
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.
config BLUETOOTH_HCI_CMD_COUNT
int "Number of HCI command buffers"
default 2