blob: 502ab3e7d8d673624f9e1f0d17666b9a877bb6bb [file] [log] [blame]
Tamas Ban48a0eb52018-08-17 12:48:05 +01001/*
2 * Copyright (c) 2018, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __TFM_INITIAL_ATTESTATION_VENEERS_H__
9#define __TFM_INITIAL_ATTESTATION_VENEERS_H__
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#include "psa_client.h"
16
17/**
18 * \brief Get initial attestation token
19 *
20 * \param[in] in_vec Pointer to in_vec array, which contains input data
21 * to attestation service
22 * \param[in] num_invec Number of elements in in_vec array
23 * \param[in/out] out_vec Pointer out_vec array, which contains output data
24 * to attestation service
25 * \param[in] num_outvec Number of elements in out_vec array
26 *
27 * \return Returns error code as specified in \ref psa_attest_err_t
28 */
29enum psa_attest_err_t
30tfm_attest_veneer_get_token(const psa_invec *in_vec, uint32_t num_invec,
31 psa_outvec *out_vec, uint32_t num_outvec);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif /* __TFM_INITIAL_ATTESTATION_VENEERS_H__ */