1#------------------------------------------------------------------------------- 2# Copyright (c) 2021-2023, Arm Limited and Contributors. All rights reserved. 3# 4# SPDX-License-Identifier: BSD-3-Clause 5# 6#------------------------------------------------------------------------------- 7if (NOT DEFINED TGT) 8 message(FATAL_ERROR "mandatory parameter TGT is not defined.") 9endif() 10 11target_sources(${TGT} PRIVATE 12 "${CMAKE_CURRENT_LIST_DIR}/crypto_ipc_backend.c" 13 ) 14 15# The ipc crypto backend uses the psa crypto client to realize the 16# psa crypto API that the crypto provider depends on. This define 17# configures the psa crypto client to be built with the ipc crypto 18# caller. 19target_compile_definitions(${TGT} PRIVATE 20 PSA_CRYPTO_CLIENT_CALLER_SELECTION_H="service/crypto/client/caller/psa_ipc/crypto_caller.h" 21) 22