Home
last modified time | relevance | path

Searched hist:"827 c9002139aaa88b473c24ea52fa7f1f63fd054" (Results 1 – 1 of 1) sorted by relevance

/optee_os/core/kernel/
H A Dree_fs_ta.c827c9002139aaa88b473c24ea52fa7f1f63fd054 Thu Nov 10 07:25:25 UTC 2022 Jens Wiklander <jens.wiklander@linaro.org> core: ree_fs: copy in encrypted TA header only once

In ree_fs_ta_open() when an encrypted TA is loaded there is an encrypted
TA sub-header. Prior to this patch it was copied in from non-secure
shared memory twice, first one time to read the total size of the
header, and then a second time to copy in the entire header. Fix this
by only copying in what wasn't copied the first time.

Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>