aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2020-08-21 07:08:40 +0100
committerSoby Mathew <soby.mathew@arm.com>2020-08-21 07:12:01 +0100
commitbcbe938945bf9a8964758f4e6a4a29d75f6bea98 (patch)
tree0840454848b6e43cc5c6db2c0abfe0c9e4e0f7d0
parent07ef6e4edb1acdd422bf7bbe36fc78ec4f7290c2 (diff)
downloadtrusted-firmware-m-bcbe938945bf9a8964758f4e6a4a29d75f6bea98.tar.gz
Crypto: Bump up mbedTLS heap size
The initial attestation test case seems to require a higher heap memory allocation with the recent mbedTLS upgrade. This patch bumps up the heap size of mbedTLS by 0x10 bytes. Signed-off-by: Soby Mathew <soby.mathew@arm.com> Change-Id: I9aadda19598062d8a4299274c11980149ba076a8
-rw-r--r--secure_fw/partitions/crypto/crypto_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/secure_fw/partitions/crypto/crypto_init.c b/secure_fw/partitions/crypto/crypto_init.c
index 743ce1d71e..ee4d20522a 100644
--- a/secure_fw/partitions/crypto/crypto_init.c
+++ b/secure_fw/partitions/crypto/crypto_init.c
@@ -268,7 +268,7 @@ static void tfm_crypto_ipc_handler(void)
* Crypto for its dynamic allocations
*/
#ifndef TFM_CRYPTO_ENGINE_BUF_SIZE
-#define TFM_CRYPTO_ENGINE_BUF_SIZE (0x2000) /* 8KB for EC signing in attest */
+#define TFM_CRYPTO_ENGINE_BUF_SIZE (0x2010) /* >8KB for EC signing in attest */
#endif
/**