summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordanh-arm <dan.handley@arm.com>2017-05-16 10:57:16 +0100
committerGitHub <noreply@github.com>2017-05-16 10:57:16 +0100
commitf0019fcca7c652c7e8ece2ddcb001f0f6e4a4513 (patch)
tree14999f6e2659b3b4a9d7aa911193bdba9628295f /include
parent6cea94510f9e55133c29b79003c7f2daa8b1de83 (diff)
parent6a0b0d7f8693db5a63b2e32d19ec82d90d2d041d (diff)
Merge pull request #935 from davidcunado-arm/dc/mbed_api
mbedtls: Namespace update for TF specific macros
Diffstat (limited to 'include')
-rw-r--r--include/drivers/auth/mbedtls/mbedtls_config.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/drivers/auth/mbedtls/mbedtls_config.h b/include/drivers/auth/mbedtls/mbedtls_config.h
index edb294ab..7d8d17c3 100644
--- a/include/drivers/auth/mbedtls/mbedtls_config.h
+++ b/include/drivers/auth/mbedtls/mbedtls_config.h
@@ -9,8 +9,8 @@
/*
* Key algorithms currently supported on mbed TLS libraries
*/
-#define TBBR_RSA 1
-#define TBBR_ECDSA 2
+#define TF_MBEDTLS_RSA 1
+#define TF_MBEDTLS_ECDSA 2
/*
* Configuration file to build mbed TLS with the required features for
@@ -45,11 +45,11 @@
#define MBEDTLS_PLATFORM_C
-#if (TBBR_KEY_ALG_ID == TBBR_ECDSA)
+#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA)
#define MBEDTLS_ECDSA_C
#define MBEDTLS_ECP_C
#define MBEDTLS_ECP_DP_SECP256R1_ENABLED
-#elif (TBBR_KEY_ALG_ID == TBBR_RSA)
+#elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA)
#define MBEDTLS_RSA_C
#endif