arm-trusted-firmware/services/std_svc
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
..
drtm fix(drtm): return proper values for DRTM get and set error SMCs 2024-08-29 17:31:35 +01:00
errata_abi refactor(errata-abi): move EXTRACT_PARTNUM to arch.h 2024-08-17 09:38:31 +01:00
rmmd refactor(rmmd): plat token requests in pieces 2024-09-13 16:04:16 +02:00
sdei fix(sdei): fix a crash when attempting to bind more events than are available 2024-08-27 09:11:26 +01:00
spm chore(cm): reorganise sctlr_el1 and tcr_el1 ctx code 2024-08-21 08:45:25 +01:00
spmd feat(el3-spmc): support simd context management upon world switch 2024-08-19 11:11:14 -05:00
trng refactor(trng): discarding the used entropy bits 2022-11-14 10:08:56 +00:00
pci_svc.c SMCCC/PCI: Handle std svc boilerplate 2021-05-25 14:49:08 +02:00
std_svc_setup.c fix(std_svc): continue boot if rmmd_setup fails 2024-07-21 11:41:14 +00:00