TEEC_OpenSession
API Format
TEEC_OpenSession(TEEC_Context *context, TEEC_Session *session, const TEEC_UUID *destination, uint32_t connectionMethod, const void *connectionData, TEEC_Operation *operation, uint32_t *returnOrigin)
Function Description
Opens a new session between the CA and a specified TA.
Parameter Description
- context: TEE connection context information.
- session: TEEC_Session data structure to be initialized, which identifies a TEE session and stores information about the session between the CA and a specific TA.
- destination: unique identifier of the target TA.
- connectionMethod: connection method.
- connectionData: mandatory parameters required by the specific connection method.
- operation: stores the parameters transferred from the CA to a TA.
- returnOrigin: source of the return code.
Parent topic: CA Mandatory APIs