/optee_os/core/tee/ |
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_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 | tee_svc_cryp.c | 544 return TEE_SUCCESS; in op_u32_to_binary_helper() 571 return TEE_SUCCESS; in op_attr_secret_value_from_user() 616 return TEE_SUCCESS; in op_attr_secret_value_to_binary() 650 return TEE_SUCCESS; in op_attr_secret_value_from_obj() 704 return TEE_SUCCESS; in op_attr_bignum_to_user() 726 return TEE_SUCCESS; in op_attr_bignum_to_binary() 752 return TEE_SUCCESS; in op_attr_bignum_from_obj() 780 return TEE_SUCCESS; in op_attr_value_from_user() 825 return TEE_SUCCESS; in op_attr_value_from_obj() 1078 return TEE_SUCCESS; in tee_obj_attr_to_binary() [all …]
|
A D | tee_svc_storage.c | 51 return TEE_SUCCESS; in tee_svc_storage_get_enum() 73 return TEE_SUCCESS; in tee_svc_close_enum() 82 return TEE_SUCCESS; in tee_svc_storage_remove_corrupt_obj() 97 if (res != TEE_SUCCESS) in tee_svc_storage_read_head() 124 if (res != TEE_SUCCESS) in tee_svc_storage_read_head() 149 if (res != TEE_SUCCESS) in tee_svc_storage_read_head() 197 if (res != TEE_SUCCESS) in syscall_storage_obj_open() 398 return TEE_SUCCESS; in syscall_storage_obj_create() 573 return TEE_SUCCESS; in syscall_storage_reset_enum() 820 case TEE_SUCCESS: in syscall_storage_obj_trunc() [all …]
|
A D | tee_svc.c | 132 if (res != TEE_SUCCESS) in get_prop_tee_dev_id() 493 if (res != TEE_SUCCESS) in syscall_get_property_name_to_index() 563 return TEE_SUCCESS; in utee_param_to_param() 589 return TEE_SUCCESS; in alloc_temp_sec_mem() 639 return TEE_SUCCESS; in tee_svc_copy_param() 680 return TEE_SUCCESS; in tee_svc_copy_param() 683 if (res != TEE_SUCCESS) in tee_svc_copy_param() 729 return TEE_SUCCESS; in tee_svc_copy_param() 790 return TEE_SUCCESS; in tee_svc_update_out_param() 819 if (res != TEE_SUCCESS) in syscall_open_ta_session() [all …]
|
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_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 …]
|
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_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_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_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()
|
/optee_os/lib/libutee/ |
A D | tee_api_objects.c | 44 if (res != TEE_SUCCESS) in TEE_GetObjectInfo() 63 if (res != TEE_SUCCESS && in TEE_GetObjectInfo1() 88 if (res != TEE_SUCCESS) in TEE_RestrictObjectUsage() 118 if (res != TEE_SUCCESS) in TEE_GetObjectBufferAttribute() 158 if (res != TEE_SUCCESS) in TEE_GetObjectValueAttribute() 198 if (res != TEE_SUCCESS) in TEE_CloseObject() 220 if (res == TEE_SUCCESS) in TEE_AllocateTransientObject() 235 if (res != TEE_SUCCESS) in TEE_FreeTransientObject() 242 if (res != TEE_SUCCESS) in TEE_FreeTransientObject() 255 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 | 330 if (res != TEE_SUCCESS) in TEE_AllocateOperation() 383 if (res != TEE_SUCCESS) in TEE_FreeOperation() 536 return TEE_SUCCESS; in TEE_SetOperationKey() 618 return TEE_SUCCESS; in TEE_SetOperationKey2() 965 return TEE_SUCCESS; in tee_buffer_update() 998 res = TEE_SUCCESS; in TEE_CipherUpdate() 1035 res = TEE_SUCCESS; in TEE_CipherUpdate() 1400 res = TEE_SUCCESS; in TEE_AEUpdate() 1433 res = TEE_SUCCESS; in TEE_AEUpdate() 2044 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/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/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/core/kernel/ |
A D | ree_fs_ta.c | 97 if (res != TEE_SUCCESS) in rpc_load() 121 if (res != TEE_SUCCESS) in rpc_load() 148 if (res != TEE_SUCCESS) in ree_fs_ta_open() 160 if (res != TEE_SUCCESS) in ree_fs_ta_open() 174 if (res != TEE_SUCCESS) in ree_fs_ta_open() 282 return TEE_SUCCESS; in ree_fs_ta_open() 302 return TEE_SUCCESS; in ree_fs_ta_get_size() 318 return TEE_SUCCESS; in ree_fs_ta_get_tag() 626 return TEE_SUCCESS; in buf_ta_get_size() 643 return TEE_SUCCESS; in buf_ta_read() [all …]
|
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()
|
/optee_os/core/drivers/ |
A D | imx_sc_api.c | 149 return TEE_SUCCESS; in sc_ipc_read() 186 return TEE_SUCCESS; in sc_ipc_write() 229 if (res != TEE_SUCCESS) { in sc_rm_get_partition() 242 return TEE_SUCCESS; in sc_rm_get_partition() 267 if (res != TEE_SUCCESS) { in sc_pm_set_resource_power_mode() 279 return TEE_SUCCESS; in sc_pm_set_resource_power_mode() 300 if (res != TEE_SUCCESS) { in sc_rm_assign_resource() 320 return TEE_SUCCESS; in sc_rm_assign_resource() 381 return TEE_SUCCESS; in imx_sc_rm_enable_jr() 413 return TEE_SUCCESS; in imx_sc_seco_start_rng() [all …]
|
/optee_os/core/drivers/crypto/se050/core/ |
A D | ecc.c | 147 return TEE_SUCCESS; in ecc_get_key_size() 176 return TEE_SUCCESS; in ecc_prepare_msg() 187 return TEE_SUCCESS; in ecc_prepare_msg() 213 return TEE_SUCCESS; in set_binary_data() 250 if (ret != TEE_SUCCESS) in se050_inject_public_key() 269 return TEE_SUCCESS; in se050_inject_public_key() 292 return TEE_SUCCESS; in se050_inject_keypair() 345 return TEE_SUCCESS; in se050_inject_keypair() 588 return TEE_SUCCESS; in gen_keypair() 639 return TEE_SUCCESS; in do_alloc_keypair() [all …]
|
/optee_os/core/arch/arm/kernel/ |
A D | secure_partition.c | 69 return TEE_SUCCESS; in sp_find_session_id() 109 return TEE_SUCCESS; in sp_partition_info_get_all() 187 return TEE_SUCCESS; in sp_create_ctx() 217 return TEE_SUCCESS; in sp_create_session() 232 return TEE_SUCCESS; in sp_init_set_registers() 276 return TEE_SUCCESS; in sp_map_shared() 293 if (res != TEE_SUCCESS) in sp_unmap_ffa_regions() 297 return TEE_SUCCESS; in sp_unmap_ffa_regions() 340 return TEE_SUCCESS; in sp_open_session() 364 return TEE_SUCCESS; in sp_init_uuid() [all …]
|
/optee_os/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/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/core/drivers/imx/dcp/ |
A D | dcp.c | 97 return TEE_SUCCESS; in dcp_lock_known_channel() 203 if (ret != TEE_SUCCESS) in dcp_cmac_subkey_generation() 207 if (ret != TEE_SUCCESS) in dcp_cmac_subkey_generation() 224 ret = TEE_SUCCESS; in dcp_cmac_subkey_generation() 266 return TEE_SUCCESS; in dcp_store_key() 298 if (ret != TEE_SUCCESS) in dcp_cmac() 352 if (ret != TEE_SUCCESS) in dcp_cipher_do_init() 573 ret = TEE_SUCCESS; in dcp_sha_do_update() 615 ret = TEE_SUCCESS; in dcp_sha_do_final() 704 return TEE_SUCCESS; in dcp_pbase() [all …]
|