arm-trusted-firmware/include/lib/psa/cca_attestation.h
Vivek Gautam 98d36e5b02 feat(psa): introduce generic library for CCA attestation
Add a generic Arm CCA attestation library driver to interface with the
PSA delegated attestation partition APIs that use RSE to fetch the
platform attestation token and Realm attestation key.

Signed-off-by: Rohit Mathew <rohit.mathew@arm.com>
Signed-off-by: Vivek Gautam <vivek.gautam@arm.com>
Change-Id: I882273e97567cc068f90d2ef089410f3a93c6b00
2024-06-07 11:40:08 +01:00

20 lines
471 B
C

/*
* Copyright (c) 2024, Arm Limited and Contributors. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#ifndef CCA_ATTESTATION_H
#define CCA_ATTESTATION_H
#include <stdint.h>
#include <psa/crypto_types.h>
psa_status_t
cca_attestation_get_realm_key(uintptr_t buf, size_t *len, unsigned int type);
psa_status_t
cca_attestation_get_plat_token(uintptr_t buf, size_t *len,
uintptr_t hash, size_t hash_size);
#endif /* CCA_ATTESTATION_H */