2019-04-06 09:08:09 -04:00
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2018-09-20 12:15:20 -07:00
|
|
|
zephyr_library()
|
|
|
|
zephyr_library_sources(jwt.c)
|
2024-09-10 16:42:50 +02:00
|
|
|
|
|
|
|
zephyr_library_sources_ifdef(CONFIG_JWT_SIGN_RSA_LEGACY jwt_legacy_rsa.c)
|
2024-10-10 15:45:08 +02:00
|
|
|
|
|
|
|
if (CONFIG_JWT_SIGN_RSA_PSA OR CONFIG_JWT_SIGN_ECDSA_PSA)
|
|
|
|
zephyr_library_sources(jwt_psa.c)
|
|
|
|
endif()
|
2024-09-10 16:42:50 +02:00
|
|
|
|
2018-09-20 12:15:20 -07:00
|
|
|
zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)
|