| /optee_os/core/arch/arm/dts/ |
| H A D | sama7g5.dtsi | 138 status = "disabled"; 151 status = "disabled"; 160 status = "disabled"; 169 status = "disabled"; 181 status = "disabled"; 190 status = "disabled"; 191 secure-status = "okay"; 198 status = "disabled"; 216 status = "disabled"; 228 status = "disabled"; [all …]
|
| H A D | stm32mp15xx-dhcom-pdk2.dtsi | 31 status = "okay"; 83 status = "disabled"; 139 status = "okay"; 146 status = "okay"; 154 status = "okay"; 165 status = "okay"; 211 status = "okay"; 226 status = "okay"; 233 status = "okay"; 251 status = "okay"; [all …]
|
| H A D | stm32mp157c-ed1.dts | 97 status = "disabled"; 116 status = "disabled"; 121 status = "okay"; 136 status = "disabled"; 143 status = "disabled"; 145 status = "okay"; 148 status = "okay"; 153 status = "disabled"; 177 status = "disabled"; 188 status = "okay"; [all …]
|
| H A D | stm32mp15xx-dhcor-avenger96.dtsi | 87 status = "disabled"; 94 status = "okay"; 115 status = "okay"; 120 status = "okay"; 126 status = "okay"; 131 status = "okay"; 207 status = "disabled"; 217 status = "disabled"; 239 status = "okay"; 277 status = "okay"; [all …]
|
| H A D | stm32mp15xx-dhcor-som.dtsi | 68 status = "okay"; 72 status = "okay"; 97 status = "okay"; 107 status = "okay"; 226 status = "okay"; 231 status = "disabled"; 243 status = "okay"; 248 status = "okay"; 249 secure-status = "disabled"; 259 status = "okay"; [all …]
|
| /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.c | 46 .status = SCMI_SUCCESS, in report_version() 61 .status = SCMI_SUCCESS, in report_attributes() 77 .status = SCMI_SUCCESS, in report_message_attributes() 122 return_values.status = SCMI_SUCCESS; in reset_domain_attributes() 133 .status = SCMI_SUCCESS, in reset_request() 151 out_args.status = plat_scmi_rd_autonomous(msg->channel_id, in reset_request() 155 out_args.status = plat_scmi_rd_set_state(msg->channel_id, in reset_request() 158 out_args.status = plat_scmi_rd_set_state(msg->channel_id, in reset_request() 161 if (out_args.status) in reset_request() 162 scmi_status_response(msg, out_args.status); in reset_request()
|
| 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 | perf_domain.h | 42 int32_t status; member 66 int32_t status; member 100 int32_t status; member 112 int32_t status; member 121 int32_t status; member
|
| H A D | clock.h | 43 int32_t status; member 57 int32_t status; member 90 int32_t status; member 108 int32_t status; member 146 int32_t status; member
|
| /optee_os/core/drivers/ |
| H A D | zynqmp_csu_puf.c | 34 uint32_t status = 0; in zynqmp_csu_puf_regenerate() local 44 status = io_read32(csu + ZYNQMP_CSU_ISR_OFFSET); in zynqmp_csu_puf_regenerate() 45 if (status & ZYNQMP_CSU_ISR_PUF_ACC_ERROR_MASK) { in zynqmp_csu_puf_regenerate() 64 uint32_t status = 0; in zynqmp_csu_puf_init() local 67 status = io_read32(csu + ZYNQMP_CSU_STATUS_OFFSET); in zynqmp_csu_puf_init() 68 if (status & ZYNQMP_CSU_STATUS_AUTH) in zynqmp_csu_puf_init()
|
| H A D | lpc_uart.c | 23 uint32_t status = 0; in lpc_byte_read() local 33 status = io_read32(LPC_IRQ_ST_REG_OFFSET + addr); in lpc_byte_read() 34 while (!(status & LPC_IRQ_ST_ON)) { in lpc_byte_read() 38 status = io_read32(LPC_IRQ_ST_REG_OFFSET + addr); in lpc_byte_read() 49 uint32_t status = 0; in lpc_byte_write() local 59 status = io_read32(LPC_IRQ_ST_REG_OFFSET + addr); in lpc_byte_write() 60 while (!(status & LPC_IRQ_ST_ON)) { in lpc_byte_write() 64 status = io_read32(LPC_IRQ_ST_REG_OFFSET + addr); in lpc_byte_write()
|
| /optee_os/core/drivers/crypto/se050/core/ |
| H A D | storage.c | 18 sss_status_t status = kStatus_SSS_Success; in crypto_storage_obj_del() local 73 status = sss_se05x_key_object_init(&k_object, se050_kstore); in crypto_storage_obj_del() 74 if (status != kStatus_SSS_Success) in crypto_storage_obj_del() 77 status = sss_se05x_key_object_get_handle(&k_object, val); in crypto_storage_obj_del() 78 if (status != kStatus_SSS_Success) { in crypto_storage_obj_del() 85 status = sss_se05x_key_store_erase_key(se050_kstore, &k_object); in crypto_storage_obj_del() 86 if (status != kStatus_SSS_Success) { in crypto_storage_obj_del()
|
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | block_cipher.c | 45 static int mbedtls_cipher_error_from_psa(psa_status_t status) in mbedtls_cipher_error_from_psa() argument 47 return PSA_TO_MBEDTLS_ERR_LIST(status, psa_to_cipher_errors, in mbedtls_cipher_error_from_psa() 133 psa_status_t status; in mbedtls_block_cipher_setkey() local 140 status = psa_import_key(&key_attr, key, PSA_BITS_TO_BYTES(key_bitlen), &ctx->psa_key_id); in mbedtls_block_cipher_setkey() 141 if (status != PSA_SUCCESS) { in mbedtls_block_cipher_setkey() 142 return mbedtls_cipher_error_from_psa(status); in mbedtls_block_cipher_setkey() 174 psa_status_t status; in mbedtls_block_cipher_encrypt() local 177 status = psa_cipher_encrypt(ctx->psa_key_id, PSA_ALG_ECB_NO_PADDING, in mbedtls_block_cipher_encrypt() 179 if (status != PSA_SUCCESS) { in mbedtls_block_cipher_encrypt() 180 return mbedtls_cipher_error_from_psa(status); in mbedtls_block_cipher_encrypt()
|
| H A D | pk_ecc.c | 53 psa_status_t status; in mbedtls_pk_ecc_set_key() local 70 status = psa_import_key(&attributes, key, key_len, &pk->priv_id); in mbedtls_pk_ecc_set_key() 71 return psa_pk_status_to_mbedtls(status); in mbedtls_pk_ecc_set_key() 94 psa_status_t status; in mbedtls_pk_ecc_set_pubkey_from_prv() local 96 status = psa_export_public_key(pk->priv_id, pk->pub_raw, sizeof(pk->pub_raw), in mbedtls_pk_ecc_set_pubkey_from_prv() 98 return psa_pk_status_to_mbedtls(status); in mbedtls_pk_ecc_set_pubkey_from_prv() 104 psa_status_t status; in mbedtls_pk_ecc_set_pubkey_from_prv() 115 status = psa_import_key(&key_attr, prv, prv_len, &key_id); in mbedtls_pk_ecc_set_pubkey_from_prv() 116 if (status != PSA_SUCCESS) { in mbedtls_pk_ecc_set_pubkey_from_prv() 117 return psa_pk_status_to_mbedtls(status); in mbedtls_pk_ecc_set_pubkey_from_prv() [all …]
|
| H A D | psa_crypto_driver_wrappers_no_static.c | 129 psa_status_t status = PSA_ERROR_INVALID_ARGUMENT; in psa_driver_wrapper_export_public_key() local 161 status = mbedtls_test_transparent_export_public_key in psa_driver_wrapper_export_public_key() 170 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_export_public_key() 171 return( status ); in psa_driver_wrapper_export_public_key() 175 status = p256_transparent_export_public_key in psa_driver_wrapper_export_public_key() 184 if( status != PSA_ERROR_NOT_SUPPORTED ) in psa_driver_wrapper_export_public_key() 185 return( status ); in psa_driver_wrapper_export_public_key() 217 return( status ); in psa_driver_wrapper_export_public_key()
|
| H A D | psa_util_internal.h | 79 int psa_generic_status_to_mbedtls(psa_status_t status); 83 int psa_status_to_mbedtls(psa_status_t status, 91 int psa_pk_status_to_mbedtls(psa_status_t status); 94 #define PSA_TO_MBEDTLS_ERR_LIST(status, error_list, fallback_f) \ argument 95 psa_status_to_mbedtls(status, error_list, \
|
| H A D | pk.c | 315 psa_status_t status; in mbedtls_pk_can_do_ext() local 317 status = psa_get_key_attributes(ctx->priv_id, &attributes); in mbedtls_pk_can_do_ext() 318 if (status != PSA_SUCCESS) { in mbedtls_pk_can_do_ext() 522 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_pk_get_psa_attributes() local 523 status = psa_get_key_attributes(pk->priv_id, &old_attributes); in mbedtls_pk_get_psa_attributes() 524 if (status != PSA_SUCCESS) { in mbedtls_pk_get_psa_attributes() 594 psa_status_t status = psa_export_key(old_key_id, in export_import_into_psa() local 597 if (status != PSA_SUCCESS) { in export_import_into_psa() 598 return status; in export_import_into_psa() 600 status = psa_import_key(attributes, key_buffer, key_length, new_key_id); in export_import_into_psa() [all …]
|
| H A D | psa_crypto_hash.c | 346 psa_status_t status; in mbedtls_psa_hash_finish() local 361 status = PSA_ERROR_BUFFER_TOO_SMALL; in mbedtls_psa_hash_finish() 424 status = mbedtls_to_psa_error(ret); in mbedtls_psa_hash_finish() 427 if (status == PSA_SUCCESS) { in mbedtls_psa_hash_finish() 430 return status; in mbedtls_psa_hash_finish() 442 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_psa_hash_compute() local 446 status = mbedtls_psa_hash_setup(&operation, alg); in mbedtls_psa_hash_compute() 447 if (status != PSA_SUCCESS) { in mbedtls_psa_hash_compute() 450 status = mbedtls_psa_hash_update(&operation, input, input_length); in mbedtls_psa_hash_compute() 451 if (status != PSA_SUCCESS) { in mbedtls_psa_hash_compute() [all …]
|
| H A D | ssl_ticket.c | 24 static int local_err_translation(psa_status_t status) in local_err_translation() argument 26 return psa_status_to_mbedtls(status, psa_to_ssl_errors, in local_err_translation() 30 #define PSA_TO_MBEDTLS_ERR(status) local_err_translation(status) argument 129 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in ssl_ticket_update_keys() 140 if ((status = psa_destroy_key(ctx->keys[ctx->active].key)) != PSA_SUCCESS) { in ssl_ticket_update_keys() 141 return PSA_TO_MBEDTLS_ERR(status); in ssl_ticket_update_keys() 164 psa_status_t status = PSA_ERROR_CORRUPTION_DETECTED; in mbedtls_ssl_ticket_rotate() local 176 if ((status = psa_destroy_key(key->key)) != PSA_SUCCESS) { in mbedtls_ssl_ticket_rotate() 177 ret = PSA_TO_MBEDTLS_ERR(status); in mbedtls_ssl_ticket_rotate() 187 if ((status = psa_import_key(&attributes, k, in mbedtls_ssl_ticket_rotate() [all …]
|
| 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
|
| /optee_os/core/drivers/crypto/se050/adaptors/utils/ |
| H A D | utils.c | 24 smStatus_t status = SM_NOT_OK; in delete_transient_objects() local 42 status = Se05x_API_ReadIDList(ctx, offset, 0xFF, &more, in delete_transient_objects() 44 if (status != SM_OK) in delete_transient_objects() 57 status = Se05x_API_ReadType(ctx, id, &type, &mode, att); in delete_transient_objects() 58 if (status != SM_OK) in delete_transient_objects() 99 sss_status_t status = kStatus_SSS_Success; in se050_get_oid() local 105 status = se050_get_free_memory(&se050_session->s_ctx, &mem_t, in se050_get_oid() 107 if (status != kStatus_SSS_Success) in se050_get_oid()
|
| /optee_os/core/pta/veraison_attestation/ |
| H A D | veraison_attestation.c | 54 TEE_Result status = TEE_SUCCESS; in cmd_get_cbor_evidence() local 83 status = get_hash_ta_memory(measurement_value); in cmd_get_cbor_evidence() 84 if (status != TEE_SUCCESS) in cmd_get_cbor_evidence() 85 return status; in cmd_get_cbor_evidence() 120 status = TEE_ERROR_GENERIC; in cmd_get_cbor_evidence() 127 status = TEE_ERROR_SHORT_BUFFER; in cmd_get_cbor_evidence() 139 return status; in cmd_get_cbor_evidence()
|
| /optee_os/core/include/dt-bindings/clock/ |
| H A D | stm32mp21-clksrc.h | 164 #define MCO_CFG(addr, sel, status) (CMD_ADDR_BIT |\ argument 166 ((status) << MCO_STATUS_SHIFT) |\ 182 #define OBS_CFG(id, status, int_ext, div, inv, sel)\ argument 185 ((status) << OBS_STATUS_SHIFT) |\ 212 #define OBS_INT_CFG(id, status, div, inv, sel)\ argument 213 OBS_CFG((id), (status), OBS_INT, (div), (inv), (sel)) 215 #define OBS_EXT_CFG(id, status, div, inv, sel)\ argument 216 OBS_CFG((id), (status), OBS_EXT, (div), (inv), (sel))
|
| /optee_os/core/drivers/clk/ |
| H A D | clk_dt.c | 101 int status = 0; in clk_probe_clock_provider_node() local 104 status = fdt_get_status(fdt, node); in clk_probe_clock_provider_node() 105 if (!(status & DT_STATUS_OK_SEC)) in clk_probe_clock_provider_node() 127 int status = 0; in clk_probe_node() local 131 status = fdt_get_status(fdt, child); in clk_probe_node() 132 if (status == DT_STATUS_DISABLED) in clk_probe_node() 188 int status = 0; in clk_probe_assigned() local 193 status = fdt_get_status(fdt, child); in clk_probe_assigned() 194 if (status == DT_STATUS_DISABLED) in clk_probe_assigned()
|