mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-21 03:54:34 +00:00

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
20 lines
471 B
C
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 */
|