Home
last modified time | relevance | path

Searched hist:"9 eabc2b441c273bb166a5fae01d91eb946133a50" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
H A Dree_fs_ta.c9eabc2b441c273bb166a5fae01d91eb946133a50 Mon Apr 03 19:18:03 UTC 2023 Jens Wiklander <jens.wiklander@linaro.org> 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)