Home
last modified time | relevance | path

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

/optee_os/ta/avb/
H A Dentry.cddcd07a27aa6876bd7503f4ddec12edb75e1c393 Tue Jan 26 15:37:45 UTC 2021 Igor Opaniuk <igor.opaniuk@foundries.io> ta: avb: copy data to temporary buffers

Use intermediate temporary buffers instead of directly supplying
non-secure buffers to TEE_ReadObjectData()/TEE_CreatePersistentObject().
This fixes TA panics while accessing persistent objects:

E/TC:? 0 TA panicked with code 0xffff0001
E/LD: Status of TA 023f8f1a-292a-432b-8fc4-de8471358067
...
D/TC:? 0 user_ta_enter:176 tee_user_ta_enter: TA panicked with
code 0xffff0001

Signed-off-by: Igor Opaniuk <igor.opaniuk@foundries.io>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>