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 /drivers/auth/mbedtls/mbedtls_common.c | |
parent | ddc1c56f0b12af6171c11a5a8073c34becfedde2 (diff) | |
parent | 66b4c1660ab9094ffb5412ae0ca98eb4a8111662 (diff) |
Merge pull request #874 from dp-arm/dp/mbed-macros
mbedtls: Namespace TF specific macros
Diffstat (limited to 'drivers/auth/mbedtls/mbedtls_common.c')
-rw-r--r-- | drivers/auth/mbedtls/mbedtls_common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/auth/mbedtls/mbedtls_common.c b/drivers/auth/mbedtls/mbedtls_common.c index 053bf1a4..1d2df5a5 100644 --- a/drivers/auth/mbedtls/mbedtls_common.c +++ b/drivers/auth/mbedtls/mbedtls_common.c @@ -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: @@ -36,9 +36,9 @@ /* * mbed TLS heap */ -#if (MBEDTLS_KEY_ALG_ID == MBEDTLS_ECDSA) +#if (TBBR_KEY_ALG_ID == TBBR_ECDSA) #define MBEDTLS_HEAP_SIZE (14*1024) -#elif (MBEDTLS_KEY_ALG_ID == MBEDTLS_RSA) +#elif (TBBR_KEY_ALG_ID == TBBR_RSA) #define MBEDTLS_HEAP_SIZE (8*1024) #endif static unsigned char heap[MBEDTLS_HEAP_SIZE]; |