Skip to content

Commit 0028bae

Browse files
Vge0rgerlubos
authored andcommitted
bluetooth: fast_pair: Add dependencies for Ironside
When Ironside is enabled direct access to the crypto APIs is not possible. Add the relevant dependencies of the Ironside to the BT_FAST_PAIR options. Signed-off-by: Georgios Vasilakis <[email protected]>
1 parent cfd3ee3 commit 0028bae

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

subsys/bluetooth/services/fast_pair/fp_crypto/Kconfig.fp_crypto

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,16 @@ config BT_FAST_PAIR_CRYPTO_OBERON
2424
select BT_FAST_PAIR_CRYPTO_AES256_ECB_SUPPORT
2525
select BT_FAST_PAIR_CRYPTO_SECP160R1_SUPPORT
2626
select BT_FAST_PAIR_CRYPTO_SECP256R1_SUPPORT
27+
depends on !DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED
2728
help
2829
Select Oberon cryptographic backend for Fast Pair.
2930

3031
config BT_FAST_PAIR_CRYPTO_PSA
3132
bool "Fast Pair with PSA cryptographic backend [EXPERIMENTAL]"
3233
select EXPERIMENTAL
3334
select NRF_SECURITY
34-
select MBEDTLS_PSA_CRYPTO_C
35-
select MBEDTLS_ENABLE_HEAP
35+
select MBEDTLS_PSA_CRYPTO_C if !DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED
36+
select MBEDTLS_ENABLE_HEAP if !DT_HAS_NORDIC_IRONSIDE_CALL_ENABLED
3637
select PSA_WANT_ALG_SHA_256
3738
select PSA_WANT_ALG_HMAC
3839
select PSA_WANT_ALG_ECDH

0 commit comments

Comments
 (0)