From 92f1d2dcb2770a07e910c4a6227a12c31b9b9a6e Mon Sep 17 00:00:00 2001 From: Valerio Setti Date: Wed, 28 Aug 2024 05:50:45 +0200 Subject: [PATCH] test: disable dynamic key store in test_crypto_with_static_key_slots Signed-off-by: Valerio Setti --- tests/scripts/components-configuration-crypto.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/scripts/components-configuration-crypto.sh b/tests/scripts/components-configuration-crypto.sh index a12616f980..ea14026b0b 100644 --- a/tests/scripts/components-configuration-crypto.sh +++ b/tests/scripts/components-configuration-crypto.sh @@ -42,6 +42,9 @@ component_test_crypto_with_static_key_slots() { # - all FFDH key pairs and public keys up to 8192 bits (max of PSA_VENDOR_FFDH_MAX_KEY_BITS). # - all EC key pairs and public keys up to 521 bits (max of PSA_VENDOR_ECC_MAX_CURVE_BITS). scripts/config.py set MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE 1212 + # Disable the fully dynamic key store (default on) since it conflicts + # with the static behavior that we're testing here. + scripts/config.py unset MBEDTLS_PSA_KEY_STORE_DYNAMIC msg "test: crypto full + MBEDTLS_PSA_STATIC_KEY_SLOTS" make CFLAGS="$ASAN_CFLAGS" LDFLAGS="$ASAN_CFLAGS" test