aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPankaj Gupta <pankaj.gupta@nxp.com>2020-12-09 14:02:38 +0530
committerPankaj Gupta <pankaj.gupta@nxp.com>2021-03-24 09:49:31 +0530
commitff67fca5ac95397af9840676d731a5d4c51e04d3 (patch)
tree551592fad748e12c73dc601595922169275eeb89 /include
parentb94bf967e62b23a376a5026de69d06a0e8d6bf78 (diff)
downloadtrusted-firmware-a-ff67fca5ac95397af9840676d731a5d4c51e04d3.tar.gz
tbbr-cot: fix the issue of compiling time define
Incorrect value is picked for TF_MBEDTLS_USE_RSA defination, even if the TF_MBEDTLS_RSA is enabled. Due to which PK_DER_LEN is defined incorrectly. Signed-off-by: Pankaj Gupta <pankaj.gupta@nxp.com> Change-Id: I2ca4ca121e0287b88ea689c885ddcd45a34a3e91
Diffstat (limited to 'include')
-rw-r--r--include/common/tbbr/cot_def.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/common/tbbr/cot_def.h b/include/common/tbbr/cot_def.h
index 6ce7f80c17..800ad07eb2 100644
--- a/include/common/tbbr/cot_def.h
+++ b/include/common/tbbr/cot_def.h
@@ -7,6 +7,10 @@
#ifndef COT_DEF_H
#define COT_DEF_H
+#ifdef MBEDTLS_CONFIG_FILE
+#include MBEDTLS_CONFIG_FILE
+#endif
+
/* TBBR CoT definitions */
#if defined(SPD_spmd)
#define COT_MAX_VERIFIED_PARAMS 8