mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-18 10:34:19 +00:00

An ad-hoc MbedTLS PSA crypto driver is registered by compiling a new driver file, namely mbedtls_psa_crypto.c when PSA_CRYPTO=1. As of now, this file is the same as mbedtls_crypto.c, but subsequent patches will update crypto functions in this file to trigger PSA crypto APIs. Change-Id: I404c347990661d87dcf5d0501d238e36914ec3ee Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
16 lines
477 B
Makefile
16 lines
477 B
Makefile
#
|
|
# Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
|
|
#
|
|
# SPDX-License-Identifier: BSD-3-Clause
|
|
#
|
|
|
|
include drivers/auth/mbedtls/mbedtls_common.mk
|
|
|
|
ifeq (${PSA_CRYPTO},1)
|
|
# Some of the PSA functions are declared in multiple header files
|
|
# that triggers this warning.
|
|
TF_CFLAGS += -Wno-error=redundant-decls
|
|
MBEDTLS_SOURCES += drivers/auth/mbedtls/mbedtls_psa_crypto.c
|
|
else
|
|
MBEDTLS_SOURCES += drivers/auth/mbedtls/mbedtls_crypto.c
|
|
endif
|