Bluetooth: Kconfig: Add option for enabling TinyCrypt
Add a single option for enabling use of TinyCrypt library for crypto. This option selects all required TinyCrypt options depending on BT features enabled. Thanks to this applications only need to select single option instead of set of required TinyCrypt features. Change-Id: I2862e9ad3e204635f2ed3199433982bcfb7112f6 Signed-off-by: Szymon Janc <ext.szymon.janc@tieto.com>
This commit is contained in:
parent
47ecb52064
commit
eccec2a5ac
5 changed files with 16 additions and 11 deletions
|
@ -35,6 +35,18 @@ config BLUETOOTH_LE
|
|||
(CONFIG_BLUETOOTH) is enabled.
|
||||
|
||||
if BLUETOOTH_LE
|
||||
config BLUETOOTH_TINYCRYPT
|
||||
bool "Use TinyCrypt library"
|
||||
default n
|
||||
select TINYCRYPT
|
||||
select TINYCRYPT_AES if BLUETOOTH_SMP
|
||||
select TINYCRYPT_SHA256
|
||||
select TINYCRYPT_SHA256_HMAC
|
||||
select TINYCRYPT_SHA256_HMAC_PRNG
|
||||
help
|
||||
"If this option is set TinyCrypt library is used for Bluetooth
|
||||
cryptographic operations. If not set controller crypto is used"
|
||||
|
||||
config BLUETOOTH_HCI_CMD_COUNT
|
||||
int "Number of HCI command buffers"
|
||||
default 2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue