Home
last modified time | relevance | path

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

/optee_os/core/pta/
H A Dattestation.ce2cac47b33ab8e77936f2f0116a4b2ce8bac3eda Thu Jun 16 08:03:24 UTC 2022 Clement Faure <clement.faure@nxp.com> core: pta: return error code when failing to deserialize saved key

When deserializing the key, TEE_SUCCESS code is returned even the bignum
deserialization of one of the key component fails.

Make sure to free the allocated key in case of an error in the
deserialization of one of the key component.

Fixes: 7e05ec25b ("core: pta: add remote attestation PTA")
Signed-off-by: Clement Faure <clement.faure@nxp.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>