| /rk3399_ARM-atf/drivers/measured_boot/rse/ |
| H A D | dice_prot_env.c | 45 static void map_metadata_to_dice_inputs(struct dpe_metadata *metadata, in map_metadata_to_dice_inputs() argument 49 memcpy(dice_inputs->authority_hash, metadata->signer_id, in map_metadata_to_dice_inputs() 53 assert(metadata->sw_type_size < DICE_CODE_DESCRIPTOR_MAX_SIZE); in map_metadata_to_dice_inputs() 54 dice_inputs->code_descriptor = metadata->sw_type; in map_metadata_to_dice_inputs() 55 dice_inputs->code_descriptor_size = metadata->sw_type_size; in map_metadata_to_dice_inputs() 58 void dpe_init(struct dpe_metadata *metadata) in dpe_init() argument 60 assert(metadata != NULL); in dpe_init() 63 while (metadata->id != DPE_INVALID_ID) { in dpe_init() 65 metadata->sw_type_size = in dpe_init() 66 strlen((const char *)&metadata->sw_type); in dpe_init() [all …]
|
| /rk3399_ARM-atf/drivers/fwu/ |
| H A D | fwu.c | 38 static struct fwu_metadata metadata; variable 49 unsigned char *data = (unsigned char *)&metadata; in fwu_metadata_crc_check() 51 uint32_t calc_crc = tf_crc32(0U, data + sizeof(metadata.crc_32), in fwu_metadata_crc_check() 52 (sizeof(metadata) - in fwu_metadata_crc_check() 53 sizeof(metadata.crc_32))); in fwu_metadata_crc_check() 55 if (metadata.crc_32 != calc_crc) { in fwu_metadata_crc_check() 69 if (metadata.version != FWU_METADATA_VERSION) { in fwu_metadata_sanity_check() 71 metadata.version); in fwu_metadata_sanity_check() 75 if (metadata.active_index >= NR_OF_FW_BANKS) { in fwu_metadata_sanity_check() 77 metadata.active_index, NR_OF_FW_BANKS); in fwu_metadata_sanity_check() [all …]
|
| /rk3399_ARM-atf/plat/brcm/board/common/ |
| H A D | bcm_elog_ddr.c | 26 uintptr_t metadata; in elog_init_ddr_log() local 53 metadata = TMP_ELOG_METADATA_BASE; in elog_init_ddr_log() 55 memcpy((void *)metadata, &global, sizeof(global)); in elog_init_ddr_log() 56 metadata += sizeof(global); in elog_init_ddr_log() 109 memcpy((void *)metadata, &rec, sizeof(rec)); in elog_init_ddr_log() 110 metadata += sizeof(rec); in elog_init_ddr_log()
|
| /rk3399_ARM-atf/include/drivers/measured_boot/rse/ |
| H A D | dice_prot_env.h | 34 void dpe_init(struct dpe_metadata *metadata); 37 int dpe_measure_and_record(struct dpe_metadata *metadata, 41 int dpe_set_signer_id(struct dpe_metadata *metadata,
|
| /rk3399_ARM-atf/docs/threat_model/firmware_threat_model/ |
| H A D | threat_model_fw_update_and_recovery.rst | 56 PSA FWU is driven by metadata stored in non-volatile storage. This metadata 62 Below we provide some possible FWU metadata corruption scenarios: 64 1. The FWU metadata includes the firmware bank for booting; the attacker 66 2. The FWU metadata features a field indicating the firmware's status, either 72 of FWU metadata relies on the platform's hardware design to mitigate potential 74 For example, FWU metadata may be stored in secure storage under exclusive
|
| H A D | threat_model_firmware_handoff.rst | 16 by A class firmware components. It is used to transfer state/metadata (e.g., 66 through the TL — including platform configuration data, firmware metadata, and
|
| H A D | threat_model.rst | 736 | | such as FIP metadata, prior to use. | 910 verification public key is part of the image metadata. 912 In addition to these, other metadata attributes (image version, hash algorithm
|
| /rk3399_ARM-atf/tools/cot_dt2c/cot_dt2c/ |
| H A D | __init__.py | 13 from importlib import metadata as importlib_metadata
|
| /rk3399_ARM-atf/plat/arm/common/ |
| H A D | arm_io_storage.c | 243 void plat_fwu_set_images_source(const struct fwu_metadata *metadata) in plat_fwu_set_images_source() argument 245 arm_set_fip_addr(metadata->active_index); in plat_fwu_set_images_source()
|
| /rk3399_ARM-atf/docs/design_documents/ |
| H A D | rse.rst | 137 computed during the boot process and the associated metadata (image 148 which were computed during the boot process and the associated metadata. It is 225 service which is meant to store measurements and associated metadata alongside. 265 The following metadata can be stored alongside the measurement: 278 measurement and metadata. A measurement slot can be extended by multiple 296 rest of the metadata is handled as follows when a measurement slot is extended 304 Extending multiple measurements in the same slot leads to some metadata 306 store the measurements and metadata, therefore it is worth considering to 316 Furthermore, the memory, which holds the metadata is also statically allocated 319 by the bootloaders when the firmware image is loaded and measured. The metadata [all …]
|
| /rk3399_ARM-atf/plat/st/common/ |
| H A D | bl2_io_storage.c | 739 void plat_fwu_set_images_source(const struct fwu_metadata *metadata) in plat_fwu_set_images_source() argument 754 img_entry = (void *)&metadata->fw_desc.img_entry; in plat_fwu_set_images_source()
|
| /rk3399_ARM-atf/docs/plat/qti/ |
| H A D | rb3gen2.rst | 27 components in corresponding locations as specified in FIP metadata.
|
| H A D | msm8916.rst | 126 but it provides the firmware with required metadata.
|
| /rk3399_ARM-atf/include/plat/common/ |
| H A D | platform.h | 535 void plat_fwu_set_images_source(const struct fwu_metadata *metadata);
|
| /rk3399_ARM-atf/ |
| H A D | poetry.lock | 62 importlib-metadata = {version = ">=4.6", markers = "python_full_version < \"3.10.2\""} 70 typing = ["build[uv]", "importlib-metadata (>=5.1)", "mypy (>=1.9.0,<1.10.0)", "tomli", "typing-ext… 405 name = "importlib-metadata" 407 description = "Read metadata from Python packages" 958 core = ["importlib-metadata (>=6)", "importlib-resources (>=5.10.2)", "jaraco.collections", "jaraco… 963 type = ["importlib-metadata (>=7.0.2)", "jaraco.develop (>=7.21)", "mypy (==1.12.*)", "pytest-mypy"] 1019 importlib-metadata = {version = ">=4.8", markers = "python_version < \"3.10\""} 1447 [metadata]
|
| /rk3399_ARM-atf/docs/components/ |
| H A D | firmware-update.rst | 54 and write updated FWU metadata in non-volatile storage. 58 - Read FWU metadata in memory 60 present in non-volatile storage with the help of FWU metadata
|
| H A D | context-management-library.rst | 28 security state and save enough EL3 metadata to be able to return to that exception
|
| /rk3399_ARM-atf/tools/memory/ |
| H A D | poetry.lock | 261 [metadata]
|
| /rk3399_ARM-atf/tools/tlc/ |
| H A D | poetry.lock | 987 pytest-metadata = ">=2.0.0" 994 name = "pytest-metadata" 996 description = "pytest plugin for test session metadata" 1249 core = ["importlib-metadata (>=6) ; python_version < \"3.10\"", "importlib-resources (>=5.10.2) ; p… 1254 type = ["importlib-metadata (>=7.0.2) ; python_version < \"3.10\"", "jaraco.develop (>=7.21) ; sys_… 1557 [metadata]
|
| /rk3399_ARM-atf/docs/getting_started/ |
| H A D | build-options.rst | 1496 set to ``1`` then measurements and additional metadata collected during the 1607 in defining the firmware update metadata structure. This flag is by default 1613 This flag is used in defining the firmware update metadata structure. This 1617 metadata contains image description. The default value is 1. 1619 The version 2 of the FWU metadata allows for an opaque metadata 1621 store description in the metadata structure. This option indicates
|
| /rk3399_ARM-atf/tools/cot_dt2c/ |
| H A D | poetry.lock | 365 [metadata]
|
| /rk3399_ARM-atf/docs/ |
| H A D | porting-guide.rst | 1193 Argument : const struct fwu_metadata *metadata 1199 FWU metadata, and update I/O policies of active/updated images using retrieved 1217 responsible for setting up the platform I/O policy of the requested metadata 1221 FWU metadata can not be always stored as a raw image in non-volatile storage 1224 For example, the FWU metadata image is stored as a partition inside the GUID 1228 the I/O policy of the FWU metadata image. 1229 Further I/O layer operations such as I/O open, I/O read, etc. on FWU metadata 1234 of the requested FWU metadata image. 1248 By default, the platform will read the metadata structure and try to boot from
|
| H A D | change-log.md | 3649 …- add a config flag for including image info in the FWU metadata ([11d05a7](https://review.trusted… 3651 …- add some sanity checks for the FWU metadata ([d2566cf](https://review.trustedfirmware.org/plugin… 3652 …- document the config flag for including image info in the FWU metadata ([7ae1619](https://review.… 3653 …- migrate FWU metadata structure to version 2 ([a89d58b](https://review.trustedfirmware.org/plugin… 4599 …- add public key-OID information in RSS metadata structure ([bfbb1cb](https://review.trustedfirmwa… 4960 …- set the signer-ID in the RSS metadata ([60861a0](https://review.trustedfirmware.org/plugins/giti… 6007 …- remove null-terminator from RSS metadata ([85a14bc](https://review.trustedfirmware.org/plugins/g… 7362 …- determine the size of sw_type in RSS mboot metadata ([2c8f2a9](https://review.trustedfirmware.or… 7744 …- add support for reading the metadata partition ([0ca180f](https://review.trustedfirmware.org/plu… 7920 …- add a function to pass metadata structure to platforms ([9adce87](https://review.trustedfirmware… [all …]
|
| /rk3399_ARM-atf/docs/design/ |
| H A D | firmware-design.rst | 1656 metadata indicating where these data will be stored at run-time and the
|