/optee_test-3.20.0/host/xtest/ |
A D | regression_6000.c | 441 TEEC_Session sess = { }; in check_storage_available() local 456 fs_unlink(&sess, obj); in check_storage_available() 470 TEEC_CloseSession(&sess); in check_storage_available() 542 TEEC_Session sess = { }; in test_truncate_file_length() local 611 TEEC_Session sess = { }; in test_extend_file_length() local 685 TEEC_Session sess = { }; in test_file_hole() local 769 TEEC_Session sess = { }; in xtest_tee_test_6001_single() local 817 TEEC_Session sess = { }; in xtest_tee_test_6002_single() local 878 fs_open(&sess, NULL, 0, in xtest_tee_test_6002_single() 894 TEEC_Session sess = { }; in xtest_tee_test_6003_single() local [all …]
|
A D | install_ta.c | 60 static void install_ta(TEEC_Session *sess, void *buf, size_t blen) in install_ta() argument 71 res = TEEC_InvokeCommand(sess, PTA_SECSTOR_TA_MGMT_BOOTSTRAP, &op, in install_ta() 78 static void install_file(TEEC_Session *sess, const char *dirname, in install_file() argument 86 install_ta(sess, ta, ta_size); in install_file() 90 static void install_dir(TEEC_Session *sess, const char *dirname) in install_dir() argument 108 install_file(sess, dirname, dent->d_name); in install_dir() 120 TEEC_Session sess = { }; in install_ta_runner_cmd_parser() local 127 res = TEEC_OpenSession(&ctx, &sess, &uuid, TEEC_LOGIN_PUBLIC, NULL, in install_ta_runner_cmd_parser() 142 install_dir(&sess, argv[i]); in install_ta_runner_cmd_parser() 144 install_file(&sess, NULL, argv[i]); in install_ta_runner_cmd_parser() [all …]
|
A D | stats.c | 86 TEEC_CloseSession(sess); in close_sess() 95 TEEC_Session sess = { }; in stat_pager() local 104 open_sess(&ctx, &sess); in stat_pager() 123 return close_sess(&ctx, &sess); in stat_pager() 129 TEEC_Session sess = { }; in stat_alloc() local 141 open_sess(&ctx, &sess); in stat_alloc() 196 return close_sess(&ctx, &sess); in stat_alloc() 202 TEEC_Session sess = { }; in stat_memleak() local 210 open_sess(&ctx, &sess); in stat_memleak() 224 TEEC_Session sess = { }; in stat_loaded_ta() local [all …]
|
A D | benchmark_1000.c | 43 TEEC_Session sess = { }; in run_test_with_args() local 46 res = xtest_teec_open_session(&sess, &storage_benchmark_ta_uuid, NULL, &orig); in run_test_with_args() 58 res = TEEC_InvokeCommand(&sess, cmd, &op, &orig); in run_test_with_args() 65 TEEC_CloseSession(&sess); in run_test_with_args()
|
A D | regression_8000.c | 702 static TEEC_Result enc_fs_km_self_test(TEEC_Session *sess) in enc_fs_km_self_test() argument 708 res = TEEC_InvokeCommand(sess, CMD_SELF_TESTS, &op, &org); in enc_fs_km_self_test() 741 TEEC_Session sess = { }; in xtest_tee_test_8002() local 744 res = xtest_teec_open_session(&sess, in xtest_tee_test_8002() 753 c, enc_fs_km_self_test(&sess))) in xtest_tee_test_8002() 757 TEEC_CloseSession(&sess); in xtest_tee_test_8002()
|
A D | sdp_basic.c | 56 TEEC_Session sess; member 193 TEEC_CloseSession(&ctx->sess); in finalize_tee_ctx() 220 teerc = TEEC_OpenSession(&ctx->ctx, &ctx->sess, uuid, in create_tee_ctx() 300 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in inject_sdp_data() 340 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in transform_sdp_data() 384 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in dump_sdp_data() 578 teerc = TEEC_InvokeCommand(&ctx->sess, TA_SDP_BASIC_CMD_INJECT, in invoke_out_of_bounds()
|
A D | hash_perf.c | 29 static TEEC_Session sess; variable 61 res = TEEC_OpenSession(&ctx, &sess, &uuid, TEEC_LOGIN_PUBLIC, NULL, in open_ta() 249 res = TEEC_InvokeCommand(&sess, TA_HASH_PERF_CMD_PROCESS, op, in run_test_once() 266 res = TEEC_InvokeCommand(&sess, TA_HASH_PERF_CMD_PREPARE_OP, &op, in prepare_op()
|
A D | aes_perf.c | 83 static TEEC_Session sess; variable 119 res = TEEC_OpenSession(&ctx, &sess, &uuid, TEEC_LOGIN_PUBLIC, NULL, in open_ta() 367 res = TEEC_InvokeCommand(&sess, cmd, &op, in prepare_key() 507 res = TEEC_InvokeCommand(&sess, cmd, in aes_perf_run_test()
|
/optee_test-3.20.0/host/xtest/gp/include/ |
A D | xml_timearithm_api.h | 638 TEEC_Session *sess, in Invoke_BigIntComputeExtendedGcd() argument 696 TEEC_Session *sess, in Invoke_BigIntConvertFromS32() argument 704 TEEC_Session *sess, in Invoke_BigIntConvertToS32() argument 725 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_BigIntGetBit() 747 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_BigIntGetBitCount() 763 TEEC_Session *sess, in Invoke_BigIntInitFMMContext() argument 788 TEEC_Session *sess, in Invoke_BigIntConvertFromFMM() argument 828 TEEC_Session *sess, in Invoke_BigIntIsProbablePrime() argument 844 TEEC_Session *sess, uint32_t cmd, in Invoke_BigIntRelativePrime() argument 928 TEEC_Session *sess, in Invoke_BigIntConvertToOctetString() argument [all …]
|
A D | xml_datastorage_api.h | 1258 TEEC_Session *sess, in Invoke_RenamePersistentObject() argument 1291 TEEC_Session *sess, in Invoke_AllocateTransientObject() argument 1402 TEEC_Session *sess, in Invoke_CloseAndDeletePersistentObject1() argument 1410 TEEC_Session *sess, in Invoke_CloseAndDeletePersistentObject() argument 1424 TEEC_Session *sess, in Invoke_CreatePersistentObject() argument 1526 TEEC_Session *sess, in Invoke_PopulateTransientObject() argument 1550 TEEC_Session *sess, in Invoke_CopyObjectAttributes1() argument 1586 TEEC_Session *sess, in Invoke_StartPersistentObjectEnumerator() argument 1707 TEEC_Session *sess, in Invoke_FreePersistentObjectEnumerator() argument 1739 TEEC_Session *sess, in GetObjectValueAttribute_helper() argument [all …]
|
A D | xml_internal_api.h | 302 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetPropertyAsXXX_withoutEnum() 345 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_MemCompare() 368 TEEC_Session *sess, uint32_t cmdId, in Invoke_SetInstanceData() argument 385 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_SetInstanceData() 409 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetInstanceData() 452 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_ProcessInvokeTAOpenSession() 468 TEEC_Session *sess, in Invoke_CheckMemoryAccessRight() argument 507 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_CheckMemoryAccessRight() 521 TEEC_Session *sess, in Invoke_AllocatePropertyEnumerator() argument 543 TEEC_Session *sess, in Invoke_StartPropertyEnumerator() argument [all …]
|
A D | xml_common_api.h | 114 Invoke_Simple_Function(ADBG_Case_t *c __unused, TEEC_Session *sess, in Invoke_Simple_Function() argument 120 return TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_Simple_Function() 136 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v1() 155 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v2() 176 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v3() 200 return TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_Simple_Function_v4() 214 TEEC_Session *sess, in GetObjectBufferAttribute_helper() argument 236 res = TEEC_AllocateSharedMemory(sess->ctx, &shm); in GetObjectBufferAttribute_helper() 249 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in GetObjectBufferAttribute_helper() 267 Invoke_GetObjectBufferAttribute(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_GetObjectBufferAttribute() argument [all …]
|
A D | xml_crypto_api.h | 3532 TEEC_Session *sess, in Invoke_StoreAttributeBuffer() argument 3544 res = TEEC_AllocateSharedMemory(sess->ctx, &shm); in Invoke_StoreAttributeBuffer() 3556 res = TEEC_InvokeCommand(sess, cmd, &op, &org); in Invoke_StoreAttributeBuffer() 3563 static TEEC_Result Invoke_InitRefAttribute(ADBG_Case_t *c, TEEC_Session *sess, in Invoke_InitRefAttribute() argument 3567 return Invoke_Simple_Function_v2(c, sess, cmd, attr, attr_id, in Invoke_InitRefAttribute() 3572 Macro_StoreRefAttribute(ADBG_Case_t *c, TEEC_Session *sess, uint32_t attr, in Macro_StoreRefAttribute() argument 3578 res = Invoke_StoreAttributeBuffer(c, sess, CMD_DS_StoreBuffer, in Macro_StoreRefAttribute() 3583 res = Invoke_InitRefAttribute(c, sess, CMD_DS_InitRefAttribute, in Macro_StoreRefAttribute()
|
/optee_test-3.20.0/ta/sims/ |
A D | ta_sims.c | 18 TEE_TASessionHandle sess; member 32 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in sims_open_ta_session() local 52 &sess, &ret_orig); in sims_open_ta_session() 57 ctx->sess = sess; in sims_open_ta_session() 71 context->sess = TEE_HANDLE_NULL; in sims_open_session() 82 TEE_TASessionHandle sess = ((struct sims_session *)ctx)->sess; in sims_close_session() local 84 if (sess != TEE_HANDLE_NULL) in sims_close_session() 85 TEE_CloseTASession(sess); in sims_close_session() 185 (void)TEE_InvokeTACommand(ctx->sess, TEE_TIMEOUT_INFINITE, in sims_entry_panic()
|
/optee_test-3.20.0/ta/os_test/ |
A D | attestation.c | 13 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_attestation() local 18 res = TEE_OpenTASession(&att_uuid, TEE_TIMEOUT_INFINITE, 0, NULL, &sess, in ta_entry_attestation() 22 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in ta_entry_attestation() 26 TEE_CloseTASession(sess); in ta_entry_attestation()
|
A D | os_test.c | 466 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in test_mem_access_right() local 527 &sess, &ret_orig); in test_mem_access_right() 548 TEE_CloseTASession(sess); in test_mem_access_right() 839 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_client_with_timeout() local 851 &sess, &ret_orig); in ta_entry_client_with_timeout() 871 TEE_CloseTASession(sess); in ta_entry_client_with_timeout() 882 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_client() local 905 &sess, &ret_orig); in ta_entry_client() 934 TEE_CloseTASession(sess); in ta_entry_client() 1065 &sess, &ret_orig); in ta_entry_ta2ta_memref() [all …]
|
/optee_test-3.20.0/ta/crypt/ |
A D | seed_rng_taf.c | 13 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in seed_rng_pool() local 29 &sess, &ret_orig); in seed_rng_pool() 35 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in seed_rng_pool() 44 TEE_CloseTASession(sess); in seed_rng_pool()
|
/optee_test-3.20.0/ta/sdp_basic/ |
A D | ta_sdp_basic.c | 251 static TEE_TASessionHandle sess = TEE_HANDLE_NULL; in cmd_invoke() local 255 if (sess == TEE_HANDLE_NULL) { in cmd_invoke() 257 &sess, &ret_orig); in cmd_invoke() 265 res = TEE_InvokeTACommand(sess, TEE_TIMEOUT_INFINITE, in cmd_invoke() 274 TEE_CloseTASession(sess); in cmd_invoke() 275 sess = TEE_HANDLE_NULL; in cmd_invoke() 285 static TEE_TASessionHandle sess = TEE_HANDLE_NULL; in cmd_invoke_pta() local 289 if (sess == TEE_HANDLE_NULL) { in cmd_invoke_pta() 291 &sess, &ret_orig); in cmd_invoke_pta() 308 TEE_CloseTASession(sess); in cmd_invoke_pta() [all …]
|
/optee_test-3.20.0/host/openssl/include/openssl/ |
A D | ssl.h | 960 int (*new_session_cb) (struct ssl_st *ssl, SSL_SESSION *sess); 961 void (*remove_session_cb) (struct ssl_ctx_st *ctx, SSL_SESSION *sess); 1227 SSL_SESSION *sess)); 1229 SSL_SESSION *sess); 1234 *sess)); 1236 SSL_SESSION *sess);
|