Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 25 of 129) sorted by relevance

123456

/trusted-firmware-a/drivers/measured_boot/event_log/
A Devent_log.c126 (void)memcpy(ptr, (const void *)hash, TCG_DIGEST_SIZE); in event_log_record()
133 (void)memcpy((void *)(((event2_data_t *)ptr)->event), in event_log_record()
180 (void)memcpy(ptr, (const void *)&id_event_header, in event_log_write_header()
205 (void)memcpy(ptr, (const void *)&locality_event_header, in event_log_write_header()
223 (void)memcpy(ptr, (const void *)locality_signature, in event_log_write_header()
/trusted-firmware-a/plat/hisilicon/hikey960/
A Dhikey960_mcu_load.c31 memcpy((void *)HISI_DATA0_BASE, in fw_data_init()
34 memcpy((void *)HISI_DATA1_BASE, in fw_data_init()
/trusted-firmware-a/build/qemu/release/libc/
A Dmemcpy.d1 /home/test/workspace/code/optee_3.16/trusted-firmware-a/build/qemu/release/libc/memcpy.o: \
2 lib/libc/memcpy.c include/lib/libc/stddef.h \
/trusted-firmware-a/plat/amlogic/common/
A Daml_scpi.c128 memcpy(dst, response + 1, *response); in aml_scpi_efuse_read()
163 memcpy((void *)obuff, (const void *)response, osize); in aml_scpi_get_chip_id()
178 memcpy(dst, data + sz, MIN(SIZE_FWBLK, len - sz)); in aml_scpi_copy_scp_data()
204 memcpy(dst, hash, len); in aml_scpi_send_fw_hash()
/trusted-firmware-a/plat/nxp/soc-lx2160a/lx2160ardb/
A Dddr_init.c60 memcpy(&priv->ddr_reg, &static_1600, sizeof(static_1600)); in board_static_ddr()
61 memcpy(&priv->dimm, &static_dimm, sizeof(static_dimm)); in board_static_ddr()
116 memcpy(pdimm, &ddr_raw_timing, sizeof(struct dimm_params)); in ddr_get_ddr_params()
117 memcpy(pdimm->mpart, dimm_model, sizeof(dimm_model) - 1); in ddr_get_ddr_params()
/trusted-firmware-a/plat/brcm/board/common/
A Dbcm_elog_ddr.c55 memcpy((void *)metadata, &global, sizeof(global)); in elog_init_ddr_log()
106 memcpy(rec.rec_desc, rec_desc[rec_idx], in elog_init_ddr_log()
109 memcpy((void *)metadata, &rec, sizeof(rec)); in elog_init_ddr_log()
A Dboard_arm_trusted_boot.c139 memcpy(rotpk_hash_der, rotpk_hash_hdr, rotpk_hash_hdr_len); in plat_get_rotpk_info()
143 memcpy(dst, arm_devel_rotpk_hash, SHA256_BYTES); in plat_get_rotpk_info()
217 memcpy(dst, in plat_get_rotpk_info()
232 memcpy(dst, plat_rotpk_hash, SHA256_BYTES); in plat_get_rotpk_info()
271 memcpy(dst, plat_rotpk_hash, SHA256_BYTES); in plat_get_rotpk_info()
/trusted-firmware-a/lib/romlib/
A Dinit.s9 .extern memset, memcpy
24 bl memcpy
/trusted-firmware-a/plat/socionext/synquacer/drivers/scpi/
A Dsq_scpi.c70 memcpy(cmd, (void *) SCPI_SHARED_MEM_SCP_TO_AP, sizeof(*cmd)); in scpi_secure_message_receive()
109 memcpy((void *) SCPI_SHARED_MEM_AP_TO_SCP, &scpi_cmd, sizeof(scpi_cmd)); in scpi_wait_ready()
211 memcpy(&response, (void *)SCPI_SHARED_MEM_SCP_TO_AP, sizeof(response)); in scpi_get_draminfo()
/trusted-firmware-a/plat/arm/common/
A Darm_image_load.c110 (void) memcpy(bl2_mem_params_descs_cpy, bl_mem_params_desc_ptr, in arm_get_next_bl_params()
126 (void) memcpy(next_bl_params_cpy_ptr, next_bl_params, in arm_get_next_bl_params()
/trusted-firmware-a/drivers/scmi-msg/
A Dentry.c43 memcpy(msg->out, &status, sizeof(int32_t)); in scmi_status_response()
57 memcpy(msg->out, payload, size); in scmi_write_response()
/trusted-firmware-a/drivers/st/crypto/
A Dstm32_hash.c170 memcpy(digest + (i * sizeof(uint32_t)), &dsg, sizeof(uint32_t)); in hash_get_digest()
199 memcpy(((uint8_t *)&stm32_remain.buffer) + stm32_remain.length, in stm32_hash_update()
216 memcpy(&tmp_buf, buffer, sizeof(uint32_t)); in stm32_hash_update()
229 memcpy((uint8_t *)&stm32_remain.buffer, buffer, remain_length); in stm32_hash_update()
/trusted-firmware-a/plat/hisilicon/hikey/
A Dhisi_pwrc.c87 memcpy((void *)PWRCTRL_ACPU_ASM_SPACE_ADDR, (void *)v7_asm, in hisi_pwrc_setup()
90 memcpy((void *)PWRCTRL_ACPU_ASM_CODE_BASE, (void *)pm_asm_code, in hisi_pwrc_setup()
/trusted-firmware-a/plat/nxp/soc-ls1028a/ls1028ardb/
A Dddr_init.c58 memcpy(&priv->ddr_reg, &static_1600, sizeof(static_1600)); in board_static_ddr()
154 memcpy(pdimm, &ddr_raw_timing, sizeof(struct dimm_params)); in ddr_get_ddr_params()
155 memcpy(pdimm->mpart, dimm_model, sizeof(dimm_model) - 1); in ddr_get_ddr_params()
/trusted-firmware-a/plat/arm/css/sgi/
A Dsgi_ras.c148 memcpy(&header->data, &err_rec->aux_data, sizeof(err_rec->aux_data)); in sgi_ras_intr_handler()
150 memcpy(&header->header_guid, (void *) &dmc620_ecc_event_guid, in sgi_ras_intr_handler()
/trusted-firmware-a/lib/libc/
A Dmemcpy.c10 void *memcpy(void *dst, const void *src, size_t len) in memcpy() function
A Dmemmove.c21 return memcpy(dst, src, len); in memmove()
/trusted-firmware-a/lib/libfdt/
A Dfdt_rw.c151 memcpy(new, s, len); in fdt_find_add_string_()
254 memcpy(namep, name, newlen+1); in fdt_set_name()
287 memcpy(prop_data, val, len); in fdt_setprop()
308 memcpy(prop->data + oldlen, val, len); in fdt_appendprop()
313 memcpy(prop->data, val, len); in fdt_appendprop()
367 memcpy(nh->name, name, namelen); in fdt_add_subnode_namelen()
/trusted-firmware-a/plat/nxp/soc-lx2160a/lx2160aqds/
A Dddr_init.c191 (void)memcpy(&priv->ddr_reg, &static_2900, sizeof(static_2900)); in board_static_ddr()
192 (void)memcpy(&priv->dimm, &static_dimm, sizeof(static_dimm)); in board_static_ddr()
247 memcpy(pdimm, &ddr_raw_timing, sizeof(struct dimm_params)); in ddr_get_ddr_params()
248 memcpy(pdimm->mpart, dimm_model, sizeof(dimm_model) - 1); in ddr_get_ddr_params()
/trusted-firmware-a/plat/nxp/soc-lx2160a/lx2162aqds/
A Dddr_init.c191 memcpy(&priv->ddr_reg, &static_2900, sizeof(static_2900)); in board_static_ddr()
192 memcpy(&priv->dimm, &static_dimm, sizeof(static_dimm)); in board_static_ddr()
246 memcpy(pdimm, &ddr_raw_timing, sizeof(struct dimm_params)); in ddr_get_ddr_params()
247 memcpy(pdimm->mpart, dimm_model, sizeof(dimm_model) - 1); in ddr_get_ddr_params()
/trusted-firmware-a/lib/coreboot/
A Dcoreboot_table.c140 memcpy(&coreboot_memranges, &entry->memranges, size); in coreboot_table_setup()
143 memcpy(&coreboot_serial, &entry->serial, in coreboot_table_setup()
/trusted-firmware-a/lib/debugfs/
A Ddebugfs_smc.c96 memcpy(&parms, (void *)DEBUGFS_SHARED_BUF_VIRT, in debugfs_smc_handler()
175 memcpy((void *)DEBUGFS_SHARED_BUF_VIRT, &parms, in debugfs_smc_handler()
/trusted-firmware-a/tools/marvell/doimage/
A Ddoimage.c320 memcpy(signature, buf, 256); in create_rsa_signature()
451 memcpy(IV, opts.sec_opts->aes_key_file, k); in image_encrypt()
462 memcpy(IV, digest, AES_BLOCK_SZ); in image_encrypt()
483 memcpy(opts.sec_opts->encrypted_image + in image_encrypt()
509 memcpy(IV, opts.sec_opts->encrypted_image + in image_encrypt()
635 memcpy(copy_to, element, element_length); in verify_and_copy_file_name_entry()
890 memcpy(out_der_key, der_buf_start, output_len); in format_sec_ext()
954 memcpy(sec_ext.cp_ctrl_arr, in format_sec_ext()
957 memcpy(sec_ext.cp_efuse_arr, in format_sec_ext()
1667 memcpy(in_file, argv[optind], len); in main()
[all …]
/trusted-firmware-a/plat/brcm/common/
A Dbrcm_scpi.c77 memcpy(cmd, (void *) SCPI_SHARED_MEM_SCP_TO_AP, sizeof(*cmd)); in scpi_secure_message_receive()
117 memcpy((void *) SCPI_SHARED_MEM_AP_TO_SCP, &scpi_cmd, sizeof(scpi_cmd)); in scpi_wait_ready()
/trusted-firmware-a/plat/arm/board/common/
A Dboard_arm_trusted_boot.c71 memcpy(rotpk_hash_der, arm_rotpk_header, ARM_ROTPK_HEADER_LEN); in arm_get_rotpk_info_regs()
122 memcpy(rotpk_hash_der, arm_rotpk_header, ARM_ROTPK_HEADER_LEN); in arm_get_rotpk_info_cc()

Completed in 46 milliseconds

123456