Home
last modified time | relevance | path

Searched refs:TEE_SUCCESS (Results 1 – 25 of 78) sorted by relevance

1234

/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/os_test/
H A Dos_test.c52 return TEE_SUCCESS; in check_returned_prop()
68 return TEE_SUCCESS; in check_binprop_ones()
81 if (res == TEE_SUCCESS && !block_len) in get_binblock_property()
82 return TEE_SUCCESS; in get_binblock_property()
95 if (res != TEE_SUCCESS) in get_binblock_property()
126 if (res != TEE_SUCCESS) { in print_properties()
142 if (res != TEE_SUCCESS) in print_properties()
150 if (res != TEE_SUCCESS) in print_properties()
156 res = check_returned_prop(__LINE__, nbuf, res, TEE_SUCCESS, in print_properties()
158 if (res != TEE_SUCCESS) in print_properties()
[all …]
H A Dcxx_tests.cpp32 return TEE_SUCCESS; in ta_entry_cxx_ctor_main()
68 return TEE_SUCCESS; in ta_entry_cxx_exc_main()
104 return TEE_SUCCESS; in ta_entry_cxx_exc_mixed()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_public_api/
H A Drk_crypto_api.c59 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
65 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
73 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
81 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
90 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
99 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
108 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
117 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
126 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
135 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
[all …]
H A Drk_oem_otp_api.c27 if (res != TEE_SUCCESS) { in rk_otp_read()
45 if (res != TEE_SUCCESS) { in rk_otp_read()
70 if (res != TEE_SUCCESS) { in rk_otp_write()
88 if (res != TEE_SUCCESS) { in rk_otp_write()
113 if (res != TEE_SUCCESS) { in rk_otp_size()
127 if (res != TEE_SUCCESS) { in rk_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_public_api/
H A Drk_crypto_api.c59 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
65 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
73 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
81 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
90 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
99 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
108 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
117 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
126 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
135 if (res != TEE_SUCCESS) { in rk_gen_rsa_key()
[all …]
H A Drk_oem_otp_api.c29 if (res != TEE_SUCCESS) { in rk_otp_read()
46 if (res != TEE_SUCCESS) { in rk_otp_read()
74 if (res != TEE_SUCCESS) { in rk_otp_write()
91 if (res != TEE_SUCCESS) { in rk_otp_write()
119 if (res != TEE_SUCCESS) { in rk_otp_size()
133 if (res != TEE_SUCCESS) { in rk_otp_size()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/crypt/
H A Dderive_key_taf.c43 if (res != TEE_SUCCESS) in derive_unique_key()
53 TEE_Result res_final = TEE_SUCCESS; in derive_ta_unique_key_test()
71 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
79 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
83 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
99 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
104 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
120 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
124 if (res != TEE_SUCCESS) in derive_ta_unique_key_test()
141 if (res == TEE_SUCCESS) in derive_ta_unique_key_test()
[all …]
H A Dcryp_taf.c47 return TEE_SUCCESS; in ta_entry_free_operation()
64 return TEE_SUCCESS; in ta_entry_get_operation_info()
76 return TEE_SUCCESS; in ta_entry_reset_operation()
116 return TEE_SUCCESS; in ta_entry_copy_operation()
129 return TEE_SUCCESS; in ta_entry_digest_update()
168 return TEE_SUCCESS; in ta_entry_cipher_init()
221 return TEE_SUCCESS; in ta_entry_mac_init()
234 return TEE_SUCCESS; in ta_entry_mac_update()
278 if (res == TEE_SUCCESS) in ta_entry_allocate_transient_object()
293 return TEE_SUCCESS; in ta_entry_free_transient_object()
[all …]
H A Darith_taf.c95 return TEE_SUCCESS; in ta_entry_arith_new_var()
121 return TEE_SUCCESS; in ta_entry_arith_new_fmm_ctx()
142 return TEE_SUCCESS; in ta_entry_arith_new_fmm_var()
157 return TEE_SUCCESS; in ta_entry_arith_free_handle()
188 return TEE_SUCCESS; in ta_entry_arith_from_s32()
241 return TEE_SUCCESS; in ta_entry_arith_get_bit()
256 return TEE_SUCCESS; in ta_entry_arith_get_bit_count()
272 return TEE_SUCCESS; in ta_entry_arith_shift_right()
288 return TEE_SUCCESS; in ta_entry_arith_cmp()
303 return TEE_SUCCESS; in ta_entry_arith_cmp_s32()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sdp_basic/
H A Dta_sdp_basic.c55 if (rc != TEE_SUCCESS) { in cmd_inject()
65 if (rc != TEE_SUCCESS) { in cmd_inject()
80 if (rc != TEE_SUCCESS) { in cmd_inject()
96 if (rc != TEE_SUCCESS) { in cmd_inject()
134 if (rc != TEE_SUCCESS) { in cmd_transform()
149 if (rc != TEE_SUCCESS) { in cmd_transform()
166 if (rc != TEE_SUCCESS) { in cmd_transform()
206 if (rc != TEE_SUCCESS) { in cmd_dump()
216 if (rc != TEE_SUCCESS) { in cmd_dump()
230 if (rc != TEE_SUCCESS) { in cmd_dump()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage_benchmark/
H A Dbenchmark.c51 return TEE_SUCCESS; in verify_buffer()
68 TEE_Result res = TEE_SUCCESS; in prepare_test_file()
78 if (res != TEE_SUCCESS) { in prepare_test_file()
92 if (res != TEE_SUCCESS) { in prepare_test_file()
111 TEE_Result res = TEE_SUCCESS; in test_write()
124 if (res != TEE_SUCCESS) { in test_write()
151 TEE_Result res = TEE_SUCCESS; in test_read()
166 if (res != TEE_SUCCESS) { in test_read()
194 TEE_Result res = TEE_SUCCESS; in test_rewrite()
212 if (res != TEE_SUCCESS) { in test_rewrite()
[all …]
/OK3568_Linux_fs/buildroot/package/rockchip/tee-user-app/extra_app/ta/
H A Dkeybox.c19 return TEE_SUCCESS; in TA_CreateEntryPoint()
44 return TEE_SUCCESS; in TA_OpenSessionEntryPoint()
59 TEE_Result res = TEE_SUCCESS; in TA_TouchtHandle()
62 if (res == TEE_SUCCESS) in TA_TouchtHandle()
94 TEE_Result res = TEE_SUCCESS; in TA_InvokeCommandEntryPoint()
117 if (res != TEE_SUCCESS) { in TA_InvokeCommandEntryPoint()
155 if (res != TEE_SUCCESS) in TA_InvokeCommandEntryPoint()
162 if (res != TEE_SUCCESS) { in TA_InvokeCommandEntryPoint()
169 if (res != TEE_SUCCESS) { in TA_InvokeCommandEntryPoint()
199 if (res != TEE_SUCCESS) in TA_InvokeCommandEntryPoint()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/storage/
H A Dstorage.c158 return TEE_SUCCESS; in ta_storage_cmd_close()
164 TEE_Result res = TEE_SUCCESS; in ta_storage_cmd_read()
188 TEE_Result res = TEE_SUCCESS; in ta_storage_cmd_write()
221 if (res != TEE_SUCCESS) in ta_storage_cmd_seek()
240 return TEE_SUCCESS; in ta_storage_cmd_unlink()
313 return TEE_SUCCESS; in ta_storage_cmd_free_enum()
325 return TEE_SUCCESS; in ta_storage_cmd_reset_enum()
342 TEE_Result res = TEE_SUCCESS; in ta_storage_cmd_next_enum()
398 return TEE_SUCCESS; in check_obj()
404 TEE_Result result = TEE_SUCCESS; in ta_storage_cmd_key_in_persistent()
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/sims/
H A Dta_sims.c31 TEE_Result res = TEE_SUCCESS; in sims_open_ta_session()
54 if (res != TEE_SUCCESS) in sims_open_ta_session()
60 return TEE_SUCCESS; in sims_open_ta_session()
77 return TEE_SUCCESS; in sims_open_session()
116 return TEE_SUCCESS; in sims_read()
145 return TEE_SUCCESS; in sims_write()
159 return TEE_SUCCESS; in sims_get_counter()
166 TEE_Result res = TEE_SUCCESS; in sims_entry_panic()
178 if (res != TEE_SUCCESS) in sims_entry_panic()
193 return TEE_SUCCESS; in sims_entry_panic()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/rk_test/
H A Drktest_otp.c12 TEE_Result res = TEE_SUCCESS; in handle_otp_read()
28 if (res != TEE_SUCCESS) in handle_otp_read()
40 TEE_Result res = TEE_SUCCESS; in handle_otp_write()
50 if (res != TEE_SUCCESS) { in handle_otp_write()
60 TEE_Result res = TEE_SUCCESS; in handle_otp_size()
64 if (res != TEE_SUCCESS) { in handle_otp_size()
H A Drktest_property.c13 TEE_Result res = TEE_SUCCESS; in handle_property()
22 if (res != TEE_SUCCESS) { in handle_property()
34 if (res != TEE_SUCCESS) { in handle_property()
41 if (res != TEE_SUCCESS) { in handle_property()
51 res = TEE_SUCCESS; in handle_property()
53 } else if (res != TEE_SUCCESS) { in handle_property()
H A Drktest_socket.c29 if (res != TEE_SUCCESS) { in handle_socket()
37 if (res != TEE_SUCCESS) { in handle_socket()
46 if (res != TEE_SUCCESS) { in handle_socket()
52 if (res != TEE_SUCCESS) { in handle_socket()
58 if (res != TEE_SUCCESS) { in handle_socket()
62 return TEE_SUCCESS; in handle_socket()
H A Drktest_storage.c13 TEE_Result res = TEE_SUCCESS; in handle_storage()
38 if (res != TEE_SUCCESS) { in handle_storage()
47 if (res != TEE_SUCCESS) { in handle_storage()
53 if (res != TEE_SUCCESS) { in handle_storage()
64 if (res != TEE_SUCCESS) { in handle_storage()
71 if (res != TEE_SUCCESS) { in handle_storage()
H A Drktest_storage_speed.c13 TEE_Result res = TEE_SUCCESS; in handle_storage_speed()
48 if (res != TEE_SUCCESS) { in handle_storage_speed()
58 if (res != TEE_SUCCESS) { in handle_storage_speed()
66 if (res != TEE_SUCCESS) { in handle_storage_speed()
76 if (res != TEE_SUCCESS) { in handle_storage_speed()
84 if (res != TEE_SUCCESS || count != storage_size) { in handle_storage_speed()
/OK3568_Linux_fs/external/security/rk_tee_user/v1/ta/rk_test/
H A Drktest_otp.c13 TEE_Result res = TEE_SUCCESS; in handle_otp_read()
29 if (res != TEE_SUCCESS) in handle_otp_read()
41 TEE_Result res = TEE_SUCCESS; in handle_otp_write()
51 if (res != TEE_SUCCESS) { in handle_otp_write()
61 TEE_Result res = TEE_SUCCESS; in handle_otp_size()
65 if (res != TEE_SUCCESS) { in handle_otp_size()
H A Drktest_property.c13 TEE_Result res = TEE_SUCCESS; in handle_property()
22 if (res != TEE_SUCCESS) { in handle_property()
34 if (res != TEE_SUCCESS) { in handle_property()
41 if (res != TEE_SUCCESS) { in handle_property()
51 res = TEE_SUCCESS; in handle_property()
53 } else if (res != TEE_SUCCESS) { in handle_property()
H A Drktest_storage.c13 TEE_Result res = TEE_SUCCESS; in handle_storage()
38 if (res != TEE_SUCCESS) { in handle_storage()
47 if (res != TEE_SUCCESS) { in handle_storage()
53 if (res != TEE_SUCCESS) { in handle_storage()
64 if (res != TEE_SUCCESS) { in handle_storage()
71 if (res != TEE_SUCCESS) { in handle_storage()
H A Drktest_storage_speed.c13 TEE_Result res = TEE_SUCCESS; in handle_storage_speed()
41 if (res != TEE_SUCCESS) { in handle_storage_speed()
51 if (res != TEE_SUCCESS) { in handle_storage_speed()
59 if (res != TEE_SUCCESS) { in handle_storage_speed()
69 if (res != TEE_SUCCESS) { in handle_storage_speed()
77 if (res != TEE_SUCCESS || count != storage_size) { in handle_storage_speed()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/tpm_log_test/
H A Dta_entry.c24 if (res != TEE_SUCCESS) in invoke_system_pta()
55 param_types, params) == TEE_SUCCESS) { in test_with_right_parameters()
99 return TEE_SUCCESS; in test_with_right_parameters()
133 return TEE_SUCCESS; in test_short_buffer()
143 return TEE_SUCCESS; in TA_CreateEntryPoint()
156 return TEE_SUCCESS; in TA_OpenSessionEntryPoint()
/OK3568_Linux_fs/external/security/rk_tee_user/v2/ta/aes_perf/
H A Dta_aes_perf.c17 if ((res) != TEE_SUCCESS) { \
46 return (res == TEE_SUCCESS); in is_inbuf_a_secure_memref()
63 return (res == TEE_SUCCESS); in is_outbuf_a_secure_memref()
79 return TEE_SUCCESS; in flush_memref_buffer()
167 return TEE_SUCCESS; in cmd_process()
283 return TEE_SUCCESS; in cmd_prepare_key()

1234