/optee_test/host/xtest/ |
A D | regression_6000.c | 451 TEEC_Session sess = { }; in test_truncate_file_length() local 520 TEEC_Session sess = { }; in test_extend_file_length() local 594 TEEC_Session sess = { }; in test_file_hole() local 678 TEEC_Session sess = { }; in xtest_tee_test_6001_single() local 707 TEEC_Session sess = { }; in xtest_tee_test_6002_single() local 751 TEEC_Session sess = { }; in xtest_tee_test_6003_single() local 795 TEEC_Session sess = { }; in xtest_tee_test_6004_single() local 854 TEEC_Session sess = { }; in xtest_tee_test_6005_single() local 898 TEEC_Session sess = { }; in xtest_tee_test_6006_single() local 950 TEEC_Session sess = { }; in xtest_tee_test_6008_single() local [all …]
|
A D | stats.c | 57 static void open_sess(TEEC_Context *ctx, TEEC_Session *sess) in open_sess() argument 77 TEEC_CloseSession(sess); in close_sess() 86 TEEC_Session sess = { }; in stat_pager() local 95 open_sess(&ctx, &sess); in stat_pager() 114 return close_sess(&ctx, &sess); in stat_pager() 120 TEEC_Session sess = { }; in stat_alloc() local 132 open_sess(&ctx, &sess); in stat_alloc() 187 return close_sess(&ctx, &sess); in stat_alloc() 193 TEEC_Session sess = { }; in stat_memleak() local 201 open_sess(&ctx, &sess); in stat_memleak() [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 | 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 | sdp_basic.c | 58 TEEC_Session sess; member 158 TEEC_CloseSession(&ctx->sess); in finalize_tee_ctx() 185 teerc = TEEC_OpenSession(&ctx->ctx, &ctx->sess, uuid, in create_tee_ctx() 265 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in inject_sdp_data() 305 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in transform_sdp_data() 349 teerc = TEEC_InvokeCommand(&ctx->sess, cmd, &op, &err_origin); in dump_sdp_data() 543 teerc = TEEC_InvokeCommand(&ctx->sess, TA_SDP_BASIC_CMD_INJECT, in invoke_out_of_bounds()
|
A D | regression_8000.c | 700 static TEEC_Result enc_fs_km_self_test(TEEC_Session *sess) in enc_fs_km_self_test() argument 706 res = TEEC_InvokeCommand(sess, CMD_SELF_TESTS, &op, &org); in enc_fs_km_self_test() 739 TEEC_Session sess = { }; in xtest_tee_test_8002() local 742 res = xtest_teec_open_session(&sess, in xtest_tee_test_8002() 751 c, enc_fs_km_self_test(&sess))) in xtest_tee_test_8002() 755 TEEC_CloseSession(&sess); in xtest_tee_test_8002()
|
A D | sha_perf.c | 29 static TEEC_Session sess; variable 61 res = TEEC_OpenSession(&ctx, &sess, &uuid, TEEC_LOGIN_PUBLIC, NULL, in open_ta() 228 res = TEEC_InvokeCommand(&sess, TA_SHA_PERF_CMD_PROCESS, op, in run_test_once() 245 res = TEEC_InvokeCommand(&sess, TA_SHA_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() 364 res = TEEC_InvokeCommand(&sess, cmd, &op, in prepare_key() 504 res = TEEC_InvokeCommand(&sess, cmd, in aes_perf_run_test()
|
/optee_test/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 | 292 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetPropertyAsXXX_withoutEnum() 335 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_MemCompare() 358 TEEC_Session *sess, uint32_t cmdId, in Invoke_SetInstanceData() argument 375 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_SetInstanceData() 399 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_GetInstanceData() 442 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_ProcessInvokeTAOpenSession() 458 TEEC_Session *sess, in Invoke_CheckMemoryAccessRight() argument 497 res = TEEC_InvokeCommand(sess, cmdId, &op, &org); in Invoke_CheckMemoryAccessRight() 511 TEEC_Session *sess, in Invoke_AllocatePropertyEnumerator() argument 533 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/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/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/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/ta/os_test/ |
A D | os_test.c | 464 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in test_mem_access_right() local 525 &sess, &ret_orig); in test_mem_access_right() 546 TEE_CloseTASession(sess); in test_mem_access_right() 837 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_client_with_timeout() local 849 &sess, &ret_orig); in ta_entry_client_with_timeout() 869 TEE_CloseTASession(sess); in ta_entry_client_with_timeout() 880 TEE_TASessionHandle sess = TEE_HANDLE_NULL; in ta_entry_client() local 903 &sess, &ret_orig); in ta_entry_client() 932 TEE_CloseTASession(sess); in ta_entry_client() 1063 &sess, &ret_orig); in ta_entry_ta2ta_memref() [all …]
|
/optee_test/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);
|