/trusted-firmware-m-3.7.0/secure_fw/partitions/internal_trusted_storage/flash_fs/ |
D | its_flash_fs.c | 51 != PSA_SUCCESS) { in its_flash_fs_file_write_aligned_data() 103 psa_status_t ret = PSA_SUCCESS; in its_flash_fs_validate_config() 153 if (err != PSA_SUCCESS) { in its_flash_fs_init_ctx() 164 return PSA_SUCCESS; in its_flash_fs_init_ctx() 174 if (err != PSA_SUCCESS) { in its_flash_fs_prepare() 183 if (err == PSA_SUCCESS) { in its_flash_fs_prepare() 189 return PSA_SUCCESS; in its_flash_fs_prepare() 208 if (err != PSA_SUCCESS) { in its_flash_fs_file_get_info() 220 return PSA_SUCCESS; in its_flash_fs_file_get_info() 255 if (err == PSA_SUCCESS) { in its_flash_fs_file_write() [all …]
|
D | its_flash_fs_mblock.c | 243 if (its_utils_validate_fid(file_meta->id) == PSA_SUCCESS) { in its_mblock_validate_file_meta() 269 if (err != PSA_SUCCESS) { in its_mblock_validate_file_meta() 274 return PSA_SUCCESS; in its_mblock_validate_file_meta() 305 if (err != PSA_SUCCESS) { in its_mblock_validate_block_meta() 323 return PSA_SUCCESS; in its_mblock_validate_block_meta() 352 if (err != PSA_SUCCESS) { in its_mblock_validate_block_meta_comp() 372 return PSA_SUCCESS; in its_mblock_validate_block_meta_comp() 408 if (err != PSA_SUCCESS) { in its_mblock_calculate_metadata_xor() 424 if (err != PSA_SUCCESS) { in its_mblock_calculate_metadata_xor() 434 return PSA_SUCCESS; in its_mblock_calculate_metadata_xor() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/psa-adac/ |
D | adac_crypto_cc312_hash.c | 27 return chk == 0 ? PSA_SUCCESS : PSA_ERROR_INVALID_SIGNATURE; in hash_check() 60 PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR; in psa_adac_hash_multiple() 62 for (size_t i = 0; (i < input_count) && (status == PSA_SUCCESS); i++) { in psa_adac_hash_multiple() 64 PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR; in psa_adac_hash_multiple() 66 if (status == PSA_SUCCESS) { in psa_adac_hash_multiple() 68 PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR; in psa_adac_hash_multiple() 70 if (status == PSA_SUCCESS) { in psa_adac_hash_multiple() 83 PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR; in psa_adac_hash_multiple() 84 for (size_t i = 0; (i < input_count) && (status == PSA_SUCCESS); i++) { in psa_adac_hash_multiple() 86 PSA_SUCCESS : PSA_ERROR_GENERIC_ERROR; in psa_adac_hash_multiple() [all …]
|
/trusted-firmware-m-3.7.0/secure_fw/partitions/internal_trusted_storage/ |
D | tfm_internal_trusted_storage.c | 109 return PSA_SUCCESS; 131 if (status != PSA_SUCCESS) { 136 return PSA_SUCCESS; 156 if (status != PSA_SUCCESS) { 169 if (status != PSA_SUCCESS) { 183 return PSA_SUCCESS; 234 return PSA_SUCCESS; 269 return PSA_SUCCESS; 275 psa_status_t status = PSA_SUCCESS; 279 if (status != PSA_SUCCESS) { [all …]
|
/trusted-firmware-m-3.7.0/secure_fw/partitions/protected_storage/crypto/ |
D | ps_crypto_interface.c | 57 return PSA_SUCCESS; in ps_crypto_init() 77 if (status != PSA_SUCCESS) { in ps_crypto_setkey() 84 if (status != PSA_SUCCESS) { in ps_crypto_setkey() 92 if (status != PSA_SUCCESS) { in ps_crypto_setkey() 98 if (status != PSA_SUCCESS) { in ps_crypto_setkey() 104 if (status != PSA_SUCCESS) { in ps_crypto_setkey() 108 return PSA_SUCCESS; in ps_crypto_setkey() 125 if (status != PSA_SUCCESS) { in ps_crypto_destroykey() 129 return PSA_SUCCESS; in ps_crypto_destroykey() 188 return PSA_SUCCESS; in ps_crypto_get_iv() [all …]
|
/trusted-firmware-m-3.7.0/secure_fw/partitions/protected_storage/ |
D | ps_object_table.c | 238 if (err != PSA_SUCCESS) { in ps_object_table_fs_read_table() 248 if (err != PSA_SUCCESS) { in ps_object_table_fs_read_table() 275 if (err != PSA_SUCCESS) { in ps_object_table_fs_write_table() 283 return PSA_SUCCESS; in ps_object_table_fs_write_table() 302 if (err != PSA_SUCCESS) { in ps_object_table_align_nv_counters() 308 if (err != PSA_SUCCESS) { in ps_object_table_align_nv_counters() 315 if (err != PSA_SUCCESS) { in ps_object_table_align_nv_counters() 321 if (err != PSA_SUCCESS) { in ps_object_table_align_nv_counters() 326 return PSA_SUCCESS; in ps_object_table_align_nv_counters() 349 if (err != PSA_SUCCESS) { in ps_object_table_nvc_generate_auth_tag() [all …]
|
D | ps_encrypted_object.c | 43 return PSA_SUCCESS; in fill_key_label() 69 if (err != PSA_SUCCESS) { in ps_object_auth_decrypt() 74 if (err != PSA_SUCCESS) { in ps_object_auth_decrypt() 91 if (err != PSA_SUCCESS || out_len != cur_size) { in ps_object_auth_decrypt() 120 if (err != PSA_SUCCESS) { in ps_object_auth_encrypt() 125 if (err != PSA_SUCCESS) { in ps_object_auth_encrypt() 131 if (err != PSA_SUCCESS) { in ps_object_auth_encrypt() 148 if (err != PSA_SUCCESS || out_len != cur_size) { in ps_object_auth_encrypt() 172 if (err != PSA_SUCCESS) { in ps_encrypted_object_read() 185 if (err != PSA_SUCCESS) { in ps_encrypted_object_read() [all …]
|
D | ps_object_system.c | 73 if (err != PSA_SUCCESS) { in ps_remove_old_data() 106 if (err != PSA_SUCCESS) { in ps_read_object() 125 if (err != PSA_SUCCESS) { in ps_read_object() 130 return PSA_SUCCESS; in ps_read_object() 185 if (err != PSA_SUCCESS) { in ps_object_read() 199 if (err != PSA_SUCCESS) { in ps_object_read() 246 if (err == PSA_SUCCESS) { in ps_object_create() 257 if (err != PSA_SUCCESS) { in ps_object_create() 288 if (err != PSA_SUCCESS) { in ps_object_create() 298 if (err != PSA_SUCCESS) { in ps_object_create() [all …]
|
/trusted-firmware-m-3.7.0/lib/ext/cryptocell-312-runtime/codesafe/src/psa_driver_api/src/ |
D | cc3xx_psa_aead.c | 70 return PSA_SUCCESS; in check_alg() 90 return PSA_SUCCESS; in check_alg() 116 if (ret != PSA_SUCCESS) { in aead_setup() 141 != PSA_SUCCESS) { in aead_setup() 151 != PSA_SUCCESS) { in aead_setup() 171 != PSA_SUCCESS) { in aead_setup() 181 != PSA_SUCCESS) { in aead_setup() 208 if (ret != PSA_SUCCESS) { in aead_setup() 277 if (status != PSA_SUCCESS) { in aead_one_shot_with_multipart() 284 if (status != PSA_SUCCESS) { in aead_one_shot_with_multipart() [all …]
|
D | cc3xx_psa_cipher.c | 41 return PSA_SUCCESS; in add_pkcs_padding() 116 != PSA_SUCCESS) { in cipher_setup() 126 != PSA_SUCCESS) { in cipher_setup() 144 != PSA_SUCCESS) { in cipher_setup() 227 if (ret == PSA_SUCCESS) { in cc3xx_cipher_set_iv() 253 ret = PSA_SUCCESS; in cc3xx_cipher_set_iv() 313 return PSA_SUCCESS; in cc3xx_cipher_update() 332 != PSA_SUCCESS) { in cc3xx_cipher_update() 370 != PSA_SUCCESS) { in cc3xx_cipher_update() 387 != PSA_SUCCESS) { in cc3xx_cipher_update() [all …]
|
D | cc3xx_internal_gcm.c | 81 return PSA_SUCCESS; in gcm_setkey() 112 return PSA_SUCCESS; in gcm_calc_h() 193 if (status != PSA_SUCCESS) { in gcm_init() 277 return PSA_SUCCESS; in gcm_process_j0() 301 return PSA_SUCCESS; in gcm_process_aad() 323 return PSA_SUCCESS; in gcm_process_aad() 338 return PSA_SUCCESS; in gcm_process_cipher() 357 return PSA_SUCCESS; in gcm_process_cipher() 394 return PSA_SUCCESS; in gcm_process_lenA_lenC() 437 status = PSA_SUCCESS; in gcm_finish() [all …]
|
D | cc3xx_psa_mac.c | 68 return PSA_SUCCESS; in cmac_init() 102 return PSA_SUCCESS; in cmac_setkey() 118 if (status != PSA_SUCCESS) { in cmac_setup() 123 if (status != PSA_SUCCESS) { in cmac_setup() 130 if (status != PSA_SUCCESS) { in cmac_setup() 134 return PSA_SUCCESS; in cmac_setup() 210 return PSA_SUCCESS; in cmac_update() 247 return PSA_SUCCESS; in cmac_finish() 297 if (status != PSA_SUCCESS) { in hmac_setup() 316 if (status != PSA_SUCCESS) { in hmac_setup() [all …]
|
D | cc3xx_psa_hash.c | 119 return PSA_SUCCESS; in hash_update() 170 return PSA_SUCCESS; in cc3xx_hash_setup() 185 return PSA_SUCCESS; in cc3xx_hash_clone() 202 return PSA_SUCCESS; in cc3xx_hash_update() 217 if (status != PSA_SUCCESS) { in cc3xx_hash_update() 224 if (status != PSA_SUCCESS) { in cc3xx_hash_update() 310 return PSA_SUCCESS; in cc3xx_hash_finish() 318 return PSA_SUCCESS; in cc3xx_hash_abort() 322 return PSA_SUCCESS; in cc3xx_hash_abort() 334 if (status != PSA_SUCCESS) { in cc3xx_hash_compute() [all …]
|
D | cc3xx_psa_key_agreement.c | 53 != PSA_SUCCESS) { in cc3xx_key_agreement() 62 != PSA_SUCCESS) { in cc3xx_key_agreement() 72 != PSA_SUCCESS) { in cc3xx_key_agreement() 82 != PSA_SUCCESS) { in cc3xx_key_agreement() 91 != PSA_SUCCESS) { in cc3xx_key_agreement()
|
D | cc3xx_internal_chacha20.c | 43 return PSA_SUCCESS; in chacha_block() 92 return PSA_SUCCESS; in cc3xx_chacha20_setkey() 105 return PSA_SUCCESS; in cc3xx_chacha20_set_nonce() 122 return PSA_SUCCESS; in cc3xx_chacha20_set_counter() 142 return PSA_SUCCESS; in cc3xx_chacha20_update() 165 return PSA_SUCCESS; in cc3xx_chacha20_update() 174 if (status != PSA_SUCCESS) { in cc3xx_chacha20_update() 189 if (status != PSA_SUCCESS) { in cc3xx_chacha20_update() 223 return PSA_SUCCESS; in cc3xx_chacha20_finish()
|
D | cc3xx_internal_chacha20_poly1305.c | 58 if (status != PSA_SUCCESS) { in chacha20_poly1305_crypt_and_tag() 63 if (status != PSA_SUCCESS) { in chacha20_poly1305_crypt_and_tag() 68 if (status != PSA_SUCCESS) { in chacha20_poly1305_crypt_and_tag() 79 if (status != PSA_SUCCESS) { in chacha20_poly1305_crypt_and_tag() 87 if (status != PSA_SUCCESS) { in chacha20_poly1305_crypt_and_tag() 105 status = PSA_SUCCESS; in chacha20_poly1305_crypt_and_tag() 156 if (status != PSA_SUCCESS) { in cc3xx_chacha20_poly1305_gen_otk() 169 if (status != PSA_SUCCESS) { in cc3xx_chacha20_poly1305_gen_otk() 180 return PSA_SUCCESS; in cc3xx_chacha20_poly1305_gen_otk() 199 return PSA_SUCCESS; in cc3xx_chacha20_poly1305_set_otk() [all …]
|
/trusted-firmware-m-3.7.0/platform/ext/accelerator/cc312/cc312-rom/psa_driver_api/src/ |
D | cc3xx_psa_hash.c | 75 return PSA_SUCCESS; in cc3xx_hash_setup() 86 return PSA_SUCCESS; in cc3xx_hash_clone() 100 return PSA_SUCCESS; in cc3xx_hash_update() 118 return PSA_SUCCESS; in cc3xx_hash_update() 147 return PSA_SUCCESS; in cc3xx_hash_finish() 153 return PSA_SUCCESS; in cc3xx_hash_abort() 167 if (status != PSA_SUCCESS) { in cc3xx_hash_compute() 171 if (status != PSA_SUCCESS) { in cc3xx_hash_compute() 175 if (status != PSA_SUCCESS) { in cc3xx_hash_compute() 181 if (status == PSA_SUCCESS) { in cc3xx_hash_compute()
|
/trusted-firmware-m-3.7.0/secure_fw/partitions/firmware_update/ |
D | tfm_fwu_req_mngr.c | 80 if (status != PSA_SUCCESS) { in tfm_fwu_start() 91 if (status != PSA_SUCCESS) { in tfm_fwu_start() 97 return PSA_SUCCESS; in tfm_fwu_start() 105 psa_status_t status = PSA_SUCCESS; in tfm_fwu_write() 156 if (status != PSA_SUCCESS) { in tfm_fwu_write() 189 return PSA_SUCCESS; in tfm_fwu_finish() 213 if (status != PSA_SUCCESS) { in tfm_fwu_install() 238 if (status == PSA_SUCCESS) { in tfm_fwu_install() 293 if (result == PSA_SUCCESS) { in tfm_fwu_query() 304 return PSA_SUCCESS; in tfm_fwu_request_reboot() [all …]
|
/trusted-firmware-m-3.7.0/secure_fw/spm/core/ |
D | psa_connection_api.c | 30 if (status != PSA_SUCCESS) { in tfm_spm_client_psa_connect() 63 if (tfm_spm_check_authorization(sid, service, ns_caller) != PSA_SUCCESS) { in spm_psa_connect_client_id_associated() 71 if (tfm_spm_check_client_version(service, version) != PSA_SUCCESS) { in spm_psa_connect_client_id_associated() 91 return PSA_SUCCESS; in spm_psa_connect_client_id_associated() 107 return PSA_SUCCESS; in spm_psa_close_client_id_associated() 120 if (status != PSA_SUCCESS) { in spm_psa_close_client_id_associated() 146 return PSA_SUCCESS; in tfm_spm_partition_psa_set_rhandle()
|
/trusted-firmware-m-3.7.0/platform/ext/target/arm/mps4/corstone315/ |
D | crypto_keys.c | 78 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 83 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 89 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 95 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 115 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 120 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 125 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 130 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 135 if (status != PSA_SUCCESS) { in tfm_plat_get_iak() 139 return PSA_SUCCESS; in tfm_plat_get_iak()
|
/trusted-firmware-m-3.7.0/secure_fw/partitions/crypto/ |
D | crypto_init.c | 57 return PSA_SUCCESS; in tfm_crypto_get_caller_id() 87 return PSA_SUCCESS; in tfm_crypto_init_iovecs() 104 return PSA_SUCCESS; in tfm_crypto_set_scratch_owner() 110 return PSA_SUCCESS; in tfm_crypto_get_scratch_owner() 128 return PSA_SUCCESS; in tfm_crypto_alloc_scratch() 163 if (status != PSA_SUCCESS) { in tfm_crypto_init_iovecs() 177 if (status != PSA_SUCCESS) { in tfm_crypto_init_iovecs() 186 return PSA_SUCCESS; in tfm_crypto_init_iovecs() 192 psa_status_t status = PSA_SUCCESS; in tfm_crypto_call_srv() 222 if (status != PSA_SUCCESS) { in tfm_crypto_call_srv() [all …]
|
D | crypto_cipher.c | 50 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 68 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 98 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 109 return PSA_SUCCESS; in tfm_crypto_cipher_interface() 121 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 136 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 144 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 158 if (status != PSA_SUCCESS) { in tfm_crypto_cipher_interface() 170 if (status == PSA_SUCCESS) { in tfm_crypto_cipher_interface()
|
D | crypto_alloc.c | 78 return PSA_SUCCESS; in tfm_crypto_init_alloc() 101 if (status != PSA_SUCCESS) { in tfm_crypto_operation_alloc() 112 return PSA_SUCCESS; in tfm_crypto_operation_alloc() 134 if (status != PSA_SUCCESS) { in tfm_crypto_operation_release() 146 return PSA_SUCCESS; in tfm_crypto_operation_release() 169 if (status != PSA_SUCCESS) { in tfm_crypto_operation_lookup() 177 return PSA_SUCCESS; in tfm_crypto_operation_lookup()
|
D | crypto_hash.c | 44 if (status != PSA_SUCCESS) { in tfm_crypto_hash_interface() 88 if (status != PSA_SUCCESS) { in tfm_crypto_hash_interface() 99 return PSA_SUCCESS; in tfm_crypto_hash_interface() 108 if (status != PSA_SUCCESS) { in tfm_crypto_hash_interface() 126 if (status == PSA_SUCCESS) { in tfm_crypto_hash_interface() 139 if (status == PSA_SUCCESS) { in tfm_crypto_hash_interface() 159 if (status != PSA_SUCCESS) { in tfm_crypto_hash_interface() 163 if (status != PSA_SUCCESS) { in tfm_crypto_hash_interface()
|
/trusted-firmware-m-3.7.0/bl2/src/ |
D | thin_psa_crypto_core.c | 124 return PSA_SUCCESS; in get_builtin_public_key() 142 return PSA_SUCCESS; in psa_hash_abort() 168 if (status != PSA_SUCCESS) { in psa_hash_setup() 187 return PSA_SUCCESS; in psa_hash_update() 192 if (status != PSA_SUCCESS) { in psa_hash_update() 276 return PSA_SUCCESS; in psa_import_key() 284 return PSA_SUCCESS; in psa_get_key_attributes() 308 return PSA_SUCCESS; in psa_destroy_key() 328 if (status != PSA_SUCCESS) { in psa_verify_hash() 346 return PSA_SUCCESS; in mbedtls_to_psa_error() [all …]
|