arm-trusted-firmware/plat
Juan Pablo Conde 42cf602662 refactor(rmmd): plat token requests in pieces
Until now, the attestation token size was limited by the size of the
shared buffer between RMM and TF-A. With this change, RMM can now
request the token in pieces, so they fit in the shared buffer. A new
output parameter was added to the SMC call, which will return (along
with the size of bytes copied into the buffer) the number of bytes
of the token that remain to be retrieved.

TF-A will keep an offset variable that will indicate the position in
the token where the next call will retrieve bytes from. This offset
will be increased on every call by adding the number number of bytes
copied. If the received hash size is not 0, TF-A will reset the
offset to 0 and copy from that position on.

The SMC call will now return at most the size of the shared buffer
in bytes on every call. Therefore, from now on, multiple SMC calls
may be needed to be issued if the token size exceeds the shared
buffer size.

Change-Id: I591f7013d06f64e98afaf9535dbea6f815799723
Signed-off-by: Juan Pablo Conde <juanpablo.conde@arm.com>
2024-09-13 16:04:16 +02:00
..
allwinner fix(allwinner): dtb: check for correct error condition 2024-07-31 10:58:55 +01:00
amd/versal2 Merge "feat(versal2): add dummy implementation for SCMI PD" into integration 2024-08-12 11:50:54 +02:00
amlogic build: unify verbosity handling 2024-06-14 15:54:48 +00:00
arm refactor(rmmd): plat token requests in pieces 2024-09-13 16:04:16 +02:00
aspeed/ast2700 fix(ast2700): fix mpll calculate statement 2024-08-01 14:55:15 +08:00
brcm refactor(console): consolidate console runtime switch 2024-05-08 15:50:58 +02:00
common feat(bl): add plat handler for image loading 2024-06-13 11:30:29 +02:00
hisilicon fix(poplar): use sysctrl module to reset 2024-08-28 08:34:48 +02:00
imx build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
intel/soc Merge "fix(intel): update memcpy to memcpy_s" into integration 2024-08-30 20:09:24 +02:00
marvell build: consolidate directory creation rules 2024-07-22 09:41:30 +00:00
mediatek feat(mt8188): update SVP region ID protection flow 2024-08-15 14:55:36 +08:00
nuvoton fix(nuvoton): prevent changing clock frequency 2024-03-26 16:44:07 +02:00
nvidia/tegra refactor(cm): convert el1-ctx assembly offset entries to c structure 2024-07-26 17:08:12 +01:00
nxp Merge changes from topic "nxp-drivers/add-linflex-clk" into integration 2024-08-22 15:09:16 +02:00
qemu Merge "feat(handoff): fix register convention r1/x1 value on transfer list" into integration 2024-07-24 20:04:53 +02:00
qti Merge changes from topic "clean-up-errata-compatibility" into integration 2024-08-27 16:23:58 +02:00
renesas feat(rcar3): populate kaslr-seed in next stage DT 2024-07-06 17:58:00 +02:00
rockchip feat(rk3588): support SCMI for clock/reset domain 2024-08-13 15:45:37 +08:00
rpi Merge "feat(rpi5): add PCI SMCCC support" into integration 2024-07-09 12:39:13 +02:00
socionext build: unify verbosity handling 2024-06-14 15:54:48 +00:00
st feat(stm32mp2): load fw-config file 2024-08-12 15:54:52 +02:00
ti/k3 Revert "fix(ti): do not take system power reference in bl31_platform_setup()" 2024-02-05 10:45:48 +05:30
xilinx Merge "fix(zynqmp): handle secure SGI at EL1 for OP-TEE" into integration 2024-08-28 09:14:38 +02:00