/** @file Header file for NV data structure definition. ;****************************************************************************** ;* Copyright (c) 2019, Insyde Software Corporation. All Rights Reserved. ;* ;* You may not reproduce, distribute, publish, display, perform, modify, adapt, ;* transmit, broadcast, present, recite, release, license or otherwise exploit ;* any part of this publication in any form, by any means, without the prior ;* written permission of Insyde Software Corporation. ;* ;****************************************************************************** Copyright (c) 2016, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent **/ #ifndef __TLS_AUTH_CONFIG_NV_DATA_H__ #define __TLS_AUTH_CONFIG_NV_DATA_H__ #include #define FORMID_MAIN_FORM 1 #define FORM_ID_IMPORT_CERTIFICATE_FILE 0x100 #define FORM_ID_MANAGE_CERTIFICATE_FILE 0x101 #define KEY_IMPORT_CERT_FILE 0x500 #define KEY_DELETE_CERT_FILE 0x600 #define KEY_EXPORT_CERT_FILE 0x700 #define LABEL_ID_FILE_LIST_START 0x1000 #define LABEL_ID_FILE_LIST_END 0x1FFF #define ENROLL_FILE_OPTION_OFFSET 0x5000 #define ENROLL_FILE_OPTION_MASK 0x0FFF // #define TLS_AUTH_CONFIG_GUID_SIZE 36 // #define TLS_AUTH_CONFIG_GUID_STORAGE_SIZE 37 // #define KEY_TLS_AUTH_CONFIG_SERVER_CA 0x1000 // #define KEY_TLS_AUTH_CONFIG_CLIENT_CERT 0x1001 // #define KEY_TLS_AUTH_CONFIG_ENROLL_CERT 0x1002 // #define KEY_TLS_AUTH_CONFIG_DELETE_CERT 0x1003 // #define KEY_TLS_AUTH_CONFIG_ENROLL_CERT_FROM_FILE 0x1004 // #define KEY_TLS_AUTH_CONFIG_CERT_GUID 0x1005 // #define KEY_TLS_AUTH_CONFIG_VALUE_SAVE_AND_EXIT 0x1006 // #define KEY_TLS_AUTH_CONFIG_VALUE_NO_SAVE_AND_EXIT 0x1007 // #define OPTION_DEL_CA_ESTION_ID 0x2000 // #define OPTION_CONFIG_RANGE 0x1000 // #define LABEL_CA_DELETE 0x1101 // #define LABEL_END 0xffff // typedef struct { // CHAR16 CertGuid[TLS_AUTH_CONFIG_GUID_STORAGE_SIZE]; // } TLS_AUTH_CONFIG_IFR_NVDATA; #endif