From ed6c1115ddfebae9b1bbc4f2f07c965d5286050c Mon Sep 17 00:00:00 2001 From: Georgios Vasilakis Date: Mon, 18 Aug 2025 15:34:25 +0200 Subject: [PATCH] [nrf noup] tests: jwt: Add crypto configuration Add the required crypto configuration for the nrf_security to work with this sample. This is a noup because of two reasons: 1) There is a downstream symbol 2) The nrf_security defaults deviate from the upstream ones regarding heap Signed-off-by: Georgios Vasilakis --- tests/subsys/jwt/testcase.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/subsys/jwt/testcase.yaml b/tests/subsys/jwt/testcase.yaml index 9a7a547f56b..52cc9086fd6 100644 --- a/tests/subsys/jwt/testcase.yaml +++ b/tests/subsys/jwt/testcase.yaml @@ -19,6 +19,7 @@ tests: # source. - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y + - CONFIG_MBEDTLS_ENABLE_HEAP=y libraries.encoding.jwt.rsa.legacy: filter: CSPRNG_ENABLED extra_configs: @@ -31,3 +32,6 @@ tests: # source. - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y + - CONFIG_PSA_WANT_RSA_KEY_SIZE_2048=y + - CONFIG_MBEDTLS_ENABLE_HEAP=y + - CONFIG_MBEDTLS_HEAP_SIZE=8192