commit | 68df6eb0f2568e39175fc3a3c7ccbbf00e742b31 | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Tue May 21 22:52:10 2019 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Wed May 22 11:39:06 2019 +0200 |
tree | bbcafebe3b3775d63ea298b08bdc080f24c244a0 | |
parent | f58facc63757b67661cdfcd45dd65e41d665771d [diff] |
libmbedtls: mbedtls_mpi_exp_mod(): reduce stack usage The W variable is 3072 bytes on AArch64 with MBEDTLS_MPI_WINDOW_SIZE set to 6 for maximum performance. Instead of allocating such a large variable on the stack use mempool_alloc(). Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org> Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>
This git contains source code for the secure side implementation of OP-TEE project.
All official OP-TEE documentation has moved to http://optee.readthedocs.io.
// OP-TEE core maintainers