Lines Matching refs:TeecContext
96 TEEC_Context TeecContext; in trusty_base_write_security_data() local
114 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_base_write_security_data()
131 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_base_write_security_data()
146 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_base_write_security_data()
157 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in trusty_base_write_security_data()
185 TEEC_FinalizeContext(&TeecContext); in trusty_base_write_security_data()
196 TEEC_Context TeecContext; in trusty_base_read_security_data() local
215 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_base_read_security_data()
232 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_base_read_security_data()
247 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_base_read_security_data()
258 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in trusty_base_read_security_data()
283 TEEC_FinalizeContext(&TeecContext); in trusty_base_read_security_data()
291 TEEC_Context TeecContext; in trusty_base_end_security_data() local
303 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_base_end_security_data()
307 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_base_end_security_data()
330 TEEC_FinalizeContext(&TeecContext); in trusty_base_end_security_data()
418 TEEC_Context TeecContext; in trusty_base_end_efuse_or_otp() local
431 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_base_end_efuse_or_otp()
435 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_base_end_efuse_or_otp()
458 TEEC_FinalizeContext(&TeecContext); in trusty_base_end_efuse_or_otp()
469 TEEC_Context TeecContext; in trusty_base_efuse_or_otp_operation() local
482 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_base_efuse_or_otp_operation()
486 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_base_efuse_or_otp_operation()
501 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_base_efuse_or_otp_operation()
535 TEEC_FinalizeContext(&TeecContext); in trusty_base_efuse_or_otp_operation()
639 TEEC_Context TeecContext; in trusty_write_oem_ns_otp() local
652 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_write_oem_ns_otp()
656 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_write_oem_ns_otp()
673 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem); in trusty_write_oem_ns_otp()
696 TEEC_FinalizeContext(&TeecContext); in trusty_write_oem_ns_otp()
704 TEEC_Context TeecContext; in trusty_read_oem_ns_otp() local
717 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_read_oem_ns_otp()
721 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_read_oem_ns_otp()
738 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem); in trusty_read_oem_ns_otp()
762 TEEC_FinalizeContext(&TeecContext); in trusty_read_oem_ns_otp()
771 TEEC_Context TeecContext; in trusty_write_oem_otp_key() local
784 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_write_oem_otp_key()
788 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_write_oem_otp_key()
805 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem); in trusty_write_oem_otp_key()
828 TEEC_FinalizeContext(&TeecContext); in trusty_write_oem_otp_key()
836 TEEC_Context TeecContext; in trusty_oem_otp_key_is_written() local
851 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_oem_otp_key_is_written()
855 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_oem_otp_key_is_written()
880 TEEC_FinalizeContext(&TeecContext); in trusty_oem_otp_key_is_written()
888 TEEC_Context TeecContext; in trusty_set_oem_hr_otp_read_lock() local
901 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_set_oem_hr_otp_read_lock()
905 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_set_oem_hr_otp_read_lock()
931 TEEC_FinalizeContext(&TeecContext); in trusty_set_oem_hr_otp_read_lock()
941 TEEC_Context TeecContext; in trusty_oem_otp_key_cipher() local
992 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_oem_otp_key_cipher()
996 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_oem_otp_key_cipher()
1007 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem_config); in trusty_oem_otp_key_cipher()
1036 TEEC_FinalizeContext(&TeecContext); in trusty_oem_otp_key_cipher()
1043 TEEC_Context TeecContext; in trusty_attest_dh() local
1064 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_attest_dh()
1082 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_attest_dh()
1097 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_attest_dh()
1121 TEEC_FinalizeContext(&TeecContext); in trusty_attest_dh()
1129 TEEC_Context TeecContext; in trusty_attest_uuid() local
1150 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_attest_uuid()
1168 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_attest_uuid()
1183 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_attest_uuid()
1207 TEEC_FinalizeContext(&TeecContext); in trusty_attest_uuid()
1218 TEEC_Context TeecContext; in trusty_attest_get_ca() local
1241 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_attest_get_ca()
1259 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_attest_get_ca()
1274 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_attest_get_ca()
1288 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem1); in trusty_attest_get_ca()
1313 TEEC_FinalizeContext(&TeecContext); in trusty_attest_get_ca()
1321 TEEC_Context TeecContext; in trusty_attest_set_ca() local
1341 TeecResult = TEEC_InitializeContext(NULL, &TeecContext); in trusty_attest_set_ca()
1359 TeecResult = TEEC_OpenSession(&TeecContext, in trusty_attest_set_ca()
1374 TeecResult = TEEC_AllocateSharedMemory(&TeecContext, &SharedMem0); in trusty_attest_set_ca()
1397 TEEC_FinalizeContext(&TeecContext); in trusty_attest_set_ca()