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    - qemu_x86
9  extra_configs:
10    - CONFIG_TEST_RANDOM_GENERATOR=y
11  platform_exclude:
12    - max32657evkit/max32657/ns
13tests:
14  libraries.encoding.jwt.ecdsa.psa:
15    extra_configs:
16      - CONFIG_JWT_SIGN_ECDSA_PSA=y
17      # Explicitly select CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG because this
18      # is not automatically selected on platforms that do not have a CSPRNG
19      # source.
20      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
21      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
22  libraries.encoding.jwt.rsa.legacy:
23    filter: CSPRNG_ENABLED
24    extra_configs:
25      - CONFIG_JWT_SIGN_RSA_LEGACY=y
26  libraries.encoding.jwt.rsa.psa:
27    extra_configs:
28      - CONFIG_JWT_SIGN_RSA_PSA=y
29      # Explicitly select CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG because this
30      # is not automatically selected on platforms that do not have a CSPRNG
31      # source.
32      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG=y
33      - CONFIG_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG_ALLOW_NON_CSPRNG=y
34