summaryrefslogtreecommitdiff
path: root/include/plat
diff options
context:
space:
mode:
authorSoby Mathew <soby.mathew@arm.com>2022-03-22 16:21:19 +0000
committerSoby Mathew <soby.mathew@arm.com>2022-03-28 15:02:01 +0200
commita0435105f229a65c7861b5997793f905cf90b823 (patch)
tree11a4bdfbd9d22a1ad7d1302a592b7cb43c54a3ac /include/plat
parent0f9159b7ebb7e784a8ed998869ff21095fa105b1 (diff)
downloadarm-trusted-firmware-a0435105f229a65c7861b5997793f905cf90b823.tar.gz
feat(rme): add dummy realm attestation key to RMMD
Add a dummy realm attestation key to RMMD, and return it on request. The realm attestation key is requested with an SMC with the following parameters: * Fid (0xC400001B2). * Attestation key buffer PA (the realm attestation key is copied at this address by the monitor). * Attestation key buffer length as input and size of realm attesation key as output. * Type of elliptic curve. Signed-off-by: Tamas Ban <tamas.ban@arm.com> Signed-off-by: Subhasish Ghosh <subhasish.ghosh@arm.com> Signed-off-by: Soby Mathew <soby.mathew@arm.com> Change-Id: I12d8d98fd221f4638ef225c9383374ddf6e65eac
Diffstat (limited to 'include/plat')
-rw-r--r--include/plat/common/platform.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/plat/common/platform.h b/include/plat/common/platform.h
index 9deb33dfd..766450901 100644
--- a/include/plat/common/platform.h
+++ b/include/plat/common/platform.h
@@ -307,6 +307,9 @@ plat_local_state_t plat_get_target_pwr_state(unsigned int lvl,
******************************************************************************/
int plat_get_cca_attest_token(uintptr_t buf, size_t *len,
uintptr_t hash, size_t hash_size);
+int plat_get_cca_realm_attest_key(uintptr_t buf, size_t *len,
+ unsigned int type);
+
/*******************************************************************************
* Optional BL31 functions (may be overridden)
******************************************************************************/