Home
last modified time | relevance | path

Searched refs:CC3XX_ERR_SUCCESS (Results 1 – 23 of 23) sorted by relevance

/trusted-firmware-m-3.6.0/platform/ext/accelerator/cc312/cc312-rom/
Dcc3xx_drbg_hmac.c38 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
42 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
46 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
52 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
58 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
64 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
68 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
72 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
83 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
87 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hmac_update()
[all …]
Dcc3xx_hmac.c31 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_hmac_set_key()
38 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_hmac_set_key()
56 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_hmac_set_key()
63 if (err == CC3XX_ERR_SUCCESS) { in cc3xx_hmac_set_key()
83 if (err == CC3XX_ERR_SUCCESS) { in cc3xx_hmac_update()
114 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_hmac_finish()
119 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_hmac_finish()
124 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_hmac_finish()
131 if (err == CC3XX_ERR_SUCCESS) { in cc3xx_hmac_finish()
Dcc3xx_drbg_hash.c96 if (err != CC3XX_ERR_SUCCESS) { in hash_df()
101 if (err != CC3XX_ERR_SUCCESS) { in hash_df()
107 if (err != CC3XX_ERR_SUCCESS) { in hash_df()
137 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hash_init()
147 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hash_init()
183 if (err != CC3XX_ERR_SUCCESS) { in hash_gen_process()
188 if (err!= CC3XX_ERR_SUCCESS) { in hash_gen_process()
250 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hash_generate()
254 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hash_generate()
258 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_hash_generate()
[all …]
Dcc3xx_init.c87 return CC3XX_ERR_SUCCESS; in setup_dfa_countermeasures()
101 if (err != CC3XX_ERR_SUCCESS) { in setup_dpa_countermeasures()
108 return CC3XX_ERR_SUCCESS; in setup_dpa_countermeasures()
123 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_init()
130 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_init()
142 return CC3XX_ERR_SUCCESS; in cc3xx_init()
147 return CC3XX_ERR_SUCCESS; in cc3xx_uninit()
Dcc3xx_drbg_ctr.c79 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_update()
86 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_update()
95 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_update()
101 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_update()
153 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_init()
197 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_generate()
210 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_generate()
218 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_generate()
229 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_generate()
240 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_drbg_ctr_generate()
[all …]
Dcc3xx_rng.c114 return CC3XX_ERR_SUCCESS; in fill_entropy_buf()
139 err = CC3XX_ERR_SUCCESS; in cc3xx_rng_get_random()
144 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_rng_get_random()
150 err = CC3XX_ERR_SUCCESS; in cc3xx_rng_get_random()
186 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_rng_get_random_uint()
200 return CC3XX_ERR_SUCCESS; in cc3xx_rng_get_random_uint()
Dcc3xx_kdf.c35 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_kdf_cmac()
54 err = CC3XX_ERR_SUCCESS; in cc3xx_kdf_cmac()
56 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_kdf_cmac()
Dcc3xx_aes.c41 cc3xx_err_t err = CC3XX_ERR_SUCCESS; in check_key_lock()
49 if (err != CC3XX_ERR_SUCCESS) { in check_key_lock()
80 return CC3XX_ERR_SUCCESS; in check_key_lock()
83 return CC3XX_ERR_SUCCESS; in check_key_lock()
89 cc3xx_err_t err = CC3XX_ERR_SUCCESS; in set_key()
123 if (err != CC3XX_ERR_SUCCESS) { in set_key()
156 return CC3XX_ERR_SUCCESS; in set_key()
371 if (err != CC3XX_ERR_SUCCESS) { in init_from_state()
387 if (err != CC3XX_ERR_SUCCESS) { in init_from_state()
411 return CC3XX_ERR_SUCCESS; in init_from_state()
[all …]
Dcc3xx_otp.c76 return CC3XX_ERR_SUCCESS; in cc3xx_otp_write()
103 return CC3XX_ERR_SUCCESS; in cc3xx_otp_read()
Dcc3xx_chacha.c157 return CC3XX_ERR_SUCCESS; in cc3xx_chacha20_init()
236 return CC3XX_ERR_SUCCESS; in cc3xx_chacha20_update()
277 return CC3XX_ERR_SUCCESS; in tag_cmp_or_copy()
326 return CC3XX_ERR_SUCCESS; in cc3xx_chacha20_finish()
Dcc3xx_error.h19 CC3XX_ERR_SUCCESS = 0, enumerator
Dcc3xx_lcs.c44 return CC3XX_ERR_SUCCESS; in cc3xx_lcs_get()
Dcc3xx_dma.c158 return CC3XX_ERR_SUCCESS; in cc3xx_dma_buffered_input_data()
188 return CC3XX_ERR_SUCCESS; in cc3xx_dma_buffered_input_data()
Dcc3xx_hash.c120 return CC3XX_ERR_SUCCESS; in cc3xx_hash_init()
Dcc3xx_pka.c688 if (err != CC3XX_ERR_SUCCESS) { in cc3xx_pka_set_to_random()
694 return CC3XX_ERR_SUCCESS; in cc3xx_pka_set_to_random()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/
Drss_key_derivation.c67 if (err != CC3XX_ERR_SUCCESS) { in rss_get_boot_state()
72 if (err != CC3XX_ERR_SUCCESS) { in rss_get_boot_state()
76 if (err != CC3XX_ERR_SUCCESS) { in rss_get_boot_state()
80 if (err != CC3XX_ERR_SUCCESS) { in rss_get_boot_state()
Drss_trng.c50 return CC3XX_ERR_SUCCESS; in rng_get_random()
Dotp_lcm.c374 if (cc_err != CC3XX_ERR_SUCCESS) { in otp_read_encrypted()
381 if (cc_err != CC3XX_ERR_SUCCESS) { in otp_read_encrypted()
428 if (cc_err != CC3XX_ERR_SUCCESS) { in otp_write_encrypted()
435 if (cc_err != CC3XX_ERR_SUCCESS) { in otp_write_encrypted()
448 if (cc_err != CC3XX_ERR_SUCCESS) { in otp_write_encrypted()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/provisioning/
Dbl1_provisioning.c123 if (cc_err != CC3XX_ERR_SUCCESS) { in provision_assembly_and_test()
152 if (cc_err != CC3XX_ERR_SUCCESS) { in provision_assembly_and_test()
197 if (cc_err != CC3XX_ERR_SUCCESS) { in provision_psa_rot()
226 if (cc_err != CC3XX_ERR_SUCCESS) { in provision_psa_rot()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/corstone1000/bl1/
Dcc312_rom_crypto.c150 if (err != CC3XX_ERR_SUCCESS) { in bl1_aes_256_ctr_decrypt()
188 if (err != CC3XX_ERR_SUCCESS) { in aes_256_ecb_encrypt()
221 if (err != CC3XX_ERR_SUCCESS) { in bl1_derive_key()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/bl1/
Dcc312_rom_crypto.c151 if (err != CC3XX_ERR_SUCCESS) { in bl1_aes_256_ctr_decrypt()
181 if (err != CC3XX_ERR_SUCCESS) { in bl1_derive_key()
Dboot_hal_bl1_1.c111 if (result != CC3XX_ERR_SUCCESS) { in boot_platform_init()
/trusted-firmware-m-3.6.0/platform/ext/target/arm/rss/common/cc312/
Dcc3xx_aes_external_key_loader.c98 return CC3XX_ERR_SUCCESS; in set_key()