aboutsummaryrefslogtreecommitdiff
path: root/protocols/service/attestation/packed-c/get_token.h
blob: bf16adc778cad7535601400bac286ba80c95a232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
 * Copyright (c) 2021, Arm Limited and Contributors. All rights reserved.
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef TS_ATTESTATION_GET_TOKEN_H
#define TS_ATTESTATION_GET_TOKEN_H

/**
 * Parameter definitions for the GET_TOKEN operation.
 *
 * Fetches a signed attestation token to allow device
 * state to be remotely verified.
 */

/* Variable length input parameter tags */
enum
{
    /* TLV tag to identify the auth_challenge
     * input parameter.
     */
    TS_ATTESTATION_GET_TOKEN_IN_TAG_AUTH_CHALLENGE = 1,
};

/* Variable length output parameter tags */
enum
{
    /* TLV tag to identify the signed token
     * output parameter.
     */
    TS_ATTESTATION_GET_TOKEN_OUT_TAG_TOKEN  = 1
};

#endif /* TS_ATTESTATION_GET_TOKEN_H */