SecurityPkg: Delete Auth Variable driver
1. Delete TpmMeasurementLib LibraryClass from SecurityPkg after it moved to MdeModulePkg. 2. Update DxeTpmMeasurementLib.inf to include MdeModulePkg.dec. 3. Delete authenticated variable definition from AuthenticatedVariableFormat.h after them moved to VariableFormat.h. 4. Replace VARIABLE_HEADER with AUTHENTICATED_VARIABLE_HEADER in EsalVariableDxeSal. 5. Delete VariableInfo from SecurityPkg after it merged to VariableInfo in MdeModulePkg. 6. Delete VariablePei from SecurityPkg after it merged to VariablePei in MdeModulePkg. 7. Delete Auth Variable driver from SecurityPkg after it merged to Variable driver in MdeModulePkg. 8. Also update PACKAGE_GUID and PACKAGE_VERSION in SecurityPkg.dec after the deletion of authenticated variable definition, VariableInfo, VariablePei and Auth Variable driver from SecurityPkg; update PLATFORM_VERSION in SecurityPkg.dsc. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Star Zeng <star.zeng@intel.com> Reviewed-by: Jiewen Yao <jiewen.yao@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> Reviewed-by: Jaben Carsey <jaben.carsey@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17772 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
/** @file
|
||||
Internal header file for Extended SAL variable service module.
|
||||
|
||||
Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
||||
Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR>
|
||||
This program and the accompanying materials
|
||||
are licensed and made available under the terms and conditions of the BSD License
|
||||
which accompanies this distribution. The full text of the license may be found at
|
||||
@@ -66,7 +66,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||
/// The maximum size of the public key database, restricted by maximum individal EFI
|
||||
/// varible size, and excluding the variable header and name size.
|
||||
///
|
||||
#define MAX_KEYDB_SIZE (FixedPcdGet32 (PcdMaxVariableSize) - sizeof (VARIABLE_HEADER) - AUTHVAR_KEYDB_NAME_SIZE)
|
||||
#define MAX_KEYDB_SIZE (FixedPcdGet32 (PcdMaxVariableSize) - sizeof (AUTHENTICATED_VARIABLE_HEADER) - AUTHVAR_KEYDB_NAME_SIZE)
|
||||
#define MAX_KEY_NUM (MAX_KEYDB_SIZE / EFI_CERT_TYPE_RSA2048_SIZE)
|
||||
|
||||
///
|
||||
@@ -432,7 +432,7 @@ GetVariableDataPtr (
|
||||
**/
|
||||
UINTN
|
||||
DataSizeOfVariable (
|
||||
IN VARIABLE_HEADER *Variable
|
||||
IN AUTHENTICATED_VARIABLE_HEADER *Variable
|
||||
);
|
||||
|
||||
/**
|
||||
@@ -479,7 +479,7 @@ UpdateVariable (
|
||||
FALSE - Variable is non-volatile.
|
||||
@param[in] Global Pointer to VARAIBLE_GLOBAL structure.
|
||||
@param[in] Instance Instance of FV Block services.
|
||||
@param[out] VariableHeader Pointer to VARIABLE_HEADER for output.
|
||||
@param[out] VariableHeader Pointer to AUTHENTICATED_VARIABLE_HEADER for output.
|
||||
|
||||
@retval TRUE Variable header is valid.
|
||||
@retval FALSE Variable header is not valid.
|
||||
@@ -487,11 +487,11 @@ UpdateVariable (
|
||||
**/
|
||||
BOOLEAN
|
||||
IsValidVariableHeader (
|
||||
IN EFI_PHYSICAL_ADDRESS VariableAddress,
|
||||
IN BOOLEAN Volatile,
|
||||
IN VARIABLE_GLOBAL *Global,
|
||||
IN UINTN Instance,
|
||||
OUT VARIABLE_HEADER *VariableHeader OPTIONAL
|
||||
IN EFI_PHYSICAL_ADDRESS VariableAddress,
|
||||
IN BOOLEAN Volatile,
|
||||
IN VARIABLE_GLOBAL *Global,
|
||||
IN UINTN Instance,
|
||||
OUT AUTHENTICATED_VARIABLE_HEADER *VariableHeader OPTIONAL
|
||||
);
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user