commit | 9eabc2b441c273bb166a5fae01d91eb946133a50 | [log] [tgz] |
---|---|---|
author | Jens Wiklander <jens.wiklander@linaro.org> | Mon Apr 03 21:18:03 2023 +0200 |
committer | Jérôme Forissier <jerome@forissier.org> | Tue Apr 04 16:48:52 2023 +0200 |
tree | b1d0ade7b3042eda44ad7e9c8406b9f787053310 | |
parent | 9901df47d96ff3117ee4abc4d3fd5afb001088b5 [diff] |
core: fix loading of encrypted TA The total size of headers for TAs signed with a subkey varies, take that into account when sanity checking the img_size field of the signed header. Fixes: 19b1ce2b2b2b ("core: ree_fs: check ta size before use") Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org> Acked-by: Jerome Forissier <jerome.forissier@linaro.org> Tested-by: Jerome Forissier <jerome.forissier@linaro.org> (vexpress-qemu_armv8a)
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