]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(rme): add dummy realm attestation key to RMMD
authorSoby Mathew <soby.mathew@arm.com>
Tue, 22 Mar 2022 16:21:19 +0000 (16:21 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Mon, 28 Mar 2022 13:02:01 +0000 (15:02 +0200)
commita0435105f229a65c7861b5997793f905cf90b823
tree11a4bdfbd9d22a1ad7d1302a592b7cb43c54a3ac
parent0f9159b7ebb7e784a8ed998869ff21095fa105b1
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
docs/getting_started/porting-guide.rst
include/plat/common/platform.h
include/services/rmmd_svc.h
plat/arm/board/fvp/fvp_realm_attest_key.c [new file with mode: 0644]
plat/arm/board/fvp/platform.mk
services/std_svc/rmmd/rmmd_attest.c
services/std_svc/rmmd/rmmd_main.c
services/std_svc/rmmd/rmmd_private.h