Skip to content

Commit

Permalink
[nrf noup] ble: Adding missing AES config for BT_CRYPTO
Browse files Browse the repository at this point in the history
-Adding imply MBEDTLS_CIPHER_AES_ENABLED if not TF-M build
 in BT_CRYPTO
-Needed to set a specific symbol for MBEDTLS + MBEDTLS_BUILTIN
 to work on network core build.
-This [nrf noup] can be removed once PSA crypto is fully
 supported in network core, or PSA crypto is not compiled in at all
 and is provided as a RPC-mechanism via the app-core

Signed-off-by: Frank Audun Kvamtrø <[email protected]>
  • Loading branch information
frkv committed Feb 4, 2025
1 parent 92439bd commit 79bd4df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions subsys/bluetooth/crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ config BT_CRYPTO
select PSA_WANT_KEY_TYPE_AES
select PSA_WANT_ALG_CMAC
select PSA_WANT_ALG_ECB_NO_PADDING
imply MBEDTLS_CIPHER_AES_ENABLED if !BUILD_WITH_TFM
imply MBEDTLS_AES_ROM_TABLES if MBEDTLS_PSA_CRYPTO_C
help
This option enables the Bluetooth Cryptographic Toolbox.

0 comments on commit 79bd4df

Please sign in to comment.