Skip to content

Commit d5e045a

Browse files
committed
[nrf fromlist] bluetooth: host: Add select PSA_WANT_ALG_ECB_NO_PADDING
This is a follow-up to commit 12eee61. Explicitly enable "PSA_WANT_ALG_ECB_NO_PADDING" to select the AES ECB mode that it is used in CMAC operation. This is done because CMAC uses AES-ECB, so both AES and ECB must be explicitly enabled. Previously it worked because Mbed TLS is not currently performing any check internally on this and it's just enabling ECB automatically. Upstream PR #: 84638 Signed-off-by: Andrzej Głąbek <[email protected]>
1 parent 36116a7 commit d5e045a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

subsys/bluetooth/host/Kconfig.gatt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@ config BT_GATT_CACHING
135135
depends on PSA_CRYPTO_CLIENT
136136
select PSA_WANT_KEY_TYPE_AES
137137
select PSA_WANT_ALG_CMAC
138+
select PSA_WANT_ALG_ECB_NO_PADDING
138139
imply MBEDTLS_AES_ROM_TABLES if MBEDTLS_PSA_CRYPTO_C
139140
help
140141
This option enables support for GATT Caching. When enabled the stack

0 commit comments

Comments
 (0)