GP Client Interface Library
Description: This file declares APIs for GP Client Library.
Definition in file tee_client_functions.h.
Go to the source code of this file.
Macros | |
| #define | TEEC_PARAM_TYPES(t0, t1, t2, t3) (((uint32_t)t0) | (((uint32_t)t1) << 4) | (((uint32_t)t2) << 8) | (((uint32_t)t3) << 12)) |
| Helper macro to construct param type. More... | |
| #define | TEEC_PARAM_TYPE_GET(t, i) (((t) >> (i*4)) & 0xF) |
| Helper macro to get GP param based on index. More... | |
Functions | |
| TEEC_Result | TEEC_InitializeContext (const char *name, TEEC_Context *context) |
| Initilize TEEC context. More... | |
| void | TEEC_FinalizeContext (TEEC_Context *context) |
| Finalize TEEC context. More... | |
| TEEC_Result | TEEC_OpenSession (TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *destination, uint32_t connectionMethod, const void *connectionData, TEEC_Operation *operation, uint32_t *returnOrigin) |
| This function opens a new Session between the Client Application and the specified Trusted Application. More... | |
| void | TEEC_CloseSession (TEEC_Session *session) |
| closes a Session which has been opened with a Trusted Application More... | |
| TEEC_Result | TEEC_InvokeCommand (TEEC_Session *session, uint32_t commandID, TEEC_Operation *operation, uint32_t *returnOrigin) |
| invokes a Command within the specified Session More... | |