Home
last modified time | relevance | path

Searched hist:d71c4cd4376a731dae5df2d37c717bfb29c5aefa (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/lib/libtomcrypt/
H A Drsa.cd71c4cd4376a731dae5df2d37c717bfb29c5aefa Tue Dec 20 15:38:42 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: LTC rsa.c: use mempool_alloc() instead of malloc()

Replace the calls to malloc() and free() with calls to mempool_alloc()
and mempool_free() in order to guarantee that we don't have to return
TEE_ERROR_OUT_OF_MEMORY and cause a panic in the TA.

Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>