To establish a connection between a CA and a TA, the TEEC_InitializeContext and TEEC_OpenSession functions are called to initialize the TEE context.