/optee_os-3.20.0/core/tee/ |
A D | tee_fs_key_manager.c | 52 if (res != TEE_SUCCESS) in do_hmac() 56 if (res != TEE_SUCCESS) in do_hmac() 60 if (res != TEE_SUCCESS) in do_hmac() 64 if (res != TEE_SUCCESS) in do_hmac() 67 res = TEE_SUCCESS; in do_hmac() 95 if (res != TEE_SUCCESS) in tee_fs_fek_crypt() 111 if (res != TEE_SUCCESS) in tee_fs_fek_crypt() 115 if (res != TEE_SUCCESS) in tee_fs_fek_crypt() 119 if (res != TEE_SUCCESS) in tee_fs_fek_crypt() 147 if (res == TEE_SUCCESS) in tee_fs_init_key_manager() [all …]
|
A D | fs_htree.c | 117 if (res != TEE_SUCCESS) in rpc_read() 128 return TEE_SUCCESS; in rpc_read() 188 return TEE_SUCCESS; in traverse_post_order() 300 return TEE_SUCCESS; in get_node() 365 return TEE_SUCCESS; in init_head_from_data() 396 return TEE_SUCCESS; in init_tree_from_data() 496 return TEE_SUCCESS; in authenc_init() 688 return TEE_SUCCESS; in free_node() 715 return TEE_SUCCESS; in htree_sync_node_to_storage() 768 return TEE_SUCCESS; in tee_fs_htree_sync_to_storage() [all …]
|
A D | tee_cryp_concat_kdf.c | 28 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 32 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 41 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 45 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 48 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 53 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 57 if (res != TEE_SUCCESS) in tee_cryp_concat_kdf() 65 res = TEE_SUCCESS; in tee_cryp_concat_kdf()
|
A D | tee_svc_cryp.c | 648 return TEE_SUCCESS; in op_u32_to_binary_helper() 675 return TEE_SUCCESS; in op_attr_secret_value_from_user() 720 return TEE_SUCCESS; in op_attr_secret_value_to_binary() 754 return TEE_SUCCESS; in op_attr_secret_value_from_obj() 810 return TEE_SUCCESS; in op_attr_bignum_to_user() 832 return TEE_SUCCESS; in op_attr_bignum_to_binary() 858 return TEE_SUCCESS; in op_attr_bignum_from_obj() 886 return TEE_SUCCESS; in op_attr_value_from_user() 931 return TEE_SUCCESS; in op_attr_value_from_obj() 951 return TEE_SUCCESS; in op_attr_25519_from_user() [all …]
|
A D | tee_svc_storage.c | 52 return TEE_SUCCESS; in tee_svc_storage_get_enum() 74 return TEE_SUCCESS; in tee_svc_close_enum() 83 return TEE_SUCCESS; in tee_svc_storage_remove_corrupt_obj() 98 if (res != TEE_SUCCESS) in tee_svc_storage_read_head() 125 if (res != TEE_SUCCESS) in tee_svc_storage_read_head() 150 if (res != TEE_SUCCESS) in tee_svc_storage_read_head() 206 if (res != TEE_SUCCESS) in syscall_storage_obj_open() 404 return TEE_SUCCESS; in syscall_storage_obj_create() 574 return TEE_SUCCESS; in syscall_storage_reset_enum() 840 case TEE_SUCCESS: in syscall_storage_obj_trunc() [all …]
|
A D | tee_ta_enc_manager.c | 15 TEE_Result res = TEE_SUCCESS; in tee_ta_decrypt_init() 19 if (res != TEE_SUCCESS) in tee_ta_decrypt_init() 24 if (res != TEE_SUCCESS) in tee_ta_decrypt_init() 32 if (res != TEE_SUCCESS) in tee_ta_decrypt_init() 42 TEE_Result res = TEE_SUCCESS; in tee_ta_decrypt_update() 47 if (res != TEE_SUCCESS) in tee_ta_decrypt_update() 56 TEE_Result res = TEE_SUCCESS; in tee_ta_decrypt_final()
|
A D | tee_cryp_hkdf.c | 33 if (res != TEE_SUCCESS) in hkdf_extract() 48 if (res != TEE_SUCCESS) in hkdf_extract() 52 if (res != TEE_SUCCESS) in hkdf_extract() 56 if (res != TEE_SUCCESS) in hkdf_extract() 77 if (res != TEE_SUCCESS) in hkdf_expand() 119 if (res != TEE_SUCCESS) in hkdf_expand() 122 if (res != TEE_SUCCESS) in hkdf_expand() 125 if (res != TEE_SUCCESS) in hkdf_expand() 128 if (res != TEE_SUCCESS) in hkdf_expand() 131 if (res != TEE_SUCCESS) in hkdf_expand() [all …]
|
A D | tee_cryp_pbkdf2.c | 38 if (res != TEE_SUCCESS) in pbkdf2_f() 45 if (res != TEE_SUCCESS) in pbkdf2_f() 53 if (res != TEE_SUCCESS) in pbkdf2_f() 57 if (res != TEE_SUCCESS) in pbkdf2_f() 62 if (res != TEE_SUCCESS) in pbkdf2_f() 68 return TEE_SUCCESS; in pbkdf2_f() 85 if (res != TEE_SUCCESS) in tee_cryp_pbkdf2() 89 if (res != TEE_SUCCESS) in tee_cryp_pbkdf2() 104 if (res != TEE_SUCCESS) in tee_cryp_pbkdf2()
|
A D | tee_svc.c | 134 if (res != TEE_SUCCESS) in get_prop_tee_dev_id() 546 if (res != TEE_SUCCESS) in syscall_get_property_name_to_index() 616 return TEE_SUCCESS; in utee_param_to_param() 642 return TEE_SUCCESS; in alloc_temp_sec_mem() 694 return TEE_SUCCESS; in tee_svc_copy_param() 735 return TEE_SUCCESS; in tee_svc_copy_param() 738 if (res != TEE_SUCCESS) in tee_svc_copy_param() 784 return TEE_SUCCESS; in tee_svc_copy_param() 845 return TEE_SUCCESS; in tee_svc_update_out_param() 874 if (res != TEE_SUCCESS) in syscall_open_ta_session() [all …]
|
A D | tee_time_generic.c | 32 return TEE_SUCCESS; in tee_time_ta_get_offs() 49 return TEE_SUCCESS; in tee_time_ta_set_offs() 62 return TEE_SUCCESS; in tee_time_ta_set_offs() 74 if (res != TEE_SUCCESS) in tee_time_get_ta_time() 78 if (res != TEE_SUCCESS) in tee_time_get_ta_time() 110 if (res != TEE_SUCCESS) in tee_time_set_ta_time() 128 if (tee_time_get_sys_time(&curr) != TEE_SUCCESS) in tee_time_busy_wait() 135 if (tee_time_get_sys_time(&curr) != TEE_SUCCESS) in tee_time_busy_wait()
|
A D | tee_rpmb_fs.c | 400 res = TEE_SUCCESS; in tee_rpmb_mac_calc() 643 res = TEE_SUCCESS; in tee_rpmb_req_pack() 764 res = TEE_SUCCESS; in tee_rpmb_data_cpy_mac_calc() 885 return TEE_SUCCESS; in tee_rpmb_resp_unpack_verify() 931 res = TEE_SUCCESS; in tee_rpmb_get_dev_info() 994 res = TEE_SUCCESS; in tee_rpmb_init_read_wr_cnt() 1059 res = TEE_SUCCESS; in tee_rpmb_write_key() 1274 res = TEE_SUCCESS; in tee_rpmb_read() 1513 res = TEE_SUCCESS; in tee_rpmb_write() 1657 return TEE_SUCCESS; in fat_entry_dir_init() [all …]
|
/optee_os-3.20.0/lib/libutee/ |
A D | tee_api_objects.c | 45 if (res != TEE_SUCCESS) in TEE_GetObjectInfo() 73 if (res != TEE_SUCCESS && in TEE_GetObjectInfo1() 106 if (res != TEE_SUCCESS) in TEE_RestrictObjectUsage() 136 if (res != TEE_SUCCESS) in TEE_GetObjectBufferAttribute() 176 if (res != TEE_SUCCESS) in TEE_GetObjectValueAttribute() 216 if (res != TEE_SUCCESS) in TEE_CloseObject() 238 if (res == TEE_SUCCESS) in TEE_AllocateTransientObject() 253 if (res != TEE_SUCCESS) in TEE_FreeTransientObject() 260 if (res != TEE_SUCCESS) in TEE_FreeTransientObject() 273 if (res != TEE_SUCCESS) in TEE_ResetTransientObject() [all …]
|
A D | tee_api.c | 115 return TEE_SUCCESS; in copy_param() 187 if (res != TEE_SUCCESS) in TEE_OpenTASession() 199 if (res != TEE_SUCCESS) in TEE_CloseTASession() 261 if (res != TEE_SUCCESS) in TEE_GetCancellationFlag() 271 if (res != TEE_SUCCESS) in TEE_UnmaskCancellation() 281 if (res != TEE_SUCCESS) in TEE_MaskCancellation() 294 return TEE_SUCCESS; in TEE_CheckMemoryAccessRights() 298 if (res != TEE_SUCCESS) in TEE_CheckMemoryAccessRights() 306 res = TEE_SUCCESS; in TEE_CheckMemoryAccessRights() 342 if (res != TEE_SUCCESS) in TEE_GetSystemTime() [all …]
|
A D | tee_api_operations.c | 338 if (res != TEE_SUCCESS) in TEE_AllocateOperation() 391 if (res != TEE_SUCCESS) in TEE_FreeOperation() 544 return TEE_SUCCESS; in TEE_SetOperationKey() 626 return TEE_SUCCESS; in TEE_SetOperationKey2() 973 return TEE_SUCCESS; in tee_buffer_update() 1006 res = TEE_SUCCESS; in TEE_CipherUpdate() 1043 res = TEE_SUCCESS; in TEE_CipherUpdate() 1408 res = TEE_SUCCESS; in TEE_AEUpdate() 1441 res = TEE_SUCCESS; in TEE_AEUpdate() 2056 return TEE_SUCCESS; in TEE_IsAlgorithmSupported() [all …]
|
A D | tee_api_property.c | 68 return TEE_SUCCESS; in propset_get() 112 return TEE_SUCCESS; in propget_get_ext_prop() 124 return TEE_SUCCESS; in propget_get_ext_prop() 148 if (res != TEE_SUCCESS) in propget_get_property() 161 if (res != TEE_SUCCESS) in propget_get_property() 173 if (res != TEE_SUCCESS) in propget_get_property() 307 if (res != TEE_SUCCESS) in TEE_GetPropertyAsBool() 444 return TEE_SUCCESS; in TEE_AllocatePropertyEnumerator() 491 if (res != TEE_SUCCESS) in TEE_GetPropertyName() 535 if (res != TEE_SUCCESS) in TEE_GetNextProperty() [all …]
|
/optee_os-3.20.0/core/drivers/crypto/crypto_api/acipher/ |
A D | rsamgf.c | 39 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 53 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 58 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 63 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 67 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 77 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 82 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 87 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 91 if (ret != TEE_SUCCESS) in drvcrypt_rsa_mgf1() 97 ret = TEE_SUCCESS; in drvcrypt_rsa_mgf1()
|
/optee_os-3.20.0/core/drivers/ |
A D | imx_sc_api.c | 107 if (res != TEE_SUCCESS) { in sc_rm_get_partition() 120 return TEE_SUCCESS; in sc_rm_get_partition() 145 if (res != TEE_SUCCESS) { in sc_pm_set_resource_power_mode() 157 return TEE_SUCCESS; in sc_pm_set_resource_power_mode() 178 if (res != TEE_SUCCESS) { in sc_rm_assign_resource() 187 if (res != TEE_SUCCESS) { in sc_rm_assign_resource() 198 return TEE_SUCCESS; in sc_rm_assign_resource() 235 if (res != TEE_SUCCESS) { in imx_sc_rm_enable_jr() 259 return TEE_SUCCESS; in imx_sc_rm_enable_jr() 291 return TEE_SUCCESS; in imx_sc_seco_start_rng() [all …]
|
/optee_os-3.20.0/core/kernel/ |
A D | initcall.c | 18 TEE_Result ret = TEE_SUCCESS; in call_preinitcalls() 23 if (ret != TEE_SUCCESS) { in call_preinitcalls() 37 TEE_Result ret = TEE_SUCCESS; in call_initcalls() 42 if (ret != TEE_SUCCESS) { in call_initcalls() 56 TEE_Result ret = TEE_SUCCESS; in call_finalcalls() 61 if (ret != TEE_SUCCESS) { in call_finalcalls()
|
A D | ree_fs_ta.c | 114 if (res != TEE_SUCCESS) in check_update_version() 118 if (res != TEE_SUCCESS) in check_update_version() 203 if (res != TEE_SUCCESS) in rpc_load() 227 if (res != TEE_SUCCESS) in rpc_load() 259 if (res != TEE_SUCCESS) in ree_fs_ta_open() 481 return TEE_SUCCESS; in ree_fs_ta_open() 504 return TEE_SUCCESS; in ree_fs_ta_get_size() 520 return TEE_SUCCESS; in ree_fs_ta_get_tag() 753 return TEE_SUCCESS; in buf_ta_get_size() 770 return TEE_SUCCESS; in buf_ta_read() [all …]
|
/optee_os-3.20.0/core/pta/tests/ |
A D | invoke.c | 29 return TEE_SUCCESS; in test_trace() 90 return TEE_SUCCESS; in test_entry_memref_null() 115 return TEE_SUCCESS; in test_entry_params() 123 return TEE_SUCCESS; in test_entry_params() 131 return TEE_SUCCESS; in test_entry_params() 139 return TEE_SUCCESS; in test_entry_params() 149 return TEE_SUCCESS; in test_entry_params() 158 return TEE_SUCCESS; in test_entry_params() 167 return TEE_SUCCESS; in test_entry_params() 291 return TEE_SUCCESS; in test_inject_sdp() [all …]
|
/optee_os-3.20.0/core/tests/ |
A D | ftmn_boot_tests.c | 30 return TEE_SUCCESS; in simple_call_memcmp() 36 TEE_Result res = TEE_SUCCESS; in simple_call() 40 simple_call_func_res = TEE_SUCCESS; in simple_call() 63 return TEE_SUCCESS; in two_level_call_memcmp2() 83 TEE_Result res = TEE_SUCCESS; in two_level_call_memcmp() 97 TEE_Result res = TEE_SUCCESS; in two_level_call() 122 return TEE_SUCCESS; in chained_call_memcmp2() 146 TEE_Result res = TEE_SUCCESS; in chained_call_memcmp() 166 TEE_Result res = TEE_SUCCESS; in chained_calls() 205 return TEE_SUCCESS; in ftmn_boot_tests()
|
/optee_os-3.20.0/core/arch/arm/tee/ |
A D | cache.c | 32 if (res != TEE_SUCCESS) in cache_operation() 35 if (res != TEE_SUCCESS) in cache_operation() 43 if (res != TEE_SUCCESS) in cache_operation() 50 if (res != TEE_SUCCESS) in cache_operation()
|
/optee_os-3.20.0/core/lib/libtomcrypt/ |
A D | gcm.c | 42 return TEE_SUCCESS; in crypto_aes_gcm_alloc_ctx() 87 return TEE_SUCCESS; in crypto_aes_gcm_init() 101 return TEE_SUCCESS; in crypto_aes_gcm_update_aad() 109 TEE_Result res = TEE_SUCCESS; in crypto_aes_gcm_update_payload() 129 if (res != TEE_SUCCESS) in crypto_aes_gcm_update_payload() 138 return TEE_SUCCESS; in crypto_aes_gcm_update_payload() 146 TEE_Result res = TEE_SUCCESS; in crypto_aes_gcm_enc_final() 153 if (res != TEE_SUCCESS) in crypto_aes_gcm_enc_final() 168 return TEE_SUCCESS; in crypto_aes_gcm_enc_final() 190 if (res != TEE_SUCCESS) in crypto_aes_gcm_dec_final() [all …]
|
/optee_os-3.20.0/core/crypto/ |
A D | aes-cts.c | 54 TEE_Result res = TEE_SUCCESS; in cts_init() 97 TEE_Result res = TEE_SUCCESS; in cbc_cts_update() 127 if (res != TEE_SUCCESS) in cbc_cts_update() 137 if (res != TEE_SUCCESS) in cbc_cts_update() 145 if (res != TEE_SUCCESS) in cbc_cts_update() 164 if (res != TEE_SUCCESS) in cbc_cts_update() 172 if (res != TEE_SUCCESS) in cbc_cts_update() 179 if (res != TEE_SUCCESS) in cbc_cts_update() 186 return TEE_SUCCESS; in cbc_cts_update() 236 TEE_Result res = TEE_SUCCESS; in crypto_aes_cts_alloc_ctx() [all …]
|
/optee_os-3.20.0/core/arch/arm/kernel/ |
A D | secure_partition.c | 108 return TEE_SUCCESS; in sp_find_session_id() 148 return TEE_SUCCESS; in sp_partition_info_get_all() 208 return TEE_SUCCESS; in sp_create_ctx() 238 return TEE_SUCCESS; in sp_create_session() 253 return TEE_SUCCESS; in sp_init_set_registers() 297 return TEE_SUCCESS; in sp_map_shared() 318 return TEE_SUCCESS; in sp_unmap_ffa_regions() 361 return TEE_SUCCESS; in sp_open_session() 376 return TEE_SUCCESS; in sp_dt_get_u64() 391 return TEE_SUCCESS; in sp_dt_get_u32() [all …]
|