Home
last modified time | relevance | path

Searched refs:TEEC_SUCCESS (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/u-boot/lib/optee_clientApi/
H A DOpteeClientInterface.c111 if (TeecResult != TEEC_SUCCESS) in trusty_base_write_security_data()
115 if (TeecResult != TEEC_SUCCESS) in trusty_base_write_security_data()
138 if (TeecResult != TEEC_SUCCESS) in trusty_base_write_security_data()
147 if (TeecResult != TEEC_SUCCESS) in trusty_base_write_security_data()
158 if (TeecResult != TEEC_SUCCESS) in trusty_base_write_security_data()
179 if (TeecResult != TEEC_SUCCESS) in trusty_base_write_security_data()
212 if (TeecResult != TEEC_SUCCESS) in trusty_base_read_security_data()
216 if (TeecResult != TEEC_SUCCESS) in trusty_base_read_security_data()
239 if (TeecResult != TEEC_SUCCESS) in trusty_base_read_security_data()
248 if (TeecResult != TEEC_SUCCESS) in trusty_base_read_security_data()
[all …]
H A DOpteeClientApiLib.c103 TEEC_Result status = TEEC_SUCCESS; in OpteeClientApiLibInitialize()
106 return TEEC_SUCCESS; in OpteeClientApiLibInitialize()
113 if (status != TEEC_SUCCESS) { in OpteeClientApiLibInitialize()
118 if (status != TEEC_SUCCESS) { in OpteeClientApiLibInitialize()
125 return TEEC_SUCCESS; in OpteeClientApiLibInitialize()
140 TEEC_Result teecresult = TEEC_SUCCESS; in TEEC_InitializeContext()
197 return TEEC_SUCCESS; in TEEC_FinalizeContext()
210 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_AllocateSharedMemory()
282 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_RegisterSharedMemory()
306 if (TeecResult != TEEC_SUCCESS) in TEEC_RegisterSharedMemory()
[all …]
H A DOpteeClientSMC.c50 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_OpenSession()
121 if (TeecResult != TEEC_SUCCESS) in TEEC_SMC_OpenSession()
151 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_CloseSession()
177 if (TeecResult != TEEC_SUCCESS) in TEEC_SMC_CloseSession()
198 TEEC_Result TeecResult = TEEC_SUCCESS; in TEEC_SMC_InvokeCommand()
230 if (TeecResult != TEEC_SUCCESS) in TEEC_SMC_InvokeCommand()
331 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeSmcCall()
351 TeecResult = TEEC_SUCCESS; in OpteeSmcCall()
H A DOpteeClientRPC.c31 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcAlloc()
54 return TEEC_SUCCESS; in OpteeRpcFree()
83 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadTa()
154 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdLoadV2Ta()
200 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdFreeTa()
251 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdRpmb()
349 TeecResult = TEEC_SUCCESS; in OpteeRpcCmdRpmb()
514 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCmdFs()
521 TeeSmc32Arg->ret = TEEC_SUCCESS; in OpteeRpcCmdFs()
552 TEEC_Result TeecResult = TEEC_SUCCESS; in OpteeRpcCallback()
H A DOpteeClientRkNewFs_v1.c555 return TEEC_SUCCESS; in rkss_verify_ptable()
582 return TEEC_SUCCESS; in rkss_verify_usedflags()
586 return TEEC_SUCCESS; in rkss_verify_usedflags()
617 return TEEC_SUCCESS; in rkss_get_fileinfo_by_index()
835 return TEEC_SUCCESS; in rkss_incref_multi_usedflags_sections()
870 return TEEC_SUCCESS; in rkss_decref_multi_usedflags_sections()
958 return TEEC_SUCCESS; in rkss_write_back_ptable()
990 return TEEC_SUCCESS; in ree_fs_new_open()
1062 return TEEC_SUCCESS; in ree_fs_new_create()
1071 return TEEC_SUCCESS; in ree_fs_new_close()
[all …]
H A DOpteeClientRkNewFs_v2.c902 return TEEC_SUCCESS; in ree_fs_new_open()
962 return TEEC_SUCCESS; in ree_fs_new_create()
971 return TEEC_SUCCESS; in ree_fs_new_close()
1024 return TEEC_SUCCESS; in ree_fs_new_read()
1121 return TEEC_SUCCESS; in ree_fs_new_write()
1162 return TEEC_SUCCESS; in ree_fs_new_truncate()
1206 return TEEC_SUCCESS; in ree_fs_new_remove()
1251 return TEEC_SUCCESS; in ree_fs_new_rename()
1276 return TEEC_SUCCESS; in ree_fs_new_opendir()
1290 return TEEC_SUCCESS; in ree_fs_new_closedir()
[all …]
/OK3568_Linux_fs/u-boot/cmd/
H A Doptee.c34 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_default()
38 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_default()
58 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
69 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
84 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
106 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
117 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
132 if (TeecResult != TEEC_SUCCESS) { in test_secure_storage_default()
174 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_security_partition()
178 if (TeecResult != TEEC_SUCCESS) in test_secure_storage_security_partition()
[all …]
/OK3568_Linux_fs/external/security/librkcrypto/src/
H A Drkcrypto_otp_key.c25 {TEEC_SUCCESS, RK_CRYPTO_SUCCESS},
86 if (res != TEEC_SUCCESS) { in rk_write_oem_otp_key()
93 if (res != TEEC_SUCCESS) { in rk_write_oem_otp_key()
110 if (res != TEEC_SUCCESS) { in rk_write_oem_otp_key()
138 if (res != TEEC_SUCCESS) { in rk_oem_otp_key_is_written()
145 if (res != TEEC_SUCCESS) { in rk_oem_otp_key_is_written()
162 } else if (res != TEEC_SUCCESS) { in rk_oem_otp_key_is_written()
191 if (res != TEEC_SUCCESS) { in rk_set_oem_hr_otp_read_lock()
198 if (res != TEEC_SUCCESS) { in rk_set_oem_hr_otp_read_lock()
213 if (res != TEEC_SUCCESS) { in rk_set_oem_hr_otp_read_lock()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/rk_test/
H A Drktest.c46 TEEC_Result res = TEEC_SUCCESS; in invoke_transfer_data()
57 if (res != TEEC_SUCCESS) { in invoke_transfer_data()
78 if (res != TEEC_SUCCESS) { in invoke_transfer_data()
112 TEEC_Result res = TEEC_SUCCESS; in test_storage_speed()
134 if (res != TEEC_SUCCESS) { in test_storage_speed()
146 TEEC_Result res = TEEC_SUCCESS; in invoke_storage_speed()
152 if (res != TEEC_SUCCESS) in invoke_storage_speed()
238 if (res != TEEC_SUCCESS) { in invoke_secstor_ta()
275 TEEC_Result res = TEEC_SUCCESS; in invoke_otp_ns_read()
290 if (res != TEEC_SUCCESS) { in invoke_otp_ns_read()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/
H A Dregression_5000.c100 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_In()
124 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_out_of_memory()
147 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in OpenSession_error_notExistingTA()
151 ADBG_EXPECT_COMPARE_UNSIGNED(cs->c, TEEC_SUCCESS, !=, in OpenSession_error_notExistingTA()
171 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_InOut()
195 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_In()
221 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_notZeroLength_Out()
247 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_InOut()
272 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Register_zeroLength_Out()
296 if (!ADBG_EXPECT(cs->c, TEEC_SUCCESS, in Allocate_Out()
[all …]
H A Dxtest_helpers.c62 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_allocate_operation()
67 if (res == TEEC_SUCCESS) in ta_crypt_cmd_allocate_operation()
92 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_allocate_transient_object()
97 if (res == TEEC_SUCCESS) in ta_crypt_cmd_allocate_transient_object()
221 if (res != TEEC_SUCCESS && res != TEEC_ERROR_TARGET_DEAD) { in ta_crypt_cmd_populate_transient_object()
250 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_set_operation_key()
273 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_free_transient_object()
312 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_derive_key()
345 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_get_object_buffer_attribute()
350 if (res == TEEC_SUCCESS) in ta_crypt_cmd_get_object_buffer_attribute()
[all …]
H A Dsdp_basic.c182 if (teerc != TEEC_SUCCESS) in create_tee_ctx()
187 if (teerc != TEEC_SUCCESS) { in create_tee_ctx()
194 return (teerc == TEEC_SUCCESS) ? 0 : -1; in create_tee_ctx()
207 if (teerc != TEEC_SUCCESS) { in tee_register_buffer()
266 if (teerc != TEEC_SUCCESS) in inject_sdp_data()
270 return (teerc == TEEC_SUCCESS) ? 0 : -1; in inject_sdp_data()
306 if (teerc != TEEC_SUCCESS) in transform_sdp_data()
310 return (teerc == TEEC_SUCCESS) ? 0 : -1; in transform_sdp_data()
350 if (teerc != TEEC_SUCCESS) in dump_sdp_data()
354 return (teerc == TEEC_SUCCESS) ? 0 : -1; in dump_sdp_data()
H A Dxtest_uuid_helpers.c49 TEEC_Result res = TEEC_SUCCESS; in xtest_uuid_from_str()
89 TEEC_Result res = TEEC_SUCCESS; in xtest_uuid_v5()
H A Dregression_4000.c40 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_reset_operation()
67 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_copy_operation()
94 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_digest_update()
128 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_digest_do_final()
133 if (res == TEEC_SUCCESS) in ta_crypt_cmd_digest_do_final()
163 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_set_operation_key2()
195 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_mac_init()
223 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_mac_update()
259 if (res != TEEC_SUCCESS) { in ta_crypt_cmd_mac_final_compute()
264 if (res == TEEC_SUCCESS) in ta_crypt_cmd_mac_final_compute()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v1/host/rk_test/
H A Drktest.c18 TEEC_Result res = TEEC_SUCCESS; in invoke_transfer_data()
29 if (res != TEEC_SUCCESS) { in invoke_transfer_data()
49 if (res != TEEC_SUCCESS) { in invoke_transfer_data()
83 TEEC_Result res = TEEC_SUCCESS; in test_storage_speed()
105 if (res != TEEC_SUCCESS) { in test_storage_speed()
117 TEEC_Result res = TEEC_SUCCESS; in invoke_storage_speed()
123 if (res != TEEC_SUCCESS) in invoke_storage_speed()
189 TEEC_Result res = TEEC_SUCCESS; in rk_test()
197 if (res != TEEC_SUCCESS) { in rk_test()
205 if (res != TEEC_SUCCESS) { in rk_test()
[all …]
/OK3568_Linux_fs/u-boot/common/
H A Dwrite_keybox.c144 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
147 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
167 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
173 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
180 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
187 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
208 if (TeecResult != TEEC_SUCCESS) in rk_send_keybox_to_ta()
276 if (ret == TEEC_SUCCESS) { in write_keybox_to_secure_storage()
307 if (ret == TEEC_SUCCESS) { in write_keybox_to_secure_storage()
330 if (ret == TEEC_SUCCESS) in write_keybox_to_secure_storage()
[all …]
/OK3568_Linux_fs/buildroot/package/rockchip/tee-user-app/extra_app/host/
H A Dmain.c100 TEEC_Result res = TEEC_SUCCESS; in process_key()
110 if (res != TEEC_SUCCESS) { in process_key()
118 if (res != TEEC_SUCCESS) { in process_key()
131 if (res != TEEC_SUCCESS) { in process_key()
145 if (res != TEEC_SUCCESS) { in process_key()
159 if (res != TEEC_SUCCESS) { in process_key()
175 if (res != TEEC_SUCCESS) { in process_key()
191 if (res != TEEC_SUCCESS) { in process_key()
212 if (res != TEEC_SUCCESS) { in process_key()
221 return (res == TEEC_SUCCESS) ? 0 : -1; in process_key()
/OK3568_Linux_fs/external/security/librkcrypto/third_party/optee_client/libteec/src/
H A Dtee_client_api.c176 return TEEC_SUCCESS; in TEEC_InitializeContext()
225 if (res != TEEC_SUCCESS) in teec_pre_process_tmpref()
232 if (res != TEEC_SUCCESS) in teec_pre_process_tmpref()
244 return TEEC_SUCCESS; in teec_pre_process_tmpref()
276 return TEEC_SUCCESS; in teec_pre_process_whole()
325 return TEEC_SUCCESS; in teec_pre_process_partial()
345 return TEEC_SUCCESS; in teec_pre_process_operation()
369 if (res != TEEC_SUCCESS) in teec_pre_process_operation()
376 if (res != TEEC_SUCCESS) in teec_pre_process_operation()
384 if (res != TEEC_SUCCESS) in teec_pre_process_operation()
[all …]
H A Dteec_benchmark.c70 if (res != TEEC_SUCCESS) in benchmark_pta_open()
76 if (res != TEEC_SUCCESS) { in benchmark_pta_open()
100 if (res != TEEC_SUCCESS) in benchmark_get_bench_buf_paddr()
108 if (res != TEEC_SUCCESS) in benchmark_get_bench_buf_paddr()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/supp_plugin/
H A Dtest_supp_plugin.c32 return TEEC_SUCCESS; in pass_values()
50 return TEEC_SUCCESS; in proc_input_arr()
66 return TEEC_SUCCESS; in get_test_arr()
75 return TEEC_SUCCESS; in test_plugin_invoke()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/gp/include/
H A Dxml_crypto_api.h1065 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_AllocateOperation()
1096 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_GetOperationInfo()
1133 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_GetOperationInfoMultiple()
1258 return TEEC_SUCCESS; in add_be32()
1265 TEEC_Result res = TEEC_SUCCESS; in add_attr()
1302 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_InitObjectWithKeys()
1445 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_AEInit()
1482 TEEC_Result res = TEEC_SUCCESS; in Invoke_Crypto_AEUpdate_for_encryption()
1517 if (res == TEEC_SUCCESS) { in Invoke_Crypto_AEUpdate_for_encryption()
1582 if (res == TEEC_SUCCESS) { in Invoke_Crypto_AEUpdate_for_decryption()
[all …]
H A Dxml_internal_api.h337 if (res != TEEC_SUCCESS) in Invoke_MemCompare()
401 if (res != TEEC_SUCCESS) in Invoke_GetInstanceData()
524 if (res != TEEC_SUCCESS) in Invoke_AllocatePropertyEnumerator()
578 if (res != TEEC_SUCCESS) in Invoke_GetPropertyName()
617 if (res != TEEC_SUCCESS) in Invoke_Panic()
644 TEEC_Result res = TEEC_SUCCESS; in Invoke_OpenTASession()
686 TEEC_Result res = TEEC_SUCCESS; in Invoke_InvokeTACommand()
708 TEEC_Result res = TEEC_SUCCESS; in Invoke_CloseTASession()
/OK3568_Linux_fs/kernel/drivers/tee/optee/
H A Drpc.c47 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_get_time()
127 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_i2c_transfer()
208 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_wq()
230 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_wait()
378 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_shm_alloc()
433 arg->ret = TEEC_SUCCESS; in handle_rpc_func_cmd_shm_free()
H A Ddevice.c44 if ((ret < 0) || ((inv_arg.ret != TEEC_SUCCESS) && in get_devices()
114 if ((rc < 0) || (sess_arg.ret != TEEC_SUCCESS)) { in __optee_enumerate_devices()
H A Dcall.c262 if (msg_arg->ret == TEEC_SUCCESS) { in optee_open_session()
654 msg_arg->ret != TEEC_SUCCESS) in optee_shm_register()
680 msg_arg->ret != TEEC_SUCCESS) in optee_shm_unregister()

12