/* uefiTrustStoreP.h - private header file for UEFI trust store */ /* * Copyright (c) 2017, 2021 Wind River Systems, Inc. * * The right to copy, distribute, modify, or otherwise make use * of this software may be licensed only pursuant to the terms * of an applicable Wind River license agreement. */ /* DESCRIPTION This header file describes the private definitions and structures for the UEFI database trust store. */ #ifndef __INCuefiTrustStorePh #define __INCuefiTrustStorePh #ifdef __cplusplus extern "C" { #endif /* __cplusplus */ /* includes */ /* defines */ #define SECURE_LOADER_DB_SECTION ".uefi_db" #define UEFI_DATABASE_VERSION 1 /* current version */ /* typedefs */ typedef struct { uint32_t version; /* version number */ uint32_t padding; /* add padding for alignment */ uint64_t white_db_size; /* whitelist database size in bytes */ uint64_t black_db_size; /* blacklist database size in bytes */ char efiSignatureList[1]; /* place holder for start of signature list */ } UEFI_DB_INFO; #ifdef __cplusplus } #endif /* __cplusplus */ #endif /* INCuefiTrustStorePh */