Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 39) sorted by relevance

12

/optee_test/ta/storage/
A Dstorage.c24 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_open() local
65 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_create() local
112 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_create_overwrite() local
164 TEE_Result res = TEE_SUCCESS; in ta_storage_cmd_read() local
188 TEE_Result res = TEE_SUCCESS; in ta_storage_cmd_write() local
209 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_seek() local
248 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_rename() local
292 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_alloc_enum() local
342 TEE_Result res = TEE_SUCCESS; in ta_storage_cmd_next_enum() local
515 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_cmd_loop() local
[all …]
/optee_test/host/xtest/
A Dregression_4100.c991 bool res = false; in do_addsub() local
1212 bool res = false; in do_mul() local
1316 bool res = false; in do_div() local
1466 const char *res; member
1616 bool res = false; in test_4109_mod() local
1807 bool res = false; in test_4110_mod() local
1881 bool res = false; in test_4110_fmm() local
2001 const char *res; member
2031 bool res = false; in test_4111_invmod() local
2198 bool res = false; in test_4112_is_prime() local
[all …]
A Dxtest_helpers.c47 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_allocate_operation() local
79 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_allocate_transient_object() local
198 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_populate_transient_object() local
234 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_set_operation_key() local
261 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_free_transient_object() local
286 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_derive_key() local
327 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_get_object_buffer_attribute() local
359 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_free_operation() local
382 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_is_algo_supported() local
A Dxtest_uuid_helpers.c28 static uint32_t parse_hex(const char *s, size_t nchars, uint32_t *res) in parse_hex()
49 TEEC_Result res = TEEC_SUCCESS; in xtest_uuid_from_str() local
89 TEEC_Result res = TEEC_SUCCESS; in xtest_uuid_v5() local
A Dstats.c60 TEEC_Result res = TEEC_ERROR_GENERIC; in open_sess() local
87 TEEC_Result res = TEEC_ERROR_GENERIC; in stat_pager() local
121 TEEC_Result res = TEEC_ERROR_GENERIC; in stat_alloc() local
194 TEEC_Result res = TEEC_ERROR_GENERIC; in stat_memleak() local
A Dsha_perf.c37 static void errx(const char *msg, TEEC_Result res, uint32_t *orig) in errx()
46 static void check_res(TEEC_Result res, const char *errmsg, uint32_t *orig) in check_res()
54 TEEC_Result res = TEEC_ERROR_GENERIC; in open_ta() local
150 TEEC_Result res = TEEC_ERROR_GENERIC; in alloc_shm() local
221 TEEC_Result res = TEEC_ERROR_GENERIC; in run_test_once() local
238 TEEC_Result res = TEEC_ERROR_GENERIC; in prepare_op() local
A Daes_perf.c95 static void errx(const char *msg, TEEC_Result res, uint32_t *orig) in errx()
104 static void check_res(TEEC_Result res, const char *errmsg, uint32_t *orig) in check_res()
112 TEEC_Result res = TEEC_ERROR_GENERIC; in open_ta() local
234 TEEC_Result res = TEEC_RegisterSharedMemoryFileDescriptor(&ctx, shm, fd); in register_shm() local
242 TEEC_Result res = TEEC_ERROR_GENERIC; in allocate_shm() local
354 TEEC_Result res = TEEC_ERROR_GENERIC; in prepare_key() local
487 TEEC_Result res = TEEC_ERROR_GENERIC; in aes_perf_run_test() local
A Dregression_1000.c235 TEEC_Result res = TEEC_ERROR_GENERIC; in xtest_tee_test_1001() local
256 TEEC_Result res = TEEC_ERROR_GENERIC; in xtest_tee_test_1002() local
300 TEEC_Result res; member
356 TEEC_Result res = TEEC_ERROR_GENERIC; in xtest_tee_test_1003() local
624 TEEC_Result res = TEEC_ERROR_GENERIC; in load_corrupt_ta() local
1037 TEEC_Result res; member
2221 TEEC_Result res = TEEC_SUCCESS; in xtest_tee_test_1029() local
2338 TEEC_Result res = TEEC_SUCCESS; in xtest_tee_test_1032() local
2495 TEEC_Result res = TEEC_SUCCESS; in xtest_tee_test_1034() local
2545 TEEC_Result res; in get_cpu_feature() local
[all …]
A Dregression_2000.c37 TEE_Result res = TEE_ERROR_GENERIC; in socket_tcp_open() local
67 TEE_Result res = TEE_ERROR_GENERIC; in socket_udp_open() local
97 TEE_Result res = TEE_ERROR_GENERIC; in socket_send() local
121 TEE_Result res = TEE_ERROR_GENERIC; in socket_recv() local
144 TEE_Result res = TEE_ERROR_GENERIC; in socket_get_error() local
178 TEE_Result res = TEE_ERROR_GENERIC; in socket_ioctl() local
418 TEE_Result res = TEE_ERROR_GENERIC; in xtest_tee_test_2002_thread() local
603 TEE_Result res = TEE_ERROR_GENERIC; in xtest_tee_test_2003() local
A Dinstall_ta.c62 TEEC_Result res = TEEC_ERROR_GENERIC; in install_ta() local
116 TEEC_Result res = TEEC_ERROR_GENERIC; in install_ta_runner_cmd_parser() local
A Dregression_6000.c105 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_open() local
132 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_create() local
160 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_create_overwrite() local
192 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_read() local
293 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_alloc_enum() local
310 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_reset_enum() local
390 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_alloc_obj() local
1864 TEEC_Result res = TEEC_ERROR_GENERIC; in fs_access_with_bad_object_id_ref() local
1934 TEEC_Result res = TEEC_ERROR_GENERIC; in xtest_tee_test_6020_single() local
A Dbenchmark_1000.c42 TEEC_Result res = TEEC_ERROR_GENERIC; in run_test_with_args() local
79 TEE_Result res = TEEC_ERROR_GENERIC; in run_chunk_access_test() local
A Dregression_4000.c30 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_reset_operation() local
52 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_copy_operation() local
79 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_digest_update() local
108 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_digest_do_final() local
145 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_set_operation_key2() local
175 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_mac_init() local
207 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_mac_update() local
239 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_mac_final_compute() local
278 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_mac_final_compare() local
310 TEEC_Result res = TEEC_ERROR_GENERIC; in ta_crypt_cmd_cipher_init() local
[all …]
/optee_test/ta/aes_perf/
A Dta_aes_perf.c16 #define CHECK(res, name, action) do { \ argument
34 TEE_Result res = TEE_ERROR_GENERIC; in is_inbuf_a_secure_memref() local
51 TEE_Result res = TEE_ERROR_GENERIC; in is_outbuf_a_secure_memref() local
69 TEE_Result res = TEE_ERROR_GENERIC; in flush_memref_buffer() local
87 TEE_Result res = TEE_ERROR_GENERIC; in cmd_process() local
172 TEE_Result res = TEE_ERROR_GENERIC; in cmd_prepare_key() local
/optee_test/ta/storage_benchmark/
A Dbenchmark.c68 TEE_Result res = TEE_SUCCESS; in prepare_test_file() local
111 TEE_Result res = TEE_SUCCESS; in test_write() local
151 TEE_Result res = TEE_SUCCESS; in test_read() local
194 TEE_Result res = TEE_SUCCESS; in test_rewrite() local
257 TEE_Result res = TEE_ERROR_GENERIC; in verify_file_data() local
301 TEE_Result res = TEE_ERROR_GENERIC; in ta_stroage_benchmark_chunk_access_test() local
395 TEE_Result res = TEE_ERROR_GENERIC; in ta_storage_benchmark_cmd_handler() local
/optee_test/ta/os_test/
A Dos_test.c74 TEE_Result res = TEE_ERROR_GENERIC; in get_binblock_property() local
108 TEE_Result res = TEE_ERROR_GENERIC; in print_properties() local
375 TEE_Result res = TEE_ERROR_GENERIC; in test_properties() local
459 TEE_Result res = TEE_ERROR_GENERIC; in test_mem_access_right() local
552 TEE_Result res = TEE_ERROR_GENERIC; in test_time() local
776 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_basic() local
836 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_client_with_timeout() local
877 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_client() local
938 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_params_access_rights() local
965 TEE_Result res = TEE_SUCCESS; in ta_entry_wait() local
[all …]
/optee_test/ta/crypt/
A Dcryp_taf.c23 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_allocate_operation() local
268 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_allocate_transient_object() local
318 TEE_Result res = TEE_SUCCESS; in unpack_attrs() local
377 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_populate_transient_object() local
413 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_generate_key() local
435 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_asymmetric_encrypt() local
460 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_asymmetric_decrypt() local
486 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_asymmetric_sign_digest() local
512 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_asymmetric_verify_digest() local
538 TEE_Result res = TEE_ERROR_GENERIC; in ta_entry_derive_key() local
[all …]
A Dderive_key_taf.c26 TEE_Result res = TEE_ERROR_GENERIC; in derive_unique_key() local
54 TEE_Result res = TEE_ERROR_GENERIC; in derive_ta_unique_key_test() local
192 TEE_Result res = TEE_ERROR_GENERIC; in derive_ta_unique_key_test_shm() local
A Dmbedtls_taf.c69 TEE_Result res = TEE_SUCCESS; in ta_entry_mbedtls_check_cert() local
203 TEE_Result res = TEE_SUCCESS; in ta_entry_mbedtls_sign_cert() local
/optee_test/ta/sha_perf/
A Dta_sha_perf.c15 #define CHECK(res, name, action) do { \ argument
26 TEE_Result res = TEE_ERROR_GENERIC; in cmd_process() local
57 TEE_Result res = TEE_ERROR_GENERIC; in cmd_prepare_op() local
/optee_test/host/xtest/gp/include/
A Dxml_crypto_api.h1546 TEEC_Result res; in Invoke_Crypto_AEUpdate_for_decryption() local
1610 TEEC_Result res; in Invoke_Crypto_AEUpdateAAD() local
1651 TEEC_Result res; in Invoke_Crypto_AEEncryptFinal() local
1747 TEEC_Result res; in Invoke_Crypto_AEDecryptFinal() local
1835 TEEC_Result res; in Invoke_Crypto_GenerateRandom() local
1891 TEEC_Result res; in Invoke_Crypto_DigestUpdate() local
1922 TEEC_Result res; in Invoke_Crypto_DigestDoFinal() local
1990 TEEC_Result res; in Invoke_Crypto_AsymmetricSignDigest() local
2055 TEEC_Result res; in Invoke_Crypto_AsymmetricVerifyDigest() local
2115 TEEC_Result res; in Invoke_Crypto_AsymmetricEncrypt() local
[all …]
A Dxml_internal_api.h265 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_GetPropertyAsXXX_withoutEnum() local
322 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_MemCompare() local
361 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_SetInstanceData() local
386 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_GetInstanceData() local
421 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_ProcessInvokeTAOpenSession() local
463 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_CheckMemoryAccessRight() local
515 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_AllocatePropertyEnumerator() local
555 TEEC_Result res = TEE_ERROR_NOT_SUPPORTED; in Invoke_GetPropertyName() local
644 TEEC_Result res = TEEC_SUCCESS; in Invoke_OpenTASession() local
686 TEEC_Result res = TEEC_SUCCESS; in Invoke_InvokeTACommand() local
[all …]
/optee_test/ta/supp_plugin/
A Dta_entry.c47 TEE_Result res = TEE_ERROR_GENERIC; in pass_values() local
75 TEE_Result res = TEE_ERROR_GENERIC; in write_array() local
97 TEE_Result res = TEE_ERROR_GENERIC; in get_array() local
/optee_test/ta/bti_test/
A Dta_entry.c45 TEE_Result res = TEE_ERROR_GENERIC; in check_bti_implemented() local
83 TEE_Result res = TEE_SUCCESS; in TA_InvokeCommandEntryPoint() local
/optee_test/ta/rpc_test/
A Dta_rpc.c20 TEE_Result res = TEE_ERROR_GENERIC; in rpc_call_cryp() local
138 TEE_Result res = TEE_ERROR_GENERIC; in rpc_open() local

Completed in 68 milliseconds

12