diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-03-31 17:47:21 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-31 17:47:21 +0100 |
commit | ffe102ca6d3b468393bd40db17fda4e3d3f41937 (patch) | |
tree | a78f186f70decee555c40c4080f157f48dda9d26 /include | |
parent | ddc1c56f0b12af6171c11a5a8073c34becfedde2 (diff) | |
parent | 66b4c1660ab9094ffb5412ae0ca98eb4a8111662 (diff) |
Merge pull request #874 from dp-arm/dp/mbed-macros
mbedtls: Namespace TF specific macros
Diffstat (limited to 'include')
-rw-r--r-- | include/drivers/auth/mbedtls/mbedtls_config.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/drivers/auth/mbedtls/mbedtls_config.h b/include/drivers/auth/mbedtls/mbedtls_config.h index a8d72415..9fce4242 100644 --- a/include/drivers/auth/mbedtls/mbedtls_config.h +++ b/include/drivers/auth/mbedtls/mbedtls_config.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2015-2017, ARM Limited and Contributors. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are met: @@ -33,8 +33,8 @@ /* * Key algorithms currently supported on mbed TLS libraries */ -#define MBEDTLS_RSA 1 -#define MBEDTLS_ECDSA 2 +#define TBBR_RSA 1 +#define TBBR_ECDSA 2 /* * Configuration file to build mbed TLS with the required features for @@ -69,11 +69,11 @@ #define MBEDTLS_PLATFORM_C -#if (MBEDTLS_KEY_ALG_ID == MBEDTLS_ECDSA) +#if (TBBR_KEY_ALG_ID == TBBR_ECDSA) #define MBEDTLS_ECDSA_C #define MBEDTLS_ECP_C #define MBEDTLS_ECP_DP_SECP256R1_ENABLED -#elif (MBEDTLS_KEY_ALG_ID == MBEDTLS_RSA) +#elif (TBBR_KEY_ALG_ID == TBBR_RSA) #define MBEDTLS_RSA_C #endif |