1common:
2  filter: CONFIG_FULL_LIBC_SUPPORTED
3  min_ram: 96
4  min_flash: 72
5  timeout: 120
6  tags: jwt
7  integration_platforms:
8    - frdm_k64f
9  extra_configs:
10    - CONFIG_TEST_RANDOM_GENERATOR=y
11tests:
12  libraries.encoding.jwt.ecdsa.psa:
13    extra_configs:
14      - CONFIG_JWT_SIGN_ECDSA_PSA=y
15      # Explicitly select CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG because this
16      # is not automatically selected on platforms that do not have a CSPRNG
17      # source.
18      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
19      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
20  libraries.encoding.jwt.rsa.legacy:
21    filter: CSPRNG_ENABLED
22    extra_configs:
23      - CONFIG_JWT_SIGN_RSA_LEGACY=y
24  libraries.encoding.jwt.rsa.psa:
25    extra_configs:
26      - CONFIG_JWT_SIGN_RSA_PSA=y
27      # Explicitly select CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG because this
28      # is not automatically selected on platforms that do not have a CSPRNG
29      # source.
30      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
31      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
32