1# SPDX-License-Identifier: Apache-2.0
2
3zephyr_library()
4
5zephyr_library_sources(bt_crypto.c)
6
7zephyr_library_sources(bt_crypto_psa.c)
8zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)
9zephyr_library_include_directories_ifdef(CONFIG_BUILD_WITH_TFM
10    $<TARGET_PROPERTY:tfm,TFM_BINARY_DIR>/api_ns/interface/include
11)
12
13if(CONFIG_BT_CRYPTO_LOG_LEVEL_DBG)
14    message(WARNING "CONFIG_BT_CRYPTO_LOG_LEVEL_DBG is enabled.
15    Private security keys such as the Long Term Key will be printed out.
16    Do not use in production."
17    )
18endif()
19