arm-trusted-firmware/drivers
laurenw-arm 7a9e9f6e96 feat(gpt): validate CRC of GPT partition entries
While loading partition entries, calculate CRC using tf_crc32() for each
entry to find the full CRC value of the partition entry array.

The start of the GPT partition entry array is located at the LBA
indicated by the partition entry array LBA field in the GPT header. The
size of the partition entry array is indicated by the size of partition
entry multiplied by the number of partition entries.

Compare the calculated CRC with the partition entry array CRC in the GPT
header, error out if the values do not match.

Change-Id: I4bfed8cf903125c1ef3fac2f0f4c0fb87d63aa78
Signed-off-by: Lauren Wehrmeister <lauren.wehrmeister@arm.com>
2024-02-27 09:44:21 -06:00
..
allwinner refactor(allwinner): use fdt_node_is_enabled() in AXP driver 2023-02-03 13:31:28 +00:00
amlogic refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
arm Merge changes from topic "mb/tc-model-update" into integration 2024-02-15 16:57:33 +01:00
auth Merge "build(mbedtls): add deprecation notice" into integration 2023-11-13 20:01:39 +01:00
brcm fix(tree): correct some typos 2023-05-09 15:57:12 +01:00
cadence fix(intel): update nand driver to match GHRD design 2024-01-23 00:05:11 +08:00
cfi/v2m coverity: fix MISRA violations 2020-02-18 10:47:46 -06:00
clk feat(clk): add a minimal clock framework 2021-12-22 13:07:23 +01:00
console refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
coreboot/cbmem_console/aarch64 Don't return error information from console_flush 2020-10-09 10:21:50 -05:00
delay_timer include: move MHZ_TICKS_PER_SEC to utils_def.h 2020-02-20 09:25:45 -08:00
fwu fix(fwu): rename is_fwu_initialized 2022-03-28 09:10:11 +02:00
gpio Sanitise includes across codebase 2019-01-04 10:43:17 +00:00
imx fix: unify fallthrough annotations 2022-12-01 16:17:24 +00:00
intel/soc/stratix10/io io: change seek offset to signed long long 2020-01-10 21:14:57 +01:00
io chore(io): remove io_dummy driver 2023-04-28 15:45:43 +02:00
marvell refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
measured_boot feat(rss): set the signer-ID in the RSS metadata 2023-07-28 09:01:15 +01:00
mentor/i2c Enable -Wlogical-op always 2019-11-19 08:53:21 -06:00
mmc fix(mmc): initialises response buffer with zeros 2023-09-16 10:42:39 +00:00
mtd fix(nand): reset the SLC NAND 2023-09-27 16:21:58 +02:00
nxp refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
partition feat(gpt): validate CRC of GPT partition entries 2024-02-27 09:44:21 -06:00
rambus drivers/rambus: add TRNG-IP-76 driver 2021-02-11 09:43:18 +00:00
renesas fix(rcar3): fix load address range check 2023-12-13 22:12:15 +01:00
rpi3 fix(rpi3): initialize SD card host controller 2023-04-13 10:29:51 +01:00
scmi-msg fix(scmi): add parameter for plat_scmi_clock_rates_array 2023-08-21 19:46:52 +08:00
st Merge "refactor(st-i2c): use fdt_read_uint32_default()" into integration 2024-02-26 12:09:27 +01:00
synopsys Merge changes from topic "jc/shift-overflow" into integration 2019-07-16 10:11:27 +00:00
ti/uart refactor(console): disable getc() by default 2023-10-11 08:40:14 +02:00
ufs chore(ufs): refactor ufs_get_device_info 2024-02-20 02:19:19 -08:00
usb fix(usb): correct type in message 2022-02-15 18:09:51 +01:00