ArmPkg: only attempt buildin MmCommunicationDxe for AArch64
[mirror_edk2.git] / NetworkPkg / TlsAuthConfigDxe / TlsAuthConfigNvData.h
1 /** @file\r
2   Header file for NV data structure definition.\r
3 \r
4 Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>\r
5 SPDX-License-Identifier: BSD-2-Clause-Patent\r
6 \r
7 **/\r
8 \r
9 #ifndef __TLS_AUTH_CONFIG_NV_DATA_H__\r
10 #define __TLS_AUTH_CONFIG_NV_DATA_H__\r
11 \r
12 #include <Guid/TlsAuthConfigHii.h>\r
13 \r
14 #define TLS_AUTH_CONFIG_GUID_SIZE                 36\r
15 #define TLS_AUTH_CONFIG_GUID_STORAGE_SIZE         37\r
16 \r
17 #define TLS_AUTH_CONFIG_FORMID1_FORM              1\r
18 #define TLS_AUTH_CONFIG_FORMID2_FORM              2\r
19 #define TLS_AUTH_CONFIG_FORMID3_FORM              3\r
20 #define TLS_AUTH_CONFIG_FORMID4_FORM              4\r
21 #define TLS_AUTH_CONFIG_FORMID5_FORM              5\r
22 \r
23 \r
24 #define KEY_TLS_AUTH_CONFIG_SERVER_CA                  0x1000\r
25 #define KEY_TLS_AUTH_CONFIG_CLIENT_CERT                0x1001\r
26 #define KEY_TLS_AUTH_CONFIG_ENROLL_CERT                0x1002\r
27 #define KEY_TLS_AUTH_CONFIG_DELETE_CERT                0x1003\r
28 #define KEY_TLS_AUTH_CONFIG_ENROLL_CERT_FROM_FILE      0x1004\r
29 #define KEY_TLS_AUTH_CONFIG_CERT_GUID                  0x1005\r
30 #define KEY_TLS_AUTH_CONFIG_VALUE_SAVE_AND_EXIT        0x1006\r
31 #define KEY_TLS_AUTH_CONFIG_VALUE_NO_SAVE_AND_EXIT     0x1007\r
32 \r
33 #define OPTION_DEL_CA_ESTION_ID                        0x2000\r
34 #define OPTION_CONFIG_RANGE                            0x1000\r
35 \r
36 #define LABEL_CA_DELETE                                0x1101\r
37 #define LABEL_END                                      0xffff\r
38 \r
39 typedef struct {\r
40   CHAR16    CertGuid[TLS_AUTH_CONFIG_GUID_STORAGE_SIZE];\r
41 } TLS_AUTH_CONFIG_IFR_NVDATA;\r
42 \r
43 #endif\r
44 \r