blob: bf16adc778cad7535601400bac286ba80c95a232 [file] [log] [blame]
Julian Hall201ce462021-04-29 11:05:34 +01001/*
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 Hall482fd2f2021-05-17 16:34:48 +01009/**
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 Hall201ce462021-04-29 11:05:34 +010016/* Variable length input parameter tags */
17enum
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 */
26enum
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 */