From 22faaee268edad9dbbd00e38d7042df9e44779d9 Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Wed, 6 Nov 2024 05:42:34 +0100 Subject: [PATCH] tests: bt: increase PSA key slots count when necessary Increase the number of key slots in the PSA Crypto core for some tests using more keys than the default (16). Signed-off-by: Valerio Setti --- tests/bsim/bluetooth/ll/edtt/gatt_test_app/prj_llcp.conf | 2 ++ tests/bsim/bluetooth/mesh/prj.conf | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/bsim/bluetooth/ll/edtt/gatt_test_app/prj_llcp.conf b/tests/bsim/bluetooth/ll/edtt/gatt_test_app/prj_llcp.conf index 1fdcd1a770f..cf1e71513c9 100644 --- a/tests/bsim/bluetooth/ll/edtt/gatt_test_app/prj_llcp.conf +++ b/tests/bsim/bluetooth/ll/edtt/gatt_test_app/prj_llcp.conf @@ -24,3 +24,5 @@ CONFIG_BT_CTLR_RX_BUFFERS=3 # To make DEVICE Name writable... CONFIG_BT_DEVICE_NAME_DYNAMIC=y + +CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=32 diff --git a/tests/bsim/bluetooth/mesh/prj.conf b/tests/bsim/bluetooth/mesh/prj.conf index bd5c2d2ec47..522a49e2d11 100644 --- a/tests/bsim/bluetooth/mesh/prj.conf +++ b/tests/bsim/bluetooth/mesh/prj.conf @@ -73,3 +73,5 @@ CONFIG_BT_TESTING=y # Needed for RPR tests due to huge amount of retransmitted messages CONFIG_BT_MESH_MSG_CACHE_SIZE=64 + +CONFIG_MBEDTLS_PSA_KEY_SLOT_COUNT=64