tests: crypto: mbedtls_psa: enable malloc arena for Mbed TLS

The PSA Crypto implementation in Mbed TLS requires some heap
to operate.
Provide a small malloc arena to ensure this test remains
compatible with MINIMAL_LIBC configurations
where the arena is disabled by default.

Signed-off-by: Mohamed Moawad <moawad@synopsys.com>
This commit is contained in:
Mohamed Moawad
2025-12-15 09:54:53 +02:00
committed by Benjamin Cabé
parent 58f59c13a5
commit 454c2fae98

View File

@@ -41,3 +41,5 @@ tests:
- CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
- CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
- CONFIG_TEST_RANDOM_GENERATOR=y
# PSA Crypto needs some heap, but MINIMAL_LIBC has none by default.
- CONFIG_COMMON_LIBC_MALLOC_ARENA_SIZE=2048