commit | 1fcbc05b3cd25f3cc05b7baf2f0de1eaf803b791 | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Thu Nov 08 11:18:22 2018 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Apr 07 11:15:15 2020 +0200 |
tree | 803ec1f577812e399c393e48855ffa565abb160d | |
parent | 66e03f068078f0b17587efc9260b147d2bd2cf3d [diff] |
libmbedtls: add mbedtls_mpi_init_mempool() Adds mbedtls_mpi_init_mempool() which initializes a mbedtls_mpi struct to use the mempool mbedtls_mpi_mempool if configured for memory allocation. All local memory allocation are changed to use mbedtls_mpi_init_mempool() instead of mbedtls_mpi_init(). This will give a stack like alloc/free pattern for which the mempool is optimized. Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> [jf: rebased onto mbedtls-2.16.5] Signed-off-by: Jerome Forissier <jerome@forissier.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