]> git.baikalelectronics.ru Git - arm-tf.git/commit
feat(rme): add dummy platform token to RMMD
authorSoby Mathew <soby.mathew@arm.com>
Tue, 22 Mar 2022 16:19:39 +0000 (16:19 +0000)
committerSoby Mathew <soby.mathew@arm.com>
Fri, 25 Mar 2022 17:12:26 +0000 (17:12 +0000)
commit0f9159b7ebb7e784a8ed998869ff21095fa105b1
tree3e72e2d4d6742e78a2b451144f44c31c953f2c2d
parent319fb08438d10d60eb8bd013d052a55b9472c548
feat(rme): add dummy platform token to RMMD

Add a dummy platform token to RMMD and return it on request. The
platform token is requested with an SMC with the following parameters:
    * Fid (0xC40001B3).
    * Platform token PA (the platform token is copied at this address by
      the monitor). The challenge object needs to be passed by
      the caller in this buffer.
    * Platform token len.
    * Challenge object len.

When calling the SMC, the platform token buffer received by EL3 contains
the challenge object. It is not used on the FVP and is only printed to
the log.

Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
Signed-off-by: Subhasish Ghosh <subhasish.ghosh@arm.com>
Change-Id: I8b2f1d54426c04e76d7a3baa6b0fbc40b0116348
docs/getting_started/porting-guide.rst
include/plat/common/platform.h
include/services/rmmd_svc.h
plat/arm/board/fvp/fvp_plat_attest_token.c [new file with mode: 0644]
plat/arm/board/fvp/include/platform_def.h
plat/arm/board/fvp/platform.mk
services/std_svc/rmmd/rmmd.mk
services/std_svc/rmmd/rmmd_attest.c [new file with mode: 0644]
services/std_svc/rmmd/rmmd_main.c
services/std_svc/rmmd/rmmd_private.h