From 99933c827b9901deb3c48cc1964aba19695c0e29 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Fri, 18 Oct 2024 06:19:34 +0200 Subject: [PATCH] bt: change dependencies for BT_RPA As part of the deprecation process of TinyCrypt in Zephyr codebase (#79566) this commit modified the dependencies of BT_RPA. Instead of selecting TinyCrypt, it relies on BT_HOST_CRYPTO or BT_CTLR_CRYPTO. This helps both in the deprecation process of TinyCrypt, but also this is more correct dependency since these 2 symbols are extensively used in the rpa.c source code. Signed-off-by: Valerio Setti --- subsys/bluetooth/common/Kconfig | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subsys/bluetooth/common/Kconfig b/subsys/bluetooth/common/Kconfig index 8bec5ba90d5d88..a5fde079b7df39 100644 --- a/subsys/bluetooth/common/Kconfig +++ b/subsys/bluetooth/common/Kconfig @@ -231,8 +231,7 @@ config BT_WAIT_NOP config BT_RPA bool - select TINYCRYPT - select TINYCRYPT_AES + depends on BT_HOST_CRYPTO || BT_CTLR_CRYPTO config BT_ASSERT bool "Custom Bluetooth assert implementation"