diff options
author | Soby Mathew <soby.mathew@arm.com> | 2017-06-05 12:18:04 +0100 |
---|---|---|
committer | Soby Mathew <soby.mathew@arm.com> | 2017-06-05 12:23:27 +0100 |
commit | 38aacad3cb4842a267d2cd5a22d0e6439c0d37e6 (patch) | |
tree | 990b9a0427fce8555e6f8d5737de1c50a51eca0e /drivers | |
parent | 2bd26faf62411c75111fea4b23c542865383b068 (diff) |
Increase heapsize for mbedtls library
The mbedTLS library requires larger heap memory for verification of RSASSA-PSS
signature in certificates during Trusted Board Boot. This patch increases the
heap memory for the same.
Change-Id: I3c3123d7142b7b7b01463516ec436734895da159
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/auth/mbedtls/mbedtls_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/auth/mbedtls/mbedtls_common.c b/drivers/auth/mbedtls/mbedtls_common.c index 336e44be..3799d418 100644 --- a/drivers/auth/mbedtls/mbedtls_common.c +++ b/drivers/auth/mbedtls/mbedtls_common.c @@ -16,7 +16,7 @@ #if (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_ECDSA) #define MBEDTLS_HEAP_SIZE (14*1024) #elif (TF_MBEDTLS_KEY_ALG_ID == TF_MBEDTLS_RSA) -#define MBEDTLS_HEAP_SIZE (6*1024) +#define MBEDTLS_HEAP_SIZE (7*1024) #endif static unsigned char heap[MBEDTLS_HEAP_SIZE]; |