Abstracts security-specific functions from the DXE Foundation of UEFI Image Verification,\r
Trusted Computing Group (TCG) measured boot, and User Identity policy for image loading and\r
consoles. This protocol must be produced by a boot service or runtime DXE driver.\r
- \r
+\r
This protocol is optional and must be published prior to the EFI_SECURITY_ARCH_PROTOCOL.\r
As a result, the same driver must publish both of these interfaces.\r
- \r
+\r
When both Security and Security2 Architectural Protocols are published, LoadImage must use\r
them in accordance with the following rules:\r
The Security2 protocol must be used on every image being loaded.\r
- The Security protocol must be used after the Securiy2 protocol and only on images that \r
+ The Security protocol must be used after the Securiy2 protocol and only on images that\r
have been read using Firmware Volume protocol.\r
\r
When only Security architectural protocol is published, LoadImage must use it on every image\r
being loaded.\r
\r
- Copyright (c) 2012, Intel Corporation. All rights reserved.<BR>\r
- This program and the accompanying materials \r
- are licensed and made available under the terms and conditions of the BSD License \r
- which accompanies this distribution. The full text of the license may be found at \r
- http://opensource.org/licenses/bsd-license.php \r
-\r
- THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
- WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+ Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
///\r
#define EFI_SECURITY2_ARCH_PROTOCOL_GUID \\r
{ 0x94ab2f58, 0x1438, 0x4ef1, {0x91, 0x52, 0x18, 0x94, 0x1a, 0x3a, 0x0e, 0x68 } }\r
- \r
+\r
typedef struct _EFI_SECURITY2_ARCH_PROTOCOL EFI_SECURITY2_ARCH_PROTOCOL;\r
\r
/**\r
these cases.\r
If the FileBuffer is NULL, the interface will determine if the DevicePath can be connected\r
in order to support the User Identification policy.\r
- \r
+\r
@param This The EFI_SECURITY2_ARCH_PROTOCOL instance.\r
@param File A pointer to the device path of the file that is\r
being dispatched. This will optionally be used for logging.\r
@param BootPolicy A boot policy that was used to call LoadImage() UEFI service. If\r
FileAuthentication() is invoked not from the LoadImage(),\r
BootPolicy must be set to FALSE.\r
- \r
+\r
@retval EFI_SUCCESS The file specified by DevicePath and non-NULL\r
FileBuffer did authenticate, and the platform policy dictates\r
that the DXE Foundation may use the file.\r
drivers from the device path specified by DevicePath. The\r
image has been added into the list of the deferred images.\r
**/\r
-typedef EFI_STATUS (EFIAPI *EFI_SECURITY2_FILE_AUTHENTICATION) ( \r
+typedef EFI_STATUS (EFIAPI *EFI_SECURITY2_FILE_AUTHENTICATION) (\r
IN CONST EFI_SECURITY2_ARCH_PROTOCOL *This,\r
IN CONST EFI_DEVICE_PATH_PROTOCOL *DevicePath,\r
IN VOID *FileBuffer,\r