Tamas Ban | 48a0eb5 | 2018-08-17 12:48:05 +0100 | [diff] [blame^] | 1 | /* |
| 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 |
| 12 | extern "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 | */ |
| 29 | enum psa_attest_err_t |
| 30 | tfm_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__ */ |