Home
last modified time | relevance | path

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

/optee_os/core/pta/
H A Dattestation.cac4987864470333ffb78c8abe7d81a2b4ff766e8 Tue Aug 01 15:43:44 UTC 2023 Jerome Forissier <jerome.forissier@linaro.org> core: pta: attestation: fixes for CFG_PAN=y

- Add missing enter_user_access()/exit_user_access() to
cmd_hash_ta_memory() so that the PTA is allowed to access the TA
directly.
- Use to_bounce_params() and from_bounce_params() in the invoke entry
point in order to use bounce buffers for memref parameters when the
caller is a user space TA and PAN is enabled.

Fixes xtest 1037 with CFG_ATTESTATION_PTA=y CFG_PAN=y.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
Acked-by: Jens Wiklander <jens.wiklander@linaro.org>