Home
last modified time | relevance | path

Searched refs:CAAM_NO_ERROR (Results 1 – 25 of 44) sorted by relevance

12

/optee_os/core/drivers/crypto/caam/
H A Dcaam_ctrl.c54 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
64 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
71 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
78 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
85 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
92 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
99 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
106 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
113 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
120 if (retstatus != CAAM_NO_ERROR) { in crypto_driver_init()
[all …]
H A Dcaam_rng.c51 return CAAM_NO_ERROR; in do_allocate()
273 retstatus = CAAM_NO_ERROR; in caam_rng_instantiation()
282 if (retstatus != CAAM_NO_ERROR) { in caam_rng_instantiation()
294 if (retstatus != CAAM_NO_ERROR && in caam_rng_instantiation()
305 retstatus = CAAM_NO_ERROR; in caam_rng_instantiation()
307 } while (retstatus == CAAM_NO_ERROR); in caam_rng_instantiation()
310 if (retstatus == CAAM_NO_ERROR) { in caam_rng_instantiation()
333 if (retstatus == CAAM_NO_ERROR) { in caam_rng_init()
338 if (retstatus != CAAM_NO_ERROR) in caam_rng_init()
H A Dcaam_jr.c144 retstatus = CAAM_NO_ERROR; in do_jr_alloc()
146 if (retstatus != CAAM_NO_ERROR) in do_jr_alloc()
380 retstatus = CAAM_NO_ERROR; in do_jr_enqueue()
442 return CAAM_NO_ERROR; in caam_jr_dequeue()
486 if (retstatus != CAAM_NO_ERROR) { in caam_jr_enqueue()
515 retstatus = CAAM_NO_ERROR; in caam_jr_enqueue()
529 retstatus = CAAM_NO_ERROR; in caam_jr_enqueue()
546 if (retstatus != CAAM_NO_ERROR) in caam_jr_init()
556 if (retstatus != CAAM_NO_ERROR) in caam_jr_init()
561 if (retstatus != CAAM_NO_ERROR) in caam_jr_init()
[all …]
H A Dcaam_sm.c32 if (ret != CAAM_NO_ERROR) { in caam_sm_alloc()
53 if (ret != CAAM_NO_ERROR) { in caam_sm_alloc()
78 return CAAM_NO_ERROR; in caam_sm_alloc()
120 return CAAM_NO_ERROR; in caam_sm_free()
165 return CAAM_NO_ERROR; in caam_sm_set_access_perm()
186 return CAAM_NO_ERROR; in caam_sm_init()
/optee_os/core/drivers/crypto/caam/include/
H A Dcaam_acipher.h24 return CAAM_NO_ERROR; in caam_rsa_init()
39 return CAAM_NO_ERROR; in caam_dh_init()
54 return CAAM_NO_ERROR; in caam_math_init()
69 return CAAM_NO_ERROR; in caam_ecc_init()
84 return CAAM_NO_ERROR; in caam_dsa_init()
H A Dcaam_mp.h28 return CAAM_NO_ERROR; in caam_mp_init()
33 return CAAM_NO_ERROR; in caam_mp_resume()
H A Dcaam_hash.h23 return CAAM_NO_ERROR; in caam_hash_init()
38 return CAAM_NO_ERROR; in caam_hmac_init()
H A Dcaam_cipher.h22 return CAAM_NO_ERROR; in caam_cipher_init()
35 return CAAM_NO_ERROR; in caam_cmac_init()
/optee_os/core/drivers/crypto/caam/acipher/
H A Dcaam_dh.c71 if (retstatus != CAAM_NO_ERROR) in do_keypair_conv_p_g()
79 if (retstatus != CAAM_NO_ERROR) in do_keypair_conv_p_g()
87 return CAAM_NO_ERROR; in do_keypair_conv_p_g()
111 if (retstatus != CAAM_NO_ERROR) in do_keypriv_conv()
119 if (retstatus != CAAM_NO_ERROR) in do_keypriv_conv()
124 return CAAM_NO_ERROR; in do_keypriv_conv()
144 if (retstatus != CAAM_NO_ERROR) in do_keypub_conv()
150 return CAAM_NO_ERROR; in do_keypub_conv()
265 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
274 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
[all …]
H A Dcaam_dsa.c84 if (retstatus != CAAM_NO_ERROR) in get_keypair_domain_params()
88 if (retstatus != CAAM_NO_ERROR) in get_keypair_domain_params()
92 if (retstatus != CAAM_NO_ERROR) in get_keypair_domain_params()
112 if (retstatus != CAAM_NO_ERROR) in get_keypair_domain_params()
164 if (retstatus != CAAM_NO_ERROR) in do_keypriv_conv()
173 if (retstatus != CAAM_NO_ERROR) in do_keypriv_conv()
182 if (retstatus != CAAM_NO_ERROR) in do_keypriv_conv()
190 if (retstatus != CAAM_NO_ERROR) in do_keypriv_conv()
198 return CAAM_NO_ERROR; in do_keypriv_conv()
221 if (retstatus != CAAM_NO_ERROR) in do_keypub_conv()
[all …]
H A Dcaam_rsa.c141 if (retstatus != CAAM_NO_ERROR) in do_keypub_conv()
149 if (retstatus != CAAM_NO_ERROR) in do_keypub_conv()
155 return CAAM_NO_ERROR; in do_keypub_conv()
191 return CAAM_NO_ERROR; in do_keypair_conv_f3()
226 return CAAM_NO_ERROR; in do_keypair_conv_f3()
251 return CAAM_NO_ERROR; in do_keypair_conv_f2()
296 if (retstatus != CAAM_NO_ERROR) in do_keypair_conv()
559 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
569 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
576 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
[all …]
H A Dcaam_ecc.c75 if (retstatus != CAAM_NO_ERROR) in do_keypub_conv()
87 return CAAM_NO_ERROR; in do_keypub_conv()
116 return CAAM_NO_ERROR; in do_keypair_conv()
293 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
299 if (retstatus != CAAM_NO_ERROR) { in do_gen_keypair()
337 if (retstatus == CAAM_NO_ERROR) { in do_gen_keypair()
422 if (retstatus != CAAM_NO_ERROR) in add_padding()
469 if (retstatus != CAAM_NO_ERROR) { in do_sign()
589 if (retstatus == CAAM_NO_ERROR) { in do_sign()
655 if (retstatus != CAAM_NO_ERROR) { in do_verify()
[all …]
/optee_os/core/drivers/crypto/caam/mp/
H A Dcaam_mp.c81 if (ret != CAAM_NO_ERROR) { in do_mppriv_gen()
117 if (mp_privdata.mp_status != CAAM_NO_ERROR) in caam_mp_export_publickey()
161 if (retstatus == CAAM_NO_ERROR) { in caam_mp_export_publickey()
200 if (mp_privdata.mp_status != CAAM_NO_ERROR) in caam_mp_sign()
229 if (retstatus != CAAM_NO_ERROR) { in caam_mp_sign()
296 if (retstatus == CAAM_NO_ERROR) { in caam_mp_sign()
348 mp_privdata.mp_status = CAAM_NO_ERROR; in caam_mp_init()
349 return CAAM_NO_ERROR; in caam_mp_init()
373 if (retstatus != CAAM_NO_ERROR) { in caam_mp_init()
397 mp_privdata.mp_status = CAAM_NO_ERROR; in caam_mp_init()
[all …]
/optee_os/core/drivers/crypto/caam/hal/common/
H A Dhal_rng.c26 return CAAM_NO_ERROR; in caam_hal_rng_instantiated()
31 return CAAM_NO_ERROR; in caam_hal_rng_instantiated()
43 return CAAM_NO_ERROR; in caam_hal_rng_instantiated()
161 return CAAM_NO_ERROR; in caam_hal_rng_kick()
H A Dhal_jr.c70 return CAAM_NO_ERROR; in caam_hal_jr_reset()
186 return CAAM_NO_ERROR; in caam_hal_jr_halt()
198 return CAAM_NO_ERROR; in caam_hal_jr_halt()
216 return CAAM_NO_ERROR; in caam_hal_jr_flush()
228 return CAAM_NO_ERROR; in caam_hal_jr_flush()
H A Dhal_sm.c68 return CAAM_NO_ERROR; in caam_hal_sm_check_page_partition()
160 return CAAM_NO_ERROR; in caam_hal_sm_allocate_page()
176 return CAAM_NO_ERROR; in caam_hal_sm_deallocate_partition()
197 return CAAM_NO_ERROR; in caam_hal_sm_deallocate_pages()
H A Dhal_cfg.c67 retstatus = CAAM_NO_ERROR; in caam_hal_cfg_get_conf()
111 if (status == CAAM_NO_ERROR) in caam_hal_cfg_setup_nsjobring()
/optee_os/core/drivers/crypto/caam/blob/
H A Dcaam_blob.c26 enum caam_status res = CAAM_NO_ERROR; in caam_blob_mkvb_init()
33 if (res != CAAM_NO_ERROR) in caam_blob_mkvb_init()
54 if (res != CAAM_NO_ERROR) { in caam_blob_mkvb_init()
/optee_os/core/drivers/crypto/caam/cipher/
H A Dcaam_cipher.c129 return CAAM_NO_ERROR; in do_check_keysize()
204 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_block()
396 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_initialize()
406 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_initialize()
417 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_initialize()
427 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_initialize()
452 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_initialize()
473 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_initialize()
486 if (ret != CAAM_NO_ERROR) in caam_cipher_initialize()
609 if (retstatus != CAAM_NO_ERROR) { in do_update_streaming()
[all …]
H A Dcaam_cipher_xts.c63 if (retstatus != CAAM_NO_ERROR) in do_tweak_block()
126 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_update_xts()
193 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_update_xts()
244 if (retstatus != CAAM_NO_ERROR) { in caam_cipher_update_xts()
/optee_os/core/drivers/crypto/caam/utils/
H A Dutils_mem.c110 return CAAM_NO_ERROR; in mem_alloc_buf()
211 if (ret != CAAM_NO_ERROR) { in caam_cpy_block_src()
228 ret = CAAM_NO_ERROR; in caam_cpy_block_src()
243 return CAAM_NO_ERROR; in caam_cpy_buf()
248 if (ret != CAAM_NO_ERROR) { in caam_cpy_buf()
262 return CAAM_NO_ERROR; in caam_cpy_buf()
/optee_os/core/drivers/crypto/caam/hal/imx_8ulp/
H A Dhal_jr.c68 retstatus = CAAM_NO_ERROR; in caam_hal_jr_setowner()
78 retstatus = CAAM_NO_ERROR; in caam_hal_jr_setowner()
/optee_os/core/drivers/crypto/caam/hal/imx_8m/
H A Dhal_jr.c67 retstatus = CAAM_NO_ERROR; in caam_hal_jr_setowner()
77 retstatus = CAAM_NO_ERROR; in caam_hal_jr_setowner()
/optee_os/core/drivers/crypto/caam/hal/imx_6_7/
H A Dhal_jr.c71 retstatus = CAAM_NO_ERROR; in caam_hal_jr_setowner()
81 retstatus = CAAM_NO_ERROR; in caam_hal_jr_setowner()
/optee_os/core/drivers/crypto/caam/hash/
H A Dcaam_hash_mac.c102 if (retstatus != CAAM_NO_ERROR) { in do_reduce_key()
162 if (retstatus != CAAM_NO_ERROR) in do_hmac_init()
192 if (retstatus == CAAM_NO_ERROR) { in do_hmac_init()
349 return CAAM_NO_ERROR; in caam_hmac_init()

12