/optee_os-3.20.0/lib/libutils/ext/ |
A D | fault_mitigation.c | 24 unsigned long steps, unsigned long res) in ___ftmn_return_res() 34 unsigned long steps, unsigned long res) in ___ftmn_expect_state() 45 unsigned long res) in ___ftmn_callee_done() 53 unsigned long res) in ___ftmn_callee_done_not_zero() 62 unsigned long my_hash, int res, in ___ftmn_callee_done_memcmp() 84 unsigned long res) in ___ftmn_callee_done_check() 100 unsigned long res) in ___ftmn_callee_update_not_zero() 111 unsigned long res) in ___ftmn_copy_linked_call_res() 120 unsigned long res) in ___ftmn_set_check_res() 128 unsigned long res) in ___ftmn_set_check_res_not_zero() [all …]
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_objects.c | 112 TEE_Result res; in TEE_RestrictObjectUsage1() local 210 TEE_Result res; in TEE_CloseObject() local 226 TEE_Result res; in TEE_AllocateTransientObject() local 397 TEE_Result res; in TEE_GenerateKey() local 418 TEE_Result res; in TEE_OpenPersistentObject() local 449 TEE_Result res; in TEE_CreatePersistentObject() local 484 TEE_Result res; in TEE_CloseAndDeletePersistentObject() local 497 TEE_Result res; in TEE_CloseAndDeletePersistentObject1() local 515 TEE_Result res; in TEE_RenamePersistentObject() local 538 TEE_Result res; in TEE_AllocatePersistentObjectEnumerator() local [all …]
|
A D | tee_api_operations.c | 36 TEE_Result res; in TEE_AllocateOperation() local 380 TEE_Result res; in TEE_FreeOperation() local 503 TEE_Result res; in TEE_ResetOperation() local 526 TEE_Result res; in TEE_SetOperationKey() local 602 TEE_Result res; in TEE_SetOperationKey2() local 725 TEE_Result res; in TEE_CopyOperation() local 778 TEE_Result res; in init_hash_operation() local 810 TEE_Result res; in TEE_DigestDoFinal() local 845 TEE_Result res; in TEE_CipherInit() local 885 TEE_Result res; in tee_buffer_update() local [all …]
|
A D | tee_tcpudp_socket.c | 23 TEE_Result res; in tcp_open() local 62 TEE_Result res; in udp_open() local 100 TEE_Result res; in sock_close() local 115 TEE_Result res; in sock_send() local 130 TEE_Result res; in sock_recv() local 155 TEE_Result res = TEE_ERROR_GENERIC; in tcp_ioctl() local 182 TEE_Result res = TEE_ERROR_GENERIC; in udp_ioctl() local
|
A D | tee_system_pta.c | 21 TEE_Result res = TEE_OpenTASession(&uuid, TEE_TIMEOUT_INFINITE, in invoke_system_pta() local 39 TEE_Result res = TEE_SUCCESS; in tee_map_zi() local 64 TEE_Result res = TEE_SUCCESS; in tee_unmap() local 85 TEE_Result res = TEE_SUCCESS; in tee_invoke_supp_plugin() local
|
A D | tee_api.c | 155 TEE_Result res = TEE_SUCCESS; in TEE_OpenTASession() local 197 TEE_Result res = _utee_close_ta_session((uintptr_t)session); in TEE_CloseTASession() local 210 TEE_Result res = TEE_SUCCESS; in TEE_InvokeTACommand() local 259 TEE_Result res = _utee_get_cancellation_flag(&c); in TEE_GetCancellationFlag() local 269 TEE_Result res = _utee_unmask_cancellation(&old_mask); in TEE_UnmaskCancellation() local 279 TEE_Result res = _utee_mask_cancellation(&old_mask); in TEE_MaskCancellation() local 291 TEE_Result res; in TEE_CheckMemoryAccessRights() local 348 TEE_Result res = _utee_wait(timeout); in TEE_Wait() local 358 TEE_Result res; in TEE_GetTAPersistentTime() local 379 TEE_Result res; in TEE_SetTAPersistentTime() local [all …]
|
A D | tee_socket_pta.c | 21 TEE_Result res = TEE_OpenTASession(&socket_uuid, in invoke_socket_pta() local 37 TEE_Result res; in __tee_socket_pta_open() local 96 TEE_Result res; in __tee_socket_pta_send() local 121 TEE_Result res; in __tee_socket_pta_recv() local 144 TEE_Result res; in __tee_socket_pta_ioctl() local
|
A D | tee_api_property.c | 138 TEE_Result res; in propget_get_property() local 194 TEE_Result res; in TEE_GetPropertyAsString() local 294 TEE_Result res; in TEE_GetPropertyAsBool() local 322 TEE_Result res; in TEE_GetPropertyAsU32() local 348 TEE_Result res; in TEE_GetPropertyAsBinaryBlock() local 373 TEE_Result res; in TEE_GetPropertyAsUUID() local 398 TEE_Result res; in TEE_GetPropertyAsIdentity() local 422 TEE_Result res; in TEE_AllocatePropertyEnumerator() local 476 TEE_Result res; in TEE_GetPropertyName() local 518 TEE_Result res; in TEE_GetNextProperty() local
|
/optee_os-3.20.0/core/tests/ |
A D | ftmn_boot_tests.c | 20 TEE_Result res = simple_call_func_res; in simple_call_func1() local 36 TEE_Result res = TEE_SUCCESS; in simple_call() local 83 TEE_Result res = TEE_SUCCESS; in two_level_call_memcmp() local 97 TEE_Result res = TEE_SUCCESS; in two_level_call() local 129 TEE_Result res = chained_call_memcmp2(s1, s2, n); in chained_call_memcmp1() local 146 TEE_Result res = TEE_SUCCESS; in chained_call_memcmp() local 166 TEE_Result res = TEE_SUCCESS; in chained_calls() local
|
/optee_os-3.20.0/core/tee/ |
A D | tee_ree_fs.c | 67 TEE_Result res; in out_of_place_write() local 221 TEE_Result res; in ree_fs_rpc_read_init() local 239 TEE_Result res; in ree_fs_rpc_write_init() local 262 TEE_Result res; in ree_fs_ftruncate_internal() local 301 TEE_Result res; in ree_fs_read_primitive() local 361 TEE_Result res; in ree_fs_read() local 373 TEE_Result res; in ree_fs_write_primitive() local 399 TEE_Result res; in ree_fs_open_primitive() local 453 TEE_Result res; in ree_dirf_commit_writes() local 480 TEE_Result res; in open_dirh() local [all …]
|
A D | fs_dirfile.c | 74 TEE_Result res = maybe_grow_files(dirh, idx); in set_file() local 99 TEE_Result res; in read_dent() local 114 TEE_Result res; in write_dent() local 128 TEE_Result res; in tee_fs_dirfile_open() local 195 TEE_Result res; in tee_fs_dirfile_get_tmp() local 215 TEE_Result res = TEE_SUCCESS; in tee_fs_dirfile_find() local 248 TEE_Result res = TEE_SUCCESS; in find_empty_idx() local 291 TEE_Result res; in tee_fs_dirfile_rename() local 326 TEE_Result res; in tee_fs_dirfile_remove() local 352 TEE_Result res; in tee_fs_dirfile_update_hash() local [all …]
|
A D | tee_fs_key_manager.c | 45 TEE_Result res; in do_hmac() local 78 TEE_Result res; in tee_fs_fek_crypt() local 141 TEE_Result res = TEE_SUCCESS; in tee_fs_init_key_manager() local 157 TEE_Result res; in tee_fs_generate_fek() local 181 TEE_Result res; in aes_ecb() local 210 TEE_Result res; in essiv() local 235 TEE_Result res; in tee_fs_crypt_block() local
|
A D | tee_ta_enc_manager.c | 15 TEE_Result res = TEE_SUCCESS; in tee_ta_decrypt_init() local 42 TEE_Result res = TEE_SUCCESS; in tee_ta_decrypt_update() local 56 TEE_Result res = TEE_SUCCESS; in tee_ta_decrypt_final() local
|
A D | tadb.c | 215 TEE_Result res; in tadb_open() local 282 TEE_Result res; in tadb_authenc_init() local 304 TEE_Result res; in tadb_update_payload() local 315 TEE_Result res; in populate_files() local 375 TEE_Result res; in tee_tadb_ta_create() local 449 TEE_Result res; in tee_tadb_ta_write() local 498 TEE_Result res; in find_ent() local 545 TEE_Result res; in tee_tadb_ta_close_and_commit() local 603 TEE_Result res; in tee_tadb_ta_delete() local 698 TEE_Result res; in ta_load() local [all …]
|
A D | tee_cryp_utl.c | 36 TEE_Result res; in tee_hash_createdigest() local 103 TEE_Result res; in tee_do_cipher_update() local 177 TEE_Result res = TEE_SUCCESS; in plat_rng_init() local 206 TEE_Result res = crypto_init(); in tee_cryp_init() local
|
A D | tee_svc_storage.c | 88 TEE_Result res = TEE_SUCCESS; in tee_svc_storage_read_head() local 178 TEE_Result res = TEE_SUCCESS; in syscall_storage_obj_open() local 254 TEE_Result res = TEE_SUCCESS; in tee_svc_storage_init_file() local 324 TEE_Result res = TEE_SUCCESS; in syscall_storage_obj_create() local 429 TEE_Result res = TEE_SUCCESS; in syscall_storage_obj_del() local 461 TEE_Result res = TEE_SUCCESS; in syscall_storage_obj_rename() local 546 TEE_Result res = TEE_SUCCESS; in syscall_storage_free_enum() local 560 TEE_Result res = TEE_SUCCESS; in syscall_storage_reset_enum() local 582 TEE_Result res = TEE_SUCCESS; in syscall_storage_start_enum() local 612 TEE_Result res = TEE_SUCCESS; in syscall_storage_next_enum() local [all …]
|
A D | fs_htree.c | 111 TEE_Result res; in rpc_read() local 150 TEE_Result res; in rpc_write() local 180 TEE_Result res; in traverse_post_order() local 323 TEE_Result res; in init_head_from_data() local 370 TEE_Result res; in init_tree_from_data() local 403 TEE_Result res; in calc_node_hash() local 508 TEE_Result res; in authenc_decrypt_final() local 528 TEE_Result res; in authenc_encrypt_final() local 546 TEE_Result res; in verify_root() local 566 TEE_Result res; in verify_node() local [all …]
|
/optee_os-3.20.0/core/pta/ |
A D | attestation.c | 54 TEE_Result res = TEE_ERROR_GENERIC; in generate_key() local 110 TEE_Result res = TEE_ERROR_GENERIC; in serialize_key() local 153 TEE_Result res = TEE_ERROR_GENERIC; in deserialize_bignum() local 259 TEE_Result res = TEE_SUCCESS; in sec_storage_obj_write() local 325 TEE_Result res = TEE_SUCCESS; in init_key() local 429 TEE_Result res = TEE_SUCCESS; in digest_nonce_and_hash() local 470 TEE_Result res = TEE_SUCCESS; in sign_buffer() local 514 TEE_Result res = TEE_SUCCESS; in hash_regions() local 579 TEE_Result res = TEE_SUCCESS; in cmd_get_ta_shdr_digest() local 620 TEE_Result res = TEE_SUCCESS; in cmd_hash_ta_memory() local [all …]
|
A D | system.c | 63 TEE_Result res = TEE_ERROR_GENERIC; in system_derive_ta_unique_key() local 126 TEE_Result res = TEE_ERROR_GENERIC; in system_map_zi() local 171 TEE_Result res = TEE_SUCCESS; in system_unmap() local 212 TEE_Result res = TEE_ERROR_GENERIC; in system_dlopen() local 240 TEE_Result res = TEE_ERROR_GENERIC; in system_dlsym() local 277 TEE_Result res = TEE_SUCCESS; in system_get_tpm_event_log() local 296 TEE_Result res = TEE_ERROR_GENERIC; in system_supp_plugin_invoke() local
|
/optee_os-3.20.0/lib/libutils/ext/include/ |
A D | fault_mitigation.h | 72 unsigned long res; member 88 unsigned long res; member 295 unsigned long res) in __ftmn_copy_linked_call_res() 322 unsigned long res) in __ftmn_callee_done_not_zero() 346 unsigned long res) in __ftmn_callee_done_check() 354 unsigned long res) in __ftmn_callee_update_not_zero() 361 unsigned long res) in __ftmn_set_check_res() 369 unsigned long res) in __ftmn_set_check_res_not_zero() 464 #define FTMN_CALLEE_DONE(res) \ argument 648 unsigned long res) in ftmn_expect_state() [all …]
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | ldelf_loader.c | 36 TEE_Result res = TEE_SUCCESS; in alloc_and_map_ldelf_fobj() local 55 TEE_Result res = TEE_SUCCESS; in ldelf_load_ldelf() local 104 TEE_Result res = TEE_SUCCESS; in ldelf_init_with_ldelf() local 168 TEE_Result res = TEE_SUCCESS; in ldelf_dump_state() local 293 TEE_Result res = TEE_SUCCESS; in ldelf_dump_ftrace() local 348 TEE_Result res = TEE_ERROR_GENERIC; in ldelf_dlopen() local 399 TEE_Result res = TEE_ERROR_GENERIC; in ldelf_dlsym() local
|
/optee_os-3.20.0/ta/pkcs11/src/ |
A D | persistent_token.c | 42 TEE_Result res = TEE_ERROR_GENERIC; in open_db_file() local 56 TEE_Result res = TEE_ERROR_GENERIC; in update_persistent_db() local 78 TEE_Result res = TEE_SUCCESS; in do_hash() local 136 TEE_Result res = TEE_SUCCESS; in setup_so_identity_auth_from_client() local 159 TEE_Result res = TEE_SUCCESS; in setup_identity_auth_from_pin() local 258 TEE_Result res = TEE_SUCCESS; in verify_identity_auth() local 358 TEE_Result res = TEE_ERROR_GENERIC; in unregister_persistent_object() local 419 TEE_Result res = TEE_ERROR_GENERIC; in register_persistent_object() local 471 TEE_Result res = TEE_ERROR_GENERIC; in load_persistent_object_attributes() local 546 TEE_Result res = TEE_ERROR_GENERIC; in update_persistent_object_attributes() local [all …]
|
/optee_os-3.20.0/core/pta/tests/ |
A D | lockdep.c | 17 TEE_Result res = TEE_ERROR_GENERIC; in self_test_lockdep1() local 76 TEE_Result res = TEE_ERROR_GENERIC; in self_test_lockdep2() local 130 TEE_Result res = TEE_ERROR_GENERIC; in self_test_lockdep3() local
|
/optee_os-3.20.0/core/kernel/ |
A D | ldelf_syscalls.c | 32 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_map_zi() local 62 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_unmap() local 102 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_open_bin() local 196 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_close_bin() local 225 TEE_Result res = TEE_SUCCESS; in binh_copy_to() local 265 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_map_bin() local 426 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_copy_from_bin() local 452 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_set_prot() local 503 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_remap() local 521 TEE_Result res = TEE_SUCCESS; in ldelf_syscall_gen_rnd_num() local
|
/optee_os-3.20.0/core/drivers/clk/ |
A D | clk_dt.c | 34 TEE_Result res = TEE_ERROR_GENERIC; in clk_dt_get_by_idx_prop() local 60 TEE_Result res = TEE_ERROR_GENERIC; in parse_clock_property() local 98 TEE_Result res = TEE_ERROR_GENERIC; in clk_probe_clock_provider_node() local 124 __maybe_unused TEE_Result res = TEE_ERROR_GENERIC; in clk_probe_node() local 146 TEE_Result __maybe_unused res = TEE_ERROR_GENERIC; in parse_assigned_clock() local
|