TEE Client API
头文件
include “tee_client_api.h”
0.一些数据类型
typedef struct
{
uint32_t timeLow;
uint16_t timeMid;
uint16_t timeHiAndVersion;
uint8_t clockSeqAndNode[8];
} TEEC_UUID;
typedef struct
{
<Implementation-Defined Type> imp;
} TEEC_Context;
typedef struct
{
<Implementation-Defined Type> imp;
} TEEC_Session;
typedef struct
{
void* buffer;
size_t size;
uint32_t flags; //TEEC_MEM_INPUT: CA -> TEE or TEEC_MEM_OUTPUT :TEE -> CA
<Implementation-Defined Type> imp;
} TEEC_SharedMemory