mbedtls_crypto.mk 477 B

12345678910111213141516
  1. #
  2. # Copyright (c) 2015-2023, Arm Limited and Contributors. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-3-Clause
  5. #
  6. include drivers/auth/mbedtls/mbedtls_common.mk
  7. ifeq (${PSA_CRYPTO},1)
  8. # Some of the PSA functions are declared in multiple header files
  9. # that triggers this warning.
  10. TF_CFLAGS += -Wno-error=redundant-decls
  11. MBEDTLS_SOURCES += drivers/auth/mbedtls/mbedtls_psa_crypto.c
  12. else
  13. MBEDTLS_SOURCES += drivers/auth/mbedtls/mbedtls_crypto.c
  14. endif