TEE_ReadObjectData() and TEE_WriteObjectData() data buffers have [out]
and [in] attributes and therefore "SHALL not reside in a block of
shared memory owned by a client of the Trusted Application" [1]. Fix
this by allocating temporary buffers from the heap.
TEE_ReadObjectData() and TEE_WriteObjectData() data buffers have [out] and [in] attributes and therefore "SHALL not reside in a block of shared memory owned by a client of the Trusted Application" [1]. Fix this by allocating temporary buffers from the heap.
[1] TEE Internal Core API Specification v1.1
Signed-off-by: Jerome Forissier jerome@forissier.org