| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | psa_crypto.c | 590 static void psa_wipe_tag_output_buffer(uint8_t *output_buffer, psa_status_t status, in psa_wipe_tag_output_buffer() 731 psa_status_t status = psa_allocate_buffer_to_slot(slot, in psa_copy_key_material_into_slot() local 747 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_import_key_into_slot() local 1103 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_with_policy() local 1169 psa_status_t status = psa_get_and_lock_key_slot_with_policy(key, p_slot, in psa_get_and_lock_transparent_key_slot_with_policy() local 1207 psa_status_t status = psa_remove_key_data_from_memory(slot); in psa_wipe_key_slot() local 1280 psa_status_t status; /* status of the last operation */ in psa_destroy_key() local 1430 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_key_attributes() local 1509 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_export_key() local 1624 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_export_public_key() local [all …]
|
| H A D | psa_crypto_storage.c | 79 psa_status_t status; in psa_crypto_storage_load() local 132 psa_status_t status; in psa_crypto_storage_store() local 205 psa_status_t status; in psa_crypto_storage_get_data_length() local 272 psa_status_t status; in psa_parse_key_data_from_storage() local 323 psa_status_t status; in psa_save_persistent_key() local 359 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key() local 407 psa_status_t status; in psa_crypto_save_transaction() local 424 psa_status_t status; in psa_crypto_load_transaction() local 440 psa_status_t status = psa_its_remove(PSA_CRYPTO_ITS_TRANSACTION_UID); in psa_crypto_stop_transaction() local 460 psa_status_t status; in mbedtls_psa_storage_inject_entropy() local
|
| H A D | psa_crypto_aead.c | 33 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_aead_setup() local 126 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_encrypt() local 238 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_decrypt() local 328 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_encrypt_setup() local 349 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_decrypt_setup() local 367 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_set_nonce() local 449 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_update_ad() local 493 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_update() local 558 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_aead_finish() local
|
| H A D | block_cipher.c | 45 static int mbedtls_cipher_error_from_psa(psa_status_t status) in mbedtls_cipher_error_from_psa() 133 psa_status_t status; in mbedtls_block_cipher_setkey() local 174 psa_status_t status; in mbedtls_block_cipher_encrypt() local
|
| H A D | psa_crypto_driver_wrappers.h | 74 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_init() local 122 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_message() local 196 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_message() local 283 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_hash() local 386 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_hash() local 515 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_sign_hash_start() local 607 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_verify_hash_start() local 735 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_generate_key() local 845 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_driver_wrapper_import_key() local 955 psa_status_t status = PSA_ERROR_INVALID_ARGUMENT; in psa_driver_wrapper_export_key() local [all …]
|
| H A D | ssl_cookie.c | 30 static int local_err_translation(psa_status_t status) in local_err_translation() 36 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument 110 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cookie_setup() local 195 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cookie_write() local 284 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_cookie_check() local
|
| H A D | psa_crypto_mac.c | 41 psa_status_t status; in psa_hmac_setup_internal() local 120 psa_status_t status; in psa_hmac_finish_internal() local 206 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mac_init() local 277 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_mac_setup() local 409 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_mac_sign_finish() local 429 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_mac_verify_finish() local 466 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_mac_compute() local
|
| H A D | psa_crypto_se.c | 128 psa_status_t status; in psa_load_se_persistent_data() local 153 psa_status_t status; in psa_save_se_persistent_data() local 186 psa_status_t status; in psa_find_se_slot_for_key() local 237 psa_status_t status; in psa_destroy_se_key() local 269 psa_status_t status = methods->p_init( in psa_init_all_se_drivers() local 296 psa_status_t status; in psa_register_se_driver() local
|
| H A D | psa_crypto_slot_management.c | 386 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot_in_memory() local 537 psa_status_t status = psa_key_slot_state_transition(slot, in psa_allocate_volatile_key_slot() local 598 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_reserve_free_key_slot() local 684 psa_status_t status = PSA_SUCCESS; in psa_load_persistent_key_into_slot() local 728 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_load_builtin_key_into_slot() local 801 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_get_and_lock_key_slot() local 927 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_unregister_read_under_mutex() local 991 psa_status_t status; in psa_open_key() local 1017 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_close_key() local 1058 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_purge_key() local
|
| H A D | psa_crypto_rsa.c | 46 psa_status_t status; in psa_check_rsa_key_byte_aligned() local 63 psa_status_t status; in mbedtls_psa_rsa_load_representation() local 115 psa_status_t status; in mbedtls_psa_rsa_import_key() local 195 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_export_public_key() local 245 psa_status_t status; in mbedtls_psa_rsa_generate_key() local 322 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_sign_hash() local 421 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_rsa_verify_hash() local 527 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_asymmetric_encrypt() local 621 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_asymmetric_decrypt() local
|
| H A D | psa_crypto_ecp.c | 96 psa_status_t status; in mbedtls_psa_ecp_load_representation() local 215 psa_status_t status; in mbedtls_psa_ecp_import_key() local 257 psa_status_t status; in mbedtls_psa_ecp_export_key() local 295 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecp_export_public_key() local 369 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_sign_hash() local 455 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_ecdsa_verify_hash() local 526 psa_status_t status; in mbedtls_psa_key_agreement_ecdh() local
|
| H A D | pk_internal.h | 24 #define PSA_PK_TO_MBEDTLS_ERR(status) psa_pk_status_to_mbedtls(status) argument 25 #define PSA_PK_RSA_TO_MBEDTLS_ERR(status) PSA_TO_MBEDTLS_ERR_LIST(status, \ argument 28 #define PSA_PK_ECDSA_TO_MBEDTLS_ERR(status) PSA_TO_MBEDTLS_ERR_LIST(status, \ argument
|
| H A D | psa_crypto_cipher.c | 262 psa_status_t status; in mbedtls_cipher_info_from_psa() local 423 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in psa_cipher_update_ecb() local 501 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_update() local 553 psa_status_t status = PSA_ERROR_GENERIC_ERROR; in mbedtls_psa_cipher_finish() local 614 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_encrypt() local 670 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_cipher_decrypt() local
|
| /optee_os/core/drivers/crypto/caam/utils/ |
| H A D | utils_status.c | 11 TEE_Result job_status_to_tee_result(uint32_t status) in job_status_to_tee_result() 37 TEE_Result caam_status_to_tee_result(enum caam_status status) in caam_status_to_tee_result()
|
| /optee_os/core/drivers/crypto/se050/adaptors/apis/ |
| H A D | apdu.c | 27 smStatus_t status = SM_OK; in se050_key_exists() local 50 smStatus_t status = SM_OK; in set_rsa_public() local 108 smStatus_t status = SM_OK; in set_rsa_private_rsa() local 155 smStatus_t status = SM_OK; in set_rsa_private_rsa_crt() local 255 smStatus_t status = SM_OK; in set_rsa_keypair_rsa() local 318 smStatus_t status = SM_OK; in set_rsa_keypair_rsa_crt() local 552 smStatus_t status = SM_OK; in se050_ecc_gen_shared_secret() local 579 smStatus_t status = SM_NOT_OK; in set_ecc_public() local 609 smStatus_t status = SM_NOT_OK; in set_ecc_private() local 634 smStatus_t status = SM_NOT_OK; in set_ecc_pair() local [all …]
|
| H A D | sss.c | 56 sss_status_t status = kStatus_SSS_Fail; in se050_rotate_scp03_keys() local 152 sss_status_t status = kStatus_SSS_Success; in se050_enable_scp03() local 187 sss_status_t status = kStatus_SSS_Fail; in se050_session_open() local
|
| H A D | user.c | 16 sss_status_t status = kStatus_SSS_Fail; in alloc_scp_key_to_auth() local 37 sss_status_t status = kStatus_SSS_Fail; in prepare_host_scp() local 100 sss_status_t status = kStatus_SSS_Fail; in se050_configure_host() local
|
| /optee_os/core/drivers/crypto/caam/include/ |
| H A D | caam_jr_status.h | 15 #define JRSTA_SRC_GET(status) ((status) & BM_JRSTA_SRC) argument 25 #define JRSTA_CCB_GET_ERR(status) ((status) & SHIFT_U32(0xFF, 0)) argument 32 #define JRSTA_GET_HALT_USER(status) \ argument
|
| H A D | caam_jr.h | 18 uint32_t status; /* executed job status */ member 50 uint32_t status; /* Status of the executed job */ member 59 uint32_t status; /* Status of the executed job */ member
|
| /optee_os/core/drivers/scmi-msg/ |
| H A D | voltage_domain.h | 32 int32_t status; member 43 int32_t status; member 77 int32_t status; member 89 uint32_t status; member 97 int32_t status; member 109 uint32_t status; member 117 int32_t status; member
|
| H A D | reset_domain.h | 46 int32_t status; member 66 int32_t status; member 88 int32_t status; member 104 int32_t status; member 112 int32_t status; member
|
| H A D | base.h | 48 int32_t status; member 56 int32_t status; member 73 int32_t status; member
|
| /optee_os/core/drivers/crypto/se050/ |
| H A D | session.c | 18 sss_status_t status = kStatus_SSS_Success; in se050_core_early_init() local 45 sss_status_t status = kStatus_SSS_Success; in update_se_info() local
|
| /optee_os/core/drivers/crypto/caam/hal/common/ |
| H A D | hal_sm.c | 32 uint32_t status = 0; in issue_cmd() local 127 uint32_t status = 0; in caam_hal_sm_allocate_page() local 166 unsigned int status = 0; in caam_hal_sm_deallocate_partition() local 184 uint32_t status = 0; in caam_hal_sm_deallocate_pages() local
|
| /optee_os/core/drivers/crypto/caam/ |
| H A D | caam_key.c | 280 enum caam_status status = CAAM_FAILURE; in caam_key_operation_blob() local 414 enum caam_status status = CAAM_FAILURE; in caam_key_deserialize_from_bin() local 485 enum caam_status status = CAAM_FAILURE; in caam_key_serialize_to_bin() local 583 enum caam_status status = CAAM_FAILURE; in caam_key_deserialize_from_bn() local 614 enum caam_status status = CAAM_FAILURE; in caam_key_serialize_to_bn() local 649 enum caam_status status = CAAM_FAILURE; in caam_key_black_encapsulation() local
|