feat(qemu): add plat_rmmd_mecid_key_update()

Add an implementation of the plat_rmmd_mecid_key_update() callback, that
updates the MEC keys associated with a MECID. Leave it empty for now,
since QEMU doesn't yet implement an MPE (Memory Protection Engine).

Change-Id: I2746f6024f28e4fd487726de9e43e14d8cad57a0
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
This commit is contained in:
Jean-Philippe Brucker 2025-03-18 14:35:11 +00:00 committed by Juan Pablo Conde
parent f801fdc22e
commit 9c9a31eb9a

View file

@ -400,6 +400,18 @@ int plat_rmmd_load_manifest(struct rmm_manifest *manifest)
return 0;
}
/*
* Update encryption key associated with @mecid.
*/
int plat_rmmd_mecid_key_update(uint16_t mecid)
{
/*
* QEMU does not provide an interface to change the encryption key
* associated with MECID. Hence always return success.
*/
return 0;
}
#endif /* ENABLE_RME */
/**