diff options
author | davidcunado-arm <david.cunado@arm.com> | 2017-10-02 15:03:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-02 15:03:16 +0100 |
commit | b8fa2ed562937b2e8cd55e5e47c9edafb3f51b6e (patch) | |
tree | 4f6875f536d54cb9ce292dcc26bdd45cd5a9d555 /drivers/auth/mbedtls/mbedtls_common.c | |
parent | 6eb4d72d56e77433fee26a313a32e5d679fd52ed (diff) | |
parent | dcbf3932fd58537695dfcd8ccacb1a76fd193b48 (diff) |
Merge pull request #1107 from geesun/qx/add_ecdsa_support
Add support for TBBR using ECDSA keys in ARM platforms
Diffstat (limited to 'drivers/auth/mbedtls/mbedtls_common.c')
-rw-r--r-- | drivers/auth/mbedtls/mbedtls_common.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/auth/mbedtls/mbedtls_common.c b/drivers/auth/mbedtls/mbedtls_common.c index e9aa409b..205c2432 100644 --- a/drivers/auth/mbedtls/mbedtls_common.c +++ b/drivers/auth/mbedtls/mbedtls_common.c @@ -14,8 +14,9 @@ /* * mbed TLS heap */ -#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA) -#define MBEDTLS_HEAP_SIZE (14*1024) +#if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA) \ + || (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA_AND_ECDSA) +#define MBEDTLS_HEAP_SIZE (13*1024) #elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA) #define MBEDTLS_HEAP_SIZE (7*1024) #endif |