Re: [PATCH RFC v3 8/8] selftest: attestation: add cca_guest_attestation_test selftest

From: Jason Gunthorpe

Date: Fri Nov 27 2026 - 12:09:08 EST


On Fri, Nov 27, 2026 at 03:33:03PM +0000, Yeoreum Yun wrote:
> Add CCA Realm Guest attestation selftest to test evidence-get, mr_read
> and mr_extend interfaces.
>
> Signed-off-by: Yeoreum Yun <yeoreum.yun@xxxxxxx>
> ---
> tools/testing/selftests/attestation/.gitignore | 1 +
> tools/testing/selftests/attestation/Makefile | 9 +-
> .../attestation/cca_guest_attestation_test.c | 517 +++++++++++++++++++++
> 3 files changed, 524 insertions(+), 3 deletions(-)

FWIW, I really want to have an attestation userspace project and there
is where stuff like this should end up living..

We haven't got to launching a github for it yet, but that's the plan
anyhow.

Jason