struct TEEC_SharedMemory

Defined at line 279 of file ../../src/security/lib/tee/tee-client-api/include/tee-client-api/tee-client-types.h

TEEC_SharedMemory

This type denotes a Shared Memory block which has either been registered with the Implementation

or allocated by it.

Fields:

buffer A pointer to the memory buffer shared with the TEE.

size The size of the memory buffer, in bytes.

flags A bit-vector which can contain the following flags:

TEEC_MEM_INPUT: The memory can be used to transfer data from the Client Application

to the TEE.

TEEC_MEM_OUTPUT: The memory can be used to transfer data from the TEE to the Client

Application.

All other bits in this field should be set to zero, and are reserved for future use.

imp Contains any additional implementation-defined data attached to the Shared Memory

structure.

Public Members

void * buffer
size_t size
uint32_t flags
teec_shared_memory_impl imp