mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-11 07:04:22 +00:00
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:
parent
f801fdc22e
commit
9c9a31eb9a
1 changed files with 12 additions and 0 deletions
|
@ -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 */
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue