1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4zephyr_library_sources(jwt.c)
5
6zephyr_library_sources_ifdef(CONFIG_JWT_SIGN_RSA_LEGACY jwt_legacy_rsa.c)
7
8if (CONFIG_JWT_SIGN_RSA_PSA OR CONFIG_JWT_SIGN_ECDSA_PSA)
9  zephyr_library_sources(jwt_psa.c)
10endif()
11
12zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)
13