![]() |
mTower
|
#include <tee_client_api.h>
Data Fields | |
| void * | buffer |
| size_t | size |
| uint32_t | flags |
| int | id |
| size_t | alloced_size |
| void * | shadow_buffer |
| int | registered_fd |
| bool | buffer_allocated |
struct TEEC_SharedMemory - Memory to transfer data between a client application and trusted code.
| buffer | The memory buffer which is to be, or has been, shared with the TEE. |
| size | The size, in bytes, of the memory buffer. |
| flags | Bit-vector which holds properties of buffer. The bit-vector can contain either or both of the TEEC_MEM_INPUT and TEEC_MEM_OUTPUT flags. |
A shared memory block is a region of memory allocated in the context of the client application memory space that can be used to transfer data between that client application and a trusted application. The user of this struct is responsible to populate the buffer pointer.
1.8.13