Julian Hall | 201ce46 | 2021-04-29 11:05:34 +0100 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved. |
| 3 | * SPDX-License-Identifier: BSD-3-Clause |
| 4 | */ |
| 5 | |
| 6 | #ifndef TS_ATTESTATION_GET_TOKEN_H |
| 7 | #define TS_ATTESTATION_GET_TOKEN_H |
| 8 | |
Julian Hall | 482fd2f | 2021-05-17 16:34:48 +0100 | [diff] [blame^] | 9 | /** |
| 10 | * Parameter definitions for the GET_TOKEN operation. |
| 11 | * |
| 12 | * Fetches a signed attestation token to allow device |
| 13 | * state to be remotely verified. |
| 14 | */ |
| 15 | |
Julian Hall | 201ce46 | 2021-04-29 11:05:34 +0100 | [diff] [blame] | 16 | /* Variable length input parameter tags */ |
| 17 | enum |
| 18 | { |
| 19 | /* TLV tag to identify the auth_challenge |
| 20 | * input parameter. |
| 21 | */ |
| 22 | TS_ATTESTATION_GET_TOKEN_IN_TAG_AUTH_CHALLENGE = 1, |
| 23 | }; |
| 24 | |
| 25 | /* Variable length output parameter tags */ |
| 26 | enum |
| 27 | { |
| 28 | /* TLV tag to identify the signed token |
| 29 | * output parameter. |
| 30 | */ |
| 31 | TS_ATTESTATION_GET_TOKEN_OUT_TAG_TOKEN = 1 |
| 32 | }; |
| 33 | |
| 34 | #endif /* TS_ATTESTATION_GET_TOKEN_H */ |