Bluetooth: Correctly select RPA and TINYCRYPT options
Enforce the logical dependency between SMP, RPA generation and privacy in the Kconfig files for the Bluetooth subsysem. Signed-off-by: Carles Cufi <carles.cufi@nordicsemi.no>
This commit is contained in:
parent
4307505e2d
commit
1506b24fb8
2 changed files with 3 additions and 1 deletions
|
@ -11,6 +11,8 @@ if BLUETOOTH_HCI
|
||||||
config BLUETOOTH_RPA
|
config BLUETOOTH_RPA
|
||||||
# Virtual/hidden option
|
# Virtual/hidden option
|
||||||
bool
|
bool
|
||||||
|
select TINYCRYPT
|
||||||
|
select TINYCRYPT_AES
|
||||||
default n
|
default n
|
||||||
|
|
||||||
config BLUETOOTH_DEBUG
|
config BLUETOOTH_DEBUG
|
||||||
|
|
|
@ -189,7 +189,6 @@ config BLUETOOTH_ATT_TX_MAX
|
||||||
|
|
||||||
config BLUETOOTH_SMP
|
config BLUETOOTH_SMP
|
||||||
bool "Security Manager Protocol support"
|
bool "Security Manager Protocol support"
|
||||||
select BLUETOOTH_RPA
|
|
||||||
select TINYCRYPT
|
select TINYCRYPT
|
||||||
select TINYCRYPT_AES
|
select TINYCRYPT_AES
|
||||||
select TINYCRYPT_AES_CMAC
|
select TINYCRYPT_AES_CMAC
|
||||||
|
@ -200,6 +199,7 @@ config BLUETOOTH_SMP
|
||||||
if BLUETOOTH_SMP
|
if BLUETOOTH_SMP
|
||||||
config BLUETOOTH_PRIVACY
|
config BLUETOOTH_PRIVACY
|
||||||
bool "Privacy Feature"
|
bool "Privacy Feature"
|
||||||
|
select BLUETOOTH_RPA
|
||||||
help
|
help
|
||||||
Enable local Privacy Feature support. This makes it possible
|
Enable local Privacy Feature support. This makes it possible
|
||||||
to use Resolvable Private Addresses (RPAs).
|
to use Resolvable Private Addresses (RPAs).
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue