commit | 06de6080fba5890357f9075b37caf940cc8eb93f | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Fri Apr 01 17:45:56 2022 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Fri Nov 25 09:53:18 2022 +0100 |
tree | 9128a8d6fb10694f274ef48e609a7f4b0f585bb5 | |
parent | a846630f4435a7127bdee968781e6d6eb296f5fa [diff] |
libmbedtls: add fault mitigation in mbedtls_rsa_rsassa_pkcs1_v15_verify() Adds fault mitigation in mbedtls_rsa_rsassa_pkcs1_v15_verify() by using the macro FTMN_CALLEE_DONE_MEMCMP() instead of just mbedtls_safer_memcmp() when checking that the hash in the RSA signature is matching the expected value. FTMN_CALLEE_DONE_MEMCMP() saves on success the result in a thread local storage if fault mitigations was enabled when the function was called. Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Signed-off-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