Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 193) sorted by relevance

12345678

/optee_os/lib/libutee/
A Dtee_api_objects.c40 TEE_Result res; in TEE_GetObjectInfo() local
68 return res; in TEE_GetObjectInfo1()
104 return res; in TEE_RestrictObjectUsage1()
140 return res; in TEE_GetObjectBufferAttribute()
187 return res; in TEE_GetObjectValueAttribute()
223 return res; in TEE_AllocateTransientObject()
292 return res; in TEE_PopulateTransientObject()
373 return res; in TEE_CopyObjectAttributes1()
391 return res; in TEE_GenerateKey()
427 return res; in TEE_OpenPersistentObject()
[all …]
A Dtee_api_property.c149 return res; in propget_get_property()
162 return res; in propget_get_property()
187 return res; in propget_get_property()
288 return res; in TEE_GetPropertyAsString()
316 return res; in TEE_GetPropertyAsBool()
341 return res; in TEE_GetPropertyAsU32()
367 return res; in TEE_GetPropertyAsBinaryBlock()
392 return res; in TEE_GetPropertyAsUUID()
417 return res; in TEE_GetPropertyAsIdentity()
513 return res; in TEE_GetPropertyName()
[all …]
A Dtee_api_operations.c36 TEE_Result res; in TEE_AllocateOperation() local
367 return res; in TEE_AllocateOperation()
443 if (res) in TEE_GetOperationInfoMultiple()
458 if (res) in TEE_GetOperationInfoMultiple()
467 if (res) in TEE_GetOperationInfoMultiple()
490 return res; in TEE_GetOperationInfoMultiple()
588 return res; in TEE_SetOperationKey()
712 return res; in TEE_SetOperationKey2()
829 return res; in TEE_DigestDoFinal()
1046 return res; in TEE_CipherUpdate()
[all …]
A Dtee_api.c169 if (res) in TEE_OpenTASession()
191 return res; in TEE_OpenTASession()
226 if (res) in TEE_InvokeTACommand()
244 return res; in TEE_InvokeTACommand()
251 return res; in TEE_InvokeTACommand()
308 return res; in TEE_CheckMemoryAccessRights()
350 if (res != TEE_SUCCESS && res != TEE_ERROR_CANCEL) in TEE_Wait()
353 return res; in TEE_Wait()
362 if (res != TEE_SUCCESS && res != TEE_ERROR_OVERFLOW) { in TEE_GetTAPersistentTime()
374 return res; in TEE_GetTAPersistentTime()
[all …]
/optee_os/core/tee/
A Dtee_ree_fs.c497 if (res) in open_dirh()
523 if (res) in open_dirh()
535 if (res) in commit_dirh_writes()
649 if (res) in ree_fs_open()
680 if (res) in set_name()
684 if (res) in set_name()
721 if (res) in ree_fs_create()
725 if (res) in ree_fs_create()
729 if (res) in ree_fs_create()
754 if (res) in ree_fs_create()
[all …]
A Dtee_fs_key_manager.c53 return res; in do_hmac()
71 return res; in do_hmac()
96 return res; in tee_fs_fek_crypt()
107 return res; in tee_fs_fek_crypt()
112 return res; in tee_fs_fek_crypt()
131 return res; in tee_fs_fek_crypt()
152 return res; in tee_fs_init_key_manager()
164 return res; in tee_fs_generate_fek()
203 return res; in aes_ecb()
224 return res; in essiv()
[all …]
A Dfs_htree.c118 return res; in rpc_read()
122 return res; in rpc_read()
156 return res; in rpc_write()
192 return res; in traverse_post_order()
196 return res; in traverse_post_order()
501 return res; in authenc_init()
521 return res; in authenc_decrypt_final()
541 return res; in authenc_encrypt_final()
577 return res; in verify_node()
592 return res; in verify_tree()
[all …]
A Dtee_svc_storage.c144 if (res) in tee_svc_storage_read_head()
161 return res; in tee_svc_storage_read_head()
246 return res; in syscall_storage_obj_open()
262 if (res) in tee_svc_storage_init_file()
265 if (res) in tee_svc_storage_init_file()
271 if (res) in tee_svc_storage_init_file()
300 if (!res) in tee_svc_storage_init_file()
304 return res; in tee_svc_storage_init_file()
402 return res; in syscall_storage_obj_create()
506 if (res) in syscall_storage_obj_rename()
[all …]
A Dtadb.c117 if (!res) in ta_operation_open()
165 if (!res) in set_file()
232 if (res) in tadb_open()
287 if (res) in tadb_authenc_init()
293 if (res) in tadb_authenc_init()
387 if (res) in tee_tadb_ta_create()
397 if (res) in tee_tadb_ta_create()
407 if (res) in tee_tadb_ta_create()
416 if (res) in tee_tadb_ta_create()
420 if (res) in tee_tadb_ta_create()
[all …]
A Dtee_rpmb_fs.c382 if (res) in tee_rpmb_mac_calc()
620 res = in tee_rpmb_req_pack()
700 if (res) in tee_rpmb_data_cpy_mac_calc()
1156 res); in tee_rpmb_init()
1613 if (res) in fat_entry_dir_init()
1617 if (res) in fat_entry_dir_init()
1646 if (res) in fat_entry_dir_init()
2120 res = in rpmb_fs_setup()
2184 if (res) in read_fat()
2248 if (res) in read_fat()
[all …]
A Dtee_svc_cryp.c585 return res; in op_attr_secret_value_to_user()
590 return res; in op_attr_secret_value_to_user()
877 return res; in get_user_u64_as_size_t()
901 return res; in syscall_cryp_obj_get_info()
918 return res; in syscall_cryp_obj_restrict_usage()
1246 if (res) in tee_obj_set_type()
1332 return res; in syscall_cryp_obj_alloc()
1779 if (res) in tee_svc_obj_generate_key_rsa()
1907 if (res) in syscall_obj_generate_key()
2835 if (res) in get_sm2_kep_params()
[all …]
A Dtee_cryp_hkdf.c20 TEE_Result res; in hkdf_extract() local
33 if (res != TEE_SUCCESS) in hkdf_extract()
38 if (res) in hkdf_extract()
48 if (res != TEE_SUCCESS) in hkdf_extract()
52 if (res != TEE_SUCCESS) in hkdf_extract()
62 return res; in hkdf_extract()
89 if (res) in hkdf_expand()
141 return res; in hkdf_expand()
149 TEE_Result res; in tee_cryp_hkdf() local
156 return res; in tee_cryp_hkdf()
[all …]
A Dfs_dirfile.c62 if (!res) in set_file()
65 return res; in set_file()
94 return res; in read_dent()
107 return res; in write_dent()
123 if (res) in tee_fs_dirfile_open()
144 if (res) in tee_fs_dirfile_open()
191 if (!res) in tee_fs_dirfile_get_tmp()
214 if (res) in tee_fs_dirfile_find()
304 if (res) in tee_fs_dirfile_remove()
316 if (!res) in tee_fs_dirfile_remove()
[all …]
/optee_os/core/pta/tests/
A Dlockdep.c29 if (!res) in self_test_lockdep1()
34 if (res) in self_test_lockdep1()
39 if (res) in self_test_lockdep1()
44 if (res) in self_test_lockdep1()
49 if (res) in self_test_lockdep1()
54 if (res) in self_test_lockdep1()
59 if (res) in self_test_lockdep1()
65 if (!res) in self_test_lockdep1()
91 if (res) in self_test_lockdep2()
96 if (res) in self_test_lockdep2()
[all …]
A Dfs_htree.c110 return res; in test_read_init()
206 return res; in read_block()
234 return res; in do_range()
251 return res; in do_range_backwards()
392 return res; in htree_test_rewrite()
463 return res; in test_write_read()
479 CHECK_RES(res, return res); in test_corrupt_type()
521 if (!res) in test_corrupt_type()
541 if (res) { in test_corrupt_type()
550 return res; in test_corrupt_type()
[all …]
/optee_os/core/crypto/
A Drng_fortuna.c102 if (res) in key_from_data()
105 if (res) in key_from_data()
146 if (res) in crypto_rng_init()
149 if (res) in crypto_rng_init()
154 if (res) in crypto_rng_init()
158 if (res) in crypto_rng_init()
162 if (res) in crypto_rng_init()
165 if (res) in crypto_rng_init()
233 if (res) in add_event()
236 if (res) in add_event()
[all …]
/optee_os/core/lib/libtomcrypt/
A Dsm2-kep.c44 if (res) in sm2_kep_compute_Z()
48 if (res) in sm2_kep_compute_Z()
52 if (res) in sm2_kep_compute_Z()
56 if (res) in sm2_kep_compute_Z()
61 if (res) in sm2_kep_compute_Z()
66 if (res) in sm2_kep_compute_Z()
71 if (res) in sm2_kep_compute_Z()
76 if (res) in sm2_kep_compute_Z()
81 if (res) in sm2_kep_compute_Z()
86 if (res) in sm2_kep_compute_Z()
[all …]
A Dsm2-pke.c138 if (res) in sm2_ltc_pke_decrypt()
150 if (res) in sm2_ltc_pke_decrypt()
234 if (res) in sm2_ltc_pke_decrypt()
261 if (res) in sm2_ltc_pke_decrypt()
264 if (res) in sm2_ltc_pke_decrypt()
267 if (res) in sm2_ltc_pke_decrypt()
270 if (res) in sm2_ltc_pke_decrypt()
279 if (res) in sm2_ltc_pke_decrypt()
282 if (res) in sm2_ltc_pke_decrypt()
354 if (res) in sm2_ltc_pke_encrypt()
[all …]
/optee_os/ta/avb/
A Dentry.c46 if (!res) in open_rb_state()
89 if (res) in read_rb_idx()
93 if (res) in read_rb_idx()
97 if (res) in read_rb_idx()
101 if (res) in read_rb_idx()
145 if (res) in write_rb_idx()
150 if (res) in write_rb_idx()
154 if (res) in write_rb_idx()
158 if (res) in write_rb_idx()
169 if (res) in write_rb_idx()
[all …]
/optee_os/lib/libmbedtls/core/
A Dsm2-kep.c50 if (res) in sm2_kep_compute_Z()
54 if (res) in sm2_kep_compute_Z()
58 if (res) in sm2_kep_compute_Z()
62 if (res) in sm2_kep_compute_Z()
71 if (res) in sm2_kep_compute_Z()
80 if (res) in sm2_kep_compute_Z()
89 if (res) in sm2_kep_compute_Z()
98 if (res) in sm2_kep_compute_Z()
107 if (res) in sm2_kep_compute_Z()
116 if (res) in sm2_kep_compute_Z()
[all …]
A Dsm2-pke.c149 if (res) in sm2_mbedtls_pke_decrypt()
202 if (res) in sm2_mbedtls_pke_decrypt()
229 if (res) in sm2_mbedtls_pke_decrypt()
232 if (res) in sm2_mbedtls_pke_decrypt()
235 if (res) in sm2_mbedtls_pke_decrypt()
238 if (res) in sm2_mbedtls_pke_decrypt()
247 if (res) in sm2_mbedtls_pke_decrypt()
250 if (res) in sm2_mbedtls_pke_decrypt()
335 if (res) in sm2_mbedtls_pke_encrypt()
390 if (res) in sm2_mbedtls_pke_encrypt()
[all …]
/optee_os/core/kernel/
A Dree_fs_ta.c98 return res; in rpc_load()
124 return res; in rpc_load()
293 return res; in ree_fs_ta_open()
338 return res; in check_digest()
431 return res; in check_update_version()
469 if (res) in ree_fs_ta_read()
574 if (res) in buf_ta_open()
577 if (res) in buf_ta_open()
591 if (res) in buf_ta_open()
606 if (res) in buf_ta_open()
[all …]
/optee_os/ta/pkcs11/src/
A Dpersistent_token.c45 if (res) in open_db_file()
46 return res; in open_db_file()
60 if (res) { in update_persistent_db()
66 if (res) { in update_persistent_db()
83 if (res) in do_hash()
91 if (res) in do_hash()
378 if (res) in unregister_persistent_object()
402 if (res) in unregister_persistent_object()
442 if (res) in register_persistent_object()
446 if (res) in register_persistent_object()
[all …]
/optee_os/core/drivers/
A Dimx_sc_api.c133 if (res) in sc_ipc_read()
134 return res; in sc_ipc_read()
145 if (res) in sc_ipc_read()
146 return res; in sc_ipc_read()
176 if (res) in sc_ipc_write()
177 return res; in sc_ipc_write()
182 if (res) in sc_ipc_write()
209 return res; in sc_call_rpc()
231 return res; in sc_rm_get_partition()
269 return res; in sc_pm_set_resource_power_mode()
[all …]
/optee_os/ta/trusted_keys/
A Dentry.c75 if (res) in derive_unique_key()
109 if (res) in huk_ae_encrypt()
135 if (res) in huk_ae_decrypt()
141 if (res) in huk_ae_decrypt()
158 if (res) in huk_crypt()
169 if (res) in huk_crypt()
177 if (res) in huk_crypt()
181 if (res) in huk_crypt()
186 if (res) in huk_crypt()
307 if (res) in TA_OpenSessionEntryPoint()
[all …]

Completed in 95 milliseconds

12345678