Mbed OS Reference
Loading...
Searching...
No Matches
attest_eat_defines.h
1/*
2 * Copyright (c) 2019, Arm Limited. All rights reserved.
3 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 *
6 */
7
8#ifndef __ATTEST_EAT_DEFINES_H__
9#define __ATTEST_EAT_DEFINES_H__
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15#define EAT_CBOR_ARM_RANGE_BASE (-75000)
16#define EAT_CBOR_ARM_LABEL_PROFILE_DEFINITION (EAT_CBOR_ARM_RANGE_BASE - 0)
17#define EAT_CBOR_ARM_LABEL_CLIENT_ID (EAT_CBOR_ARM_RANGE_BASE - 1)
18#define EAT_CBOR_ARM_LABEL_SECURITY_LIFECYCLE (EAT_CBOR_ARM_RANGE_BASE - 2)
19#define EAT_CBOR_ARM_LABEL_IMPLEMENTATION_ID (EAT_CBOR_ARM_RANGE_BASE - 3)
20#define EAT_CBOR_ARM_LABEL_BOOT_SEED (EAT_CBOR_ARM_RANGE_BASE - 4)
21#define EAT_CBOR_ARM_LABEL_HW_VERSION (EAT_CBOR_ARM_RANGE_BASE - 5)
22#define EAT_CBOR_ARM_LABEL_SW_COMPONENTS (EAT_CBOR_ARM_RANGE_BASE - 6)
23#define EAT_CBOR_ARM_LABEL_NO_SW_COMPONENTS (EAT_CBOR_ARM_RANGE_BASE - 7)
24#define EAT_CBOR_ARM_LABEL_CHALLENGE (EAT_CBOR_ARM_RANGE_BASE - 8)
25#define EAT_CBOR_ARM_LABEL_UEID (EAT_CBOR_ARM_RANGE_BASE - 9)
26#define EAT_CBOR_ARM_LABEL_ORIGINATION (EAT_CBOR_ARM_RANGE_BASE - 10)
27
28#define EAT_CBOR_SW_COMPONENT_MEASUREMENT_TYPE (1)
29#define EAT_CBOR_SW_COMPONENT_MEASUREMENT_VALUE (2)
30#define EAT_CBOR_SW_COMPONENT_SECURITY_EPOCH (3)
31#define EAT_CBOR_SW_COMPONENT_VERSION (4)
32#define EAT_CBOR_SW_COMPONENT_SIGNER_ID (5)
33#define EAT_CBOR_SW_COMPONENT_MEASUREMENT_DESC (6)
34
35#ifdef __cplusplus
36}
37#endif
38
39#endif /* __ATTEST_EAT_DEFINES_H__ */