diff options
author | Jens Wiklander <jens.wiklander@linaro.org> | 2019-05-22 09:39:30 +0200 |
---|---|---|
committer | Jérôme Forissier <jerome@forissier.org> | 2019-05-22 12:59:03 +0200 |
commit | 628e1eb09852e7b260077db810dcc09045481916 (patch) | |
tree | f4c2f4b2c07f6db64eb93addcd685602742cf638 | |
parent | 59bef968951e334406ad5681c29a9bccd4a8b0e7 (diff) |
libutee: increase MPI mempool size
Increases MPI mempool size from 8Kb to 12Kb to be compensate for changes
in the (future) commit "libmbedtls: mbedtls_mpi_exp_mod(): reduce stack
usage" where mbedtls_mpi_exp_mod() is allocating an additional ~3Kb.
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
-rw-r--r-- | lib/libutee/tee_api_arith_mpi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libutee/tee_api_arith_mpi.c b/lib/libutee/tee_api_arith_mpi.c index f6fafe0f..371d7b0e 100644 --- a/lib/libutee/tee_api_arith_mpi.c +++ b/lib/libutee/tee_api_arith_mpi.c @@ -13,7 +13,7 @@ #include <utee_syscalls.h> #include <util.h> -#define MPI_MEMPOOL_SIZE (8 * 1024) +#define MPI_MEMPOOL_SIZE (12 * 1024) static void __noreturn api_panic(const char *func, int line, const char *msg) { |