Skip to content

Commit ed6c111

Browse files
committed
[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 <[email protected]>
1 parent 6b0cb07 commit ed6c111

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/subsys/jwt/testcase.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ tests:
1919
# source.
2020
- CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
2121
- CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
22+
- CONFIG_MBEDTLS_ENABLE_HEAP=y
2223
libraries.encoding.jwt.rsa.legacy:
2324
filter: CSPRNG_ENABLED
2425
extra_configs:
@@ -31,3 +32,6 @@ tests:
3132
# source.
3233
- CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
3334
- CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
35+
- CONFIG_PSA_WANT_RSA_KEY_SIZE_2048=y
36+
- CONFIG_MBEDTLS_ENABLE_HEAP=y
37+
- CONFIG_MBEDTLS_HEAP_SIZE=8192

0 commit comments

Comments
 (0)