Searched hist:"41 e5aa8f18c4d48083341ff3df9e75f0c77cf703" (Results 1 – 1 of 1) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | bignum.c | 41e5aa8f18c4d48083341ff3df9e75f0c77cf703 Tue May 21 20:52:10 UTC 2019 Jens Wiklander <jens.wiklander@linaro.org> libmbedtls: mbedtls_mpi_exp_mod(): reduce stack usage
68df6eb0f256 ("libmbedtls: mbedtls_mpi_exp_mod(): reduce stack usage") from branch import/mbedtls-2.16.0
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>
|