commit | 685d1524a26d01490cc1a20d1a78f23ce985a80a | [log] [tgz] |
---|---|---|
author | Cedric Neveux <cedric.neveux@nxp.com> | Mon Nov 02 16:40:12 2020 +0100 |
committer | Jérôme Forissier <jerome@forissier.org> | Mon Nov 16 11:20:30 2020 +0100 |
tree | 6cbd08143d2251dd4d0270cf28b7161ac28254c9 | |
parent | d29cd2efcd4681766ec3e3ffe4f5056fd4fc14ea [diff] |
core: ltc: fix SM2 PKE memory leak In function `sm2_ltc_pke_decrypt`, the ecc_point `S` was not deleted if the following bignumber `h` initialization failed. Fixes: f9a78287dd1 (core: ltc: add support for SM2 PKE) Signed-off-by: Cedric Neveux <cedric.neveux@nxp.com> Acked-by: Etienne Carriere <etienne.carriere@linaro.org> Acked-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