summaryrefslogtreecommitdiffstats
path: root/drivers/auth/mbedtls/mbedtls_crypto.mk
blob: bd367300b3e35aa59a4d90f064a199d6bf344bdc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#
# 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